Class CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codedeploy.events.CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps>
- Enclosing interface:
CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps
@Stability(Experimental)
public static final class CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.Builderapplication(List<String> application) build()Builds the configured instance.CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.BuilderdeploymentGroup(List<String> deploymentGroup) CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.BuilderdeploymentId(List<String> deploymentId) CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.BuildereventMetadata(AWSEventMetadataProps eventMetadata) CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.BuilderinstanceGroupId(List<String> instanceGroupId) CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.Builder
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
application
@Stability(Experimental) public CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.Builder application(List<String> application) Sets the value ofCodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.getApplication()- Parameters:
application- application property. Specify an array of string values to match this event if the actual value of application is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
deploymentGroup
@Stability(Experimental) public CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.Builder deploymentGroup(List<String> deploymentGroup) Sets the value ofCodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.getDeploymentGroup()- Parameters:
deploymentGroup- deploymentGroup property. Specify an array of string values to match this event if the actual value of deploymentGroup is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
deploymentId
@Stability(Experimental) public CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.Builder deploymentId(List<String> deploymentId) Sets the value ofCodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.getDeploymentId()- Parameters:
deploymentId- deploymentId property. Specify an array of string values to match this event if the actual value of deploymentId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofCodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
instanceGroupId
@Stability(Experimental) public CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.Builder instanceGroupId(List<String> instanceGroupId) Sets the value ofCodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.getInstanceGroupId()- Parameters:
instanceGroupId- instanceGroupId property. Specify an array of string values to match this event if the actual value of instanceGroupId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
region
@Stability(Experimental) public CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.Builder region(List<String> region) Sets the value ofCodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.getRegion()- Parameters:
region- region property. Specify an array of string values to match this event if the actual value of region is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
state
@Stability(Experimental) public CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.Builder state(List<String> state) Sets the value ofCodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps.getState()- Parameters:
state- state property. Specify an array of string values to match this event if the actual value of state is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps>- Returns:
- a new instance of
CodeDeployDeploymentStateChangeNotification.CodeDeployDeploymentStateChangeNotificationProps - Throws:
NullPointerException- if any required attribute was not provided
-