Class CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codedeploy.events.CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps>
- Enclosing interface:
CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps
@Stability(Experimental)
public static final class CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(List<String> application) build()Builds the configured instance.deploymentGroup(List<String> deploymentGroup) deploymentId(List<String> deploymentId) eventMetadata(AWSEventMetadataProps eventMetadata) instanceGroupId(List<String> instanceGroupId) instanceId(List<String> instanceId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
application
@Stability(Experimental) public CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.Builder application(List<String> application) Sets the value ofCodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.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 CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.Builder deploymentGroup(List<String> deploymentGroup) Sets the value ofCodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.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 CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.Builder deploymentId(List<String> deploymentId) Sets the value ofCodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.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 CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofCodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
instanceGroupId
@Stability(Experimental) public CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.Builder instanceGroupId(List<String> instanceGroupId) Sets the value ofCodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.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
-
instanceId
@Stability(Experimental) public CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.Builder instanceId(List<String> instanceId) Sets the value ofCodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.getInstanceId()- Parameters:
instanceId- instanceId property. Specify an array of string values to match this event if the actual value of instanceId 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 CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.Builder region(List<String> region) Sets the value ofCodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.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 CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.Builder state(List<String> state) Sets the value ofCodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps.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 CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps>- Returns:
- a new instance of
CodeDeployInstanceStateChangeNotification.CodeDeployInstanceStateChangeNotificationProps - Throws:
NullPointerException- if any required attribute was not provided
-