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

com.pulumi.azurenative.scom.ManagedGatewayArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.scom;

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


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

    public static final ManagedGatewayArgs Empty = new ManagedGatewayArgs();

    /**
     * Name of the SCOM managed instance.
     * 
     */
    @Import(name="instanceName", required=true)
    private Output instanceName;

    /**
     * @return Name of the SCOM managed instance.
     * 
     */
    public Output instanceName() {
        return this.instanceName;
    }

    /**
     * The gateway resource name.
     * 
     */
    @Import(name="managedGatewayName")
    private @Nullable Output managedGatewayName;

    /**
     * @return The gateway resource name.
     * 
     */
    public Optional> managedGatewayName() {
        return Optional.ofNullable(this.managedGatewayName);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private ManagedGatewayArgs() {}

    private ManagedGatewayArgs(ManagedGatewayArgs $) {
        this.instanceName = $.instanceName;
        this.managedGatewayName = $.managedGatewayName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private ManagedGatewayArgs $;

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

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

        /**
         * @param instanceName Name of the SCOM managed instance.
         * 
         * @return builder
         * 
         */
        public Builder instanceName(Output instanceName) {
            $.instanceName = instanceName;
            return this;
        }

        /**
         * @param instanceName Name of the SCOM managed instance.
         * 
         * @return builder
         * 
         */
        public Builder instanceName(String instanceName) {
            return instanceName(Output.of(instanceName));
        }

        /**
         * @param managedGatewayName The gateway resource name.
         * 
         * @return builder
         * 
         */
        public Builder managedGatewayName(@Nullable Output managedGatewayName) {
            $.managedGatewayName = managedGatewayName;
            return this;
        }

        /**
         * @param managedGatewayName The gateway resource name.
         * 
         * @return builder
         * 
         */
        public Builder managedGatewayName(String managedGatewayName) {
            return managedGatewayName(Output.of(managedGatewayName));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public ManagedGatewayArgs build() {
            if ($.instanceName == null) {
                throw new MissingRequiredPropertyException("ManagedGatewayArgs", "instanceName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ManagedGatewayArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy