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