// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azure.compute.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ScaleSetOsProfileWindowsConfigWinrmArgs extends com.pulumi.resources.ResourceArgs {

    public static final ScaleSetOsProfileWindowsConfigWinrmArgs Empty = new ScaleSetOsProfileWindowsConfigWinrmArgs();

    /**
     * Specifies URL of the certificate with which new Virtual Machines is provisioned.
     * 
     */
    @Import(name="certificateUrl")
    private @Nullable Output<String> certificateUrl;

    /**
     * @return Specifies URL of the certificate with which new Virtual Machines is provisioned.
     * 
     */
    public Optional<Output<String>> certificateUrl() {
        return Optional.ofNullable(this.certificateUrl);
    }

    /**
     * Specifies the protocol of listener
     * 
     */
    @Import(name="protocol", required=true)
    private Output<String> protocol;

    /**
     * @return Specifies the protocol of listener
     * 
     */
    public Output<String> protocol() {
        return this.protocol;
    }

    private ScaleSetOsProfileWindowsConfigWinrmArgs() {}

    private ScaleSetOsProfileWindowsConfigWinrmArgs(ScaleSetOsProfileWindowsConfigWinrmArgs $) {
        this.certificateUrl = $.certificateUrl;
        this.protocol = $.protocol;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ScaleSetOsProfileWindowsConfigWinrmArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ScaleSetOsProfileWindowsConfigWinrmArgs $;

        public Builder() {
            $ = new ScaleSetOsProfileWindowsConfigWinrmArgs();
        }

        public Builder(ScaleSetOsProfileWindowsConfigWinrmArgs defaults) {
            $ = new ScaleSetOsProfileWindowsConfigWinrmArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param certificateUrl Specifies URL of the certificate with which new Virtual Machines is provisioned.
         * 
         * @return builder
         * 
         */
        public Builder certificateUrl(@Nullable Output<String> certificateUrl) {
            $.certificateUrl = certificateUrl;
            return this;
        }

        /**
         * @param certificateUrl Specifies URL of the certificate with which new Virtual Machines is provisioned.
         * 
         * @return builder
         * 
         */
        public Builder certificateUrl(String certificateUrl) {
            return certificateUrl(Output.of(certificateUrl));
        }

        /**
         * @param protocol Specifies the protocol of listener
         * 
         * @return builder
         * 
         */
        public Builder protocol(Output<String> protocol) {
            $.protocol = protocol;
            return this;
        }

        /**
         * @param protocol Specifies the protocol of listener
         * 
         * @return builder
         * 
         */
        public Builder protocol(String protocol) {
            return protocol(Output.of(protocol));
        }

        public ScaleSetOsProfileWindowsConfigWinrmArgs build() {
            $.protocol = Objects.requireNonNull($.protocol, "expected parameter 'protocol' to be non-null");
            return $;
        }
    }

}
