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

com.pulumi.azurenative.standbypool.StandbyContainerGroupPoolArgs 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.standbypool;

import com.pulumi.azurenative.standbypool.inputs.ContainerGroupPropertiesArgs;
import com.pulumi.azurenative.standbypool.inputs.StandbyContainerGroupPoolElasticityProfileArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final StandbyContainerGroupPoolArgs Empty = new StandbyContainerGroupPoolArgs();

    /**
     * Specifies container group properties of standby container group pools.
     * 
     */
    @Import(name="containerGroupProperties", required=true)
    private Output containerGroupProperties;

    /**
     * @return Specifies container group properties of standby container group pools.
     * 
     */
    public Output containerGroupProperties() {
        return this.containerGroupProperties;
    }

    /**
     * Specifies elasticity profile of standby container group pools.
     * 
     */
    @Import(name="elasticityProfile", required=true)
    private Output elasticityProfile;

    /**
     * @return Specifies elasticity profile of standby container group pools.
     * 
     */
    public Output elasticityProfile() {
        return this.elasticityProfile;
    }

    /**
     * The geo-location where the resource lives
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo-location where the resource lives
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * 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;
    }

    /**
     * Name of the standby container group pool
     * 
     */
    @Import(name="standbyContainerGroupPoolName")
    private @Nullable Output standbyContainerGroupPoolName;

    /**
     * @return Name of the standby container group pool
     * 
     */
    public Optional> standbyContainerGroupPoolName() {
        return Optional.ofNullable(this.standbyContainerGroupPoolName);
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private StandbyContainerGroupPoolArgs() {}

    private StandbyContainerGroupPoolArgs(StandbyContainerGroupPoolArgs $) {
        this.containerGroupProperties = $.containerGroupProperties;
        this.elasticityProfile = $.elasticityProfile;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.standbyContainerGroupPoolName = $.standbyContainerGroupPoolName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private StandbyContainerGroupPoolArgs $;

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

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

        /**
         * @param containerGroupProperties Specifies container group properties of standby container group pools.
         * 
         * @return builder
         * 
         */
        public Builder containerGroupProperties(Output containerGroupProperties) {
            $.containerGroupProperties = containerGroupProperties;
            return this;
        }

        /**
         * @param containerGroupProperties Specifies container group properties of standby container group pools.
         * 
         * @return builder
         * 
         */
        public Builder containerGroupProperties(ContainerGroupPropertiesArgs containerGroupProperties) {
            return containerGroupProperties(Output.of(containerGroupProperties));
        }

        /**
         * @param elasticityProfile Specifies elasticity profile of standby container group pools.
         * 
         * @return builder
         * 
         */
        public Builder elasticityProfile(Output elasticityProfile) {
            $.elasticityProfile = elasticityProfile;
            return this;
        }

        /**
         * @param elasticityProfile Specifies elasticity profile of standby container group pools.
         * 
         * @return builder
         * 
         */
        public Builder elasticityProfile(StandbyContainerGroupPoolElasticityProfileArgs elasticityProfile) {
            return elasticityProfile(Output.of(elasticityProfile));
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @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));
        }

        /**
         * @param standbyContainerGroupPoolName Name of the standby container group pool
         * 
         * @return builder
         * 
         */
        public Builder standbyContainerGroupPoolName(@Nullable Output standbyContainerGroupPoolName) {
            $.standbyContainerGroupPoolName = standbyContainerGroupPoolName;
            return this;
        }

        /**
         * @param standbyContainerGroupPoolName Name of the standby container group pool
         * 
         * @return builder
         * 
         */
        public Builder standbyContainerGroupPoolName(String standbyContainerGroupPoolName) {
            return standbyContainerGroupPoolName(Output.of(standbyContainerGroupPoolName));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public StandbyContainerGroupPoolArgs build() {
            if ($.containerGroupProperties == null) {
                throw new MissingRequiredPropertyException("StandbyContainerGroupPoolArgs", "containerGroupProperties");
            }
            if ($.elasticityProfile == null) {
                throw new MissingRequiredPropertyException("StandbyContainerGroupPoolArgs", "elasticityProfile");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("StandbyContainerGroupPoolArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy