Class ClusterEvents.ECSTaskStateChange.AttachmentDetails.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.events.ClusterEvents.ECSTaskStateChange.AttachmentDetails.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClusterEvents.ECSTaskStateChange.AttachmentDetails>
- Enclosing interface:
ClusterEvents.ECSTaskStateChange.AttachmentDetails
@Stability(Experimental)
public static final class ClusterEvents.ECSTaskStateChange.AttachmentDetails.Builder
extends Object
implements software.amazon.jsii.Builder<ClusterEvents.ECSTaskStateChange.AttachmentDetails>
A builder for
ClusterEvents.ECSTaskStateChange.AttachmentDetails-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofClusterEvents.ECSTaskStateChange.AttachmentDetails.getDetails()Sets the value ofClusterEvents.ECSTaskStateChange.AttachmentDetails.getId()Sets the value ofClusterEvents.ECSTaskStateChange.AttachmentDetails.getStatus()Sets the value ofClusterEvents.ECSTaskStateChange.AttachmentDetails.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
details
@Stability(Experimental) public ClusterEvents.ECSTaskStateChange.AttachmentDetails.Builder details(ClusterEvents.ECSTaskStateChange.Details details) Sets the value ofClusterEvents.ECSTaskStateChange.AttachmentDetails.getDetails()- Parameters:
details- details property. Specify an array of string values to match this event if the actual value of details is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
id
@Stability(Experimental) public ClusterEvents.ECSTaskStateChange.AttachmentDetails.Builder id(List<String> id) Sets the value ofClusterEvents.ECSTaskStateChange.AttachmentDetails.getId()- Parameters:
id- id property. Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
status
@Stability(Experimental) public ClusterEvents.ECSTaskStateChange.AttachmentDetails.Builder status(List<String> status) Sets the value ofClusterEvents.ECSTaskStateChange.AttachmentDetails.getStatus()- Parameters:
status- status property. Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
type
@Stability(Experimental) public ClusterEvents.ECSTaskStateChange.AttachmentDetails.Builder type(List<String> type) Sets the value ofClusterEvents.ECSTaskStateChange.AttachmentDetails.getType()- Parameters:
type- type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ClusterEvents.ECSTaskStateChange.AttachmentDetails>- Returns:
- a new instance of
ClusterEvents.ECSTaskStateChange.AttachmentDetails - Throws:
NullPointerException- if any required attribute was not provided
-