Package com.pulumi.aws.codedeploy.inputs
Class DeploymentGroupAutoRollbackConfigurationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.codedeploy.inputs.DeploymentGroupAutoRollbackConfigurationArgs.Builder
-
- Enclosing class:
- DeploymentGroupAutoRollbackConfigurationArgs
public static final class DeploymentGroupAutoRollbackConfigurationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(DeploymentGroupAutoRollbackConfigurationArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentGroupAutoRollbackConfigurationArgsbuild()DeploymentGroupAutoRollbackConfigurationArgs.Builderenabled(com.pulumi.core.Output<java.lang.Boolean> enabled)DeploymentGroupAutoRollbackConfigurationArgs.Builderenabled(java.lang.Boolean enabled)DeploymentGroupAutoRollbackConfigurationArgs.Builderevents(com.pulumi.core.Output<java.util.List<java.lang.String>> events)DeploymentGroupAutoRollbackConfigurationArgs.Builderevents(java.lang.String... events)DeploymentGroupAutoRollbackConfigurationArgs.Builderevents(java.util.List<java.lang.String> events)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DeploymentGroupAutoRollbackConfigurationArgs defaults)
-
-
Method Detail
-
enabled
public DeploymentGroupAutoRollbackConfigurationArgs.Builder enabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> enabled)
- Parameters:
enabled- Indicates whether a defined automatic rollback configuration is currently enabled for this Deployment Group. If you enable automatic rollback, you must specify at least one event type.- Returns:
- builder
-
enabled
public DeploymentGroupAutoRollbackConfigurationArgs.Builder enabled(java.lang.Boolean enabled)
- Parameters:
enabled- Indicates whether a defined automatic rollback configuration is currently enabled for this Deployment Group. If you enable automatic rollback, you must specify at least one event type.- Returns:
- builder
-
events
public DeploymentGroupAutoRollbackConfigurationArgs.Builder events(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> events)
- Parameters:
events- The event type or types that trigger a rollback. Supported types are `DEPLOYMENT_FAILURE`, `DEPLOYMENT_STOP_ON_ALARM` and `DEPLOYMENT_STOP_ON_REQUEST`. _Only one `autoRollbackConfiguration` is allowed_.- Returns:
- builder
-
events
public DeploymentGroupAutoRollbackConfigurationArgs.Builder events(java.util.List<java.lang.String> events)
- Parameters:
events- The event type or types that trigger a rollback. Supported types are `DEPLOYMENT_FAILURE`, `DEPLOYMENT_STOP_ON_ALARM` and `DEPLOYMENT_STOP_ON_REQUEST`. _Only one `autoRollbackConfiguration` is allowed_.- Returns:
- builder
-
events
public DeploymentGroupAutoRollbackConfigurationArgs.Builder events(java.lang.String... events)
- Parameters:
events- The event type or types that trigger a rollback. Supported types are `DEPLOYMENT_FAILURE`, `DEPLOYMENT_STOP_ON_ALARM` and `DEPLOYMENT_STOP_ON_REQUEST`. _Only one `autoRollbackConfiguration` is allowed_.- Returns:
- builder
-
build
public DeploymentGroupAutoRollbackConfigurationArgs build()
-
-