Class DeploymentGroupAutoRollbackConfigurationArgs.Builder

    • 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