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

com.pulumi.spotinst.aws.inputs.ElastigroupIntegrationCodedeployDeploymentGroupArgs Maven / Gradle / Ivy

The 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.spotinst.aws.inputs;

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


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

    public static final ElastigroupIntegrationCodedeployDeploymentGroupArgs Empty = new ElastigroupIntegrationCodedeployDeploymentGroupArgs();

    /**
     * The application name.
     * 
     */
    @Import(name="applicationName", required=true)
    private Output applicationName;

    /**
     * @return The application name.
     * 
     */
    public Output applicationName() {
        return this.applicationName;
    }

    /**
     * The deployment group name.
     * 
     * Usage:
     * 
     */
    @Import(name="deploymentGroupName", required=true)
    private Output deploymentGroupName;

    /**
     * @return The deployment group name.
     * 
     * Usage:
     * 
     */
    public Output deploymentGroupName() {
        return this.deploymentGroupName;
    }

    private ElastigroupIntegrationCodedeployDeploymentGroupArgs() {}

    private ElastigroupIntegrationCodedeployDeploymentGroupArgs(ElastigroupIntegrationCodedeployDeploymentGroupArgs $) {
        this.applicationName = $.applicationName;
        this.deploymentGroupName = $.deploymentGroupName;
    }

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

    public static final class Builder {
        private ElastigroupIntegrationCodedeployDeploymentGroupArgs $;

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

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

        /**
         * @param applicationName The application name.
         * 
         * @return builder
         * 
         */
        public Builder applicationName(Output applicationName) {
            $.applicationName = applicationName;
            return this;
        }

        /**
         * @param applicationName The application name.
         * 
         * @return builder
         * 
         */
        public Builder applicationName(String applicationName) {
            return applicationName(Output.of(applicationName));
        }

        /**
         * @param deploymentGroupName The deployment group name.
         * 
         * Usage:
         * 
         * @return builder
         * 
         */
        public Builder deploymentGroupName(Output deploymentGroupName) {
            $.deploymentGroupName = deploymentGroupName;
            return this;
        }

        /**
         * @param deploymentGroupName The deployment group name.
         * 
         * Usage:
         * 
         * @return builder
         * 
         */
        public Builder deploymentGroupName(String deploymentGroupName) {
            return deploymentGroupName(Output.of(deploymentGroupName));
        }

        public ElastigroupIntegrationCodedeployDeploymentGroupArgs build() {
            if ($.applicationName == null) {
                throw new MissingRequiredPropertyException("ElastigroupIntegrationCodedeployDeploymentGroupArgs", "applicationName");
            }
            if ($.deploymentGroupName == null) {
                throw new MissingRequiredPropertyException("ElastigroupIntegrationCodedeployDeploymentGroupArgs", "deploymentGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy