All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.compute.inputs.WinRMConfigurationArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.azurenative.compute.inputs;

import com.pulumi.azurenative.compute.inputs.WinRMListenerArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Describes Windows Remote Management configuration of the VM
 * 
 */
public final class WinRMConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final WinRMConfigurationArgs Empty = new WinRMConfigurationArgs();

    /**
     * The list of Windows Remote Management listeners
     * 
     */
    @Import(name="listeners")
    private @Nullable Output> listeners;

    /**
     * @return The list of Windows Remote Management listeners
     * 
     */
    public Optional>> listeners() {
        return Optional.ofNullable(this.listeners);
    }

    private WinRMConfigurationArgs() {}

    private WinRMConfigurationArgs(WinRMConfigurationArgs $) {
        this.listeners = $.listeners;
    }

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

    public static final class Builder {
        private WinRMConfigurationArgs $;

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

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

        /**
         * @param listeners The list of Windows Remote Management listeners
         * 
         * @return builder
         * 
         */
        public Builder listeners(@Nullable Output> listeners) {
            $.listeners = listeners;
            return this;
        }

        /**
         * @param listeners The list of Windows Remote Management listeners
         * 
         * @return builder
         * 
         */
        public Builder listeners(List listeners) {
            return listeners(Output.of(listeners));
        }

        /**
         * @param listeners The list of Windows Remote Management listeners
         * 
         * @return builder
         * 
         */
        public Builder listeners(WinRMListenerArgs... listeners) {
            return listeners(List.of(listeners));
        }

        public WinRMConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy