Class ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.events.ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem>
- Enclosing interface:
ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem
@Stability(Experimental)
public static final class ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder
extends Object
implements software.amazon.jsii.Builder<ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachments(List<? extends ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItem> attachments) build()Builds the configured instance.clusterArn(List<String> clusterArn) containerInstanceArn(List<String> containerInstanceArn) containers(List<? extends ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItem1> containers) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.getCpu()desiredStatus(List<String> desiredStatus) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.getGroup()lastStatus(List<String> lastStatus) launchType(List<String> launchType) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.getMemory()platformVersion(List<String> platformVersion) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.getTags()Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.getTaskArn()taskDefinitionArn(List<String> taskDefinitionArn) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachments
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder attachments(List<? extends ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItem> attachments) - Parameters:
attachments- attachments property. Specify an array of string values to match this event if the actual value of attachments is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
clusterArn
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder clusterArn(List<String> clusterArn) - Parameters:
clusterArn- clusterArn property. Specify an array of string values to match this event if the actual value of clusterArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
containerInstanceArn
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder containerInstanceArn(List<String> containerInstanceArn) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.getContainerInstanceArn()- Parameters:
containerInstanceArn- containerInstanceArn property. Specify an array of string values to match this event if the actual value of containerInstanceArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
containers
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder containers(List<? extends ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItemItem1> containers) - Parameters:
containers- containers property. Specify an array of string values to match this event if the actual value of containers is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
cpu
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder cpu(List<String> cpu) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.getCpu()- Parameters:
cpu- cpu property. Specify an array of string values to match this event if the actual value of cpu is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
createdAt
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder createdAt(List<String> createdAt) - Parameters:
createdAt- createdAt property. Specify an array of string values to match this event if the actual value of createdAt is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
desiredStatus
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder desiredStatus(List<String> desiredStatus) - Parameters:
desiredStatus- desiredStatus property. Specify an array of string values to match this event if the actual value of desiredStatus is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
group
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder group(List<String> group) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.getGroup()- Parameters:
group- group property. Specify an array of string values to match this event if the actual value of group is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
lastStatus
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder lastStatus(List<String> lastStatus) - Parameters:
lastStatus- lastStatus property. Specify an array of string values to match this event if the actual value of lastStatus is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
launchType
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder launchType(List<String> launchType) - Parameters:
launchType- launchType property. Specify an array of string values to match this event if the actual value of launchType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
memory
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder memory(List<String> memory) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.getMemory()- Parameters:
memory- memory property. Specify an array of string values to match this event if the actual value of memory is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
overrides
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder overrides(ClusterEvents.AWSAPICallViaCloudTrail.Overrides1 overrides) - Parameters:
overrides- overrides property. Specify an array of string values to match this event if the actual value of overrides is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
platformVersion
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder platformVersion(List<String> platformVersion) - Parameters:
platformVersion- platformVersion property. Specify an array of string values to match this event if the actual value of platformVersion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
startedBy
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder startedBy(List<String> startedBy) - Parameters:
startedBy- startedBy property. Specify an array of string values to match this event if the actual value of startedBy is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
tags
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder tags(List<? extends Object> tags) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.getTags()- Parameters:
tags- tags property. Specify an array of string values to match this event if the actual value of tags is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
taskArn
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder taskArn(List<String> taskArn) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.getTaskArn()- Parameters:
taskArn- taskArn property. Specify an array of string values to match this event if the actual value of taskArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
taskDefinitionArn
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder taskDefinitionArn(List<String> taskDefinitionArn) - Parameters:
taskDefinitionArn- taskDefinitionArn property. Specify an array of string values to match this event if the actual value of taskDefinitionArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
version
@Stability(Experimental) public ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder version(List<String> version) Sets the value ofClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem.getVersion()- Parameters:
version- version property. Specify an array of string values to match this event if the actual value of version 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.AWSAPICallViaCloudTrail.ResponseElementsItem>- Returns:
- a new instance of
ClusterEvents.AWSAPICallViaCloudTrail.ResponseElementsItem - Throws:
NullPointerException- if any required attribute was not provided
-