Class ClusterEvents.ECSContainerInstanceStateChange.AttachmentDetails.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.events.ClusterEvents.ECSContainerInstanceStateChange.AttachmentDetails.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClusterEvents.ECSContainerInstanceStateChange.AttachmentDetails>
- Enclosing interface:
ClusterEvents.ECSContainerInstanceStateChange.AttachmentDetails
@Stability(Experimental)
public static final class ClusterEvents.ECSContainerInstanceStateChange.AttachmentDetails.Builder
extends Object
implements software.amazon.jsii.Builder<ClusterEvents.ECSContainerInstanceStateChange.AttachmentDetails>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.details(List<? extends ClusterEvents.ECSContainerInstanceStateChange.DetailsItems> details) Sets the value ofClusterEvents.ECSContainerInstanceStateChange.AttachmentDetails.getId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
details
@Stability(Experimental) public ClusterEvents.ECSContainerInstanceStateChange.AttachmentDetails.Builder details(List<? extends ClusterEvents.ECSContainerInstanceStateChange.DetailsItems> details) - 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.ECSContainerInstanceStateChange.AttachmentDetails.Builder id(List<String> id) Sets the value ofClusterEvents.ECSContainerInstanceStateChange.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.ECSContainerInstanceStateChange.AttachmentDetails.Builder status(List<String> status) - 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.ECSContainerInstanceStateChange.AttachmentDetails.Builder type(List<String> type) - 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
@Stability(Experimental) public ClusterEvents.ECSContainerInstanceStateChange.AttachmentDetails build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ClusterEvents.ECSContainerInstanceStateChange.AttachmentDetails>- Returns:
- a new instance of
ClusterEvents.ECSContainerInstanceStateChange.AttachmentDetails - Throws:
NullPointerException- if any required attribute was not provided
-