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