com.pulumi.aws.codedeploy.outputs.DeploymentGroupDeploymentStyle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
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.aws.codedeploy.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DeploymentGroupDeploymentStyle {
/**
* @return Indicates whether to route deployment traffic behind a load balancer. Valid Values are `WITH_TRAFFIC_CONTROL` or `WITHOUT_TRAFFIC_CONTROL`. Default is `WITHOUT_TRAFFIC_CONTROL`.
*
*/
private @Nullable String deploymentOption;
/**
* @return Indicates whether to run an in-place deployment or a blue/green deployment. Valid Values are `IN_PLACE` or `BLUE_GREEN`. Default is `IN_PLACE`.
*
* _Only one `deployment_style` is allowed_.
*
*/
private @Nullable String deploymentType;
private DeploymentGroupDeploymentStyle() {}
/**
* @return Indicates whether to route deployment traffic behind a load balancer. Valid Values are `WITH_TRAFFIC_CONTROL` or `WITHOUT_TRAFFIC_CONTROL`. Default is `WITHOUT_TRAFFIC_CONTROL`.
*
*/
public Optional deploymentOption() {
return Optional.ofNullable(this.deploymentOption);
}
/**
* @return Indicates whether to run an in-place deployment or a blue/green deployment. Valid Values are `IN_PLACE` or `BLUE_GREEN`. Default is `IN_PLACE`.
*
* _Only one `deployment_style` is allowed_.
*
*/
public Optional deploymentType() {
return Optional.ofNullable(this.deploymentType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DeploymentGroupDeploymentStyle defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String deploymentOption;
private @Nullable String deploymentType;
public Builder() {}
public Builder(DeploymentGroupDeploymentStyle defaults) {
Objects.requireNonNull(defaults);
this.deploymentOption = defaults.deploymentOption;
this.deploymentType = defaults.deploymentType;
}
@CustomType.Setter
public Builder deploymentOption(@Nullable String deploymentOption) {
this.deploymentOption = deploymentOption;
return this;
}
@CustomType.Setter
public Builder deploymentType(@Nullable String deploymentType) {
this.deploymentType = deploymentType;
return this;
}
public DeploymentGroupDeploymentStyle build() {
final var _resultValue = new DeploymentGroupDeploymentStyle();
_resultValue.deploymentOption = deploymentOption;
_resultValue.deploymentType = deploymentType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy