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

com.pulumi.aws.codedeploy.outputs.DeploymentGroupEcsService Maven / Gradle / Ivy

// *** 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.aws.codedeploy.outputs;

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

@CustomType
public final class DeploymentGroupEcsService {
    /**
     * @return The name of the ECS cluster.
     * 
     */
    private String clusterName;
    /**
     * @return The name of the ECS service.
     * 
     */
    private String serviceName;

    private DeploymentGroupEcsService() {}
    /**
     * @return The name of the ECS cluster.
     * 
     */
    public String clusterName() {
        return this.clusterName;
    }
    /**
     * @return The name of the ECS service.
     * 
     */
    public String serviceName() {
        return this.serviceName;
    }

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

    public static Builder builder(DeploymentGroupEcsService defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String clusterName;
        private String serviceName;
        public Builder() {}
        public Builder(DeploymentGroupEcsService defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.clusterName = defaults.clusterName;
    	      this.serviceName = defaults.serviceName;
        }

        @CustomType.Setter
        public Builder clusterName(String clusterName) {
            if (clusterName == null) {
              throw new MissingRequiredPropertyException("DeploymentGroupEcsService", "clusterName");
            }
            this.clusterName = clusterName;
            return this;
        }
        @CustomType.Setter
        public Builder serviceName(String serviceName) {
            if (serviceName == null) {
              throw new MissingRequiredPropertyException("DeploymentGroupEcsService", "serviceName");
            }
            this.serviceName = serviceName;
            return this;
        }
        public DeploymentGroupEcsService build() {
            final var _resultValue = new DeploymentGroupEcsService();
            _resultValue.clusterName = clusterName;
            _resultValue.serviceName = serviceName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy