Class AWSAPICallViaCloudTrail.ResponseElementsItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.events.AWSAPICallViaCloudTrail.ResponseElementsItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.ResponseElementsItem>
- Enclosing interface:
AWSAPICallViaCloudTrail.ResponseElementsItem
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.ResponseElementsItem.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.ResponseElementsItem>
A builder for
AWSAPICallViaCloudTrail.ResponseElementsItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachments(List<? extends AWSAPICallViaCloudTrail.ResponseElementsItemItem> attachments) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getAttachments()build()Builds the configured instance.clusterArn(List<String> clusterArn) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getClusterArn()containerInstanceArn(List<String> containerInstanceArn) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getContainerInstanceArn()containers(List<? extends AWSAPICallViaCloudTrail.ResponseElementsItemItem1> containers) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getContainers()Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getCpu()Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getCreatedAt()desiredStatus(List<String> desiredStatus) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getDesiredStatus()Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getGroup()lastStatus(List<String> lastStatus) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getLastStatus()launchType(List<String> launchType) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getLaunchType()Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getMemory()overrides(AWSAPICallViaCloudTrail.Overrides1 overrides) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getOverrides()platformVersion(List<String> platformVersion) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getPlatformVersion()Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getStartedBy()Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getTags()Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getTaskArn()taskDefinitionArn(List<String> taskDefinitionArn) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getTaskDefinitionArn()Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachments
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElementsItem.Builder attachments(List<? extends AWSAPICallViaCloudTrail.ResponseElementsItemItem> attachments) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getAttachments()- 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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder clusterArn(List<String> clusterArn) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getClusterArn()- 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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder containerInstanceArn(List<String> containerInstanceArn) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder containers(List<? extends AWSAPICallViaCloudTrail.ResponseElementsItemItem1> containers) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getContainers()- 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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder cpu(List<String> cpu) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder createdAt(List<String> createdAt) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getCreatedAt()- 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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder desiredStatus(List<String> desiredStatus) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getDesiredStatus()- 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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder group(List<String> group) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder lastStatus(List<String> lastStatus) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getLastStatus()- 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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder launchType(List<String> launchType) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getLaunchType()- 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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder memory(List<String> memory) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder overrides(AWSAPICallViaCloudTrail.Overrides1 overrides) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getOverrides()- 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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder platformVersion(List<String> platformVersion) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getPlatformVersion()- 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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder startedBy(List<String> startedBy) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getStartedBy()- 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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder tags(List<? extends Object> tags) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder taskArn(List<String> taskArn) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder taskDefinitionArn(List<String> taskDefinitionArn) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItem.getTaskDefinitionArn()- 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 AWSAPICallViaCloudTrail.ResponseElementsItem.Builder version(List<String> version) Sets the value ofAWSAPICallViaCloudTrail.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<AWSAPICallViaCloudTrail.ResponseElementsItem>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.ResponseElementsItem - Throws:
NullPointerException- if any required attribute was not provided
-