Class AWSAPICallViaCloudTrail.ResponseElementsItemItem1.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.events.AWSAPICallViaCloudTrail.ResponseElementsItemItem1.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.ResponseElementsItemItem1>
- Enclosing interface:
AWSAPICallViaCloudTrail.ResponseElementsItemItem1
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.ResponseElementsItemItem1.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.ResponseElementsItemItem1>
A builder for
AWSAPICallViaCloudTrail.ResponseElementsItemItem1-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.containerArn(List<String> containerArn) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.getContainerArn()Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.getCpu()Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.getImage()lastStatus(List<String> lastStatus) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.getLastStatus()Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.getMemory()Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.getName()networkInterfaces(List<? extends Object> networkInterfaces) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.getNetworkInterfaces()Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.getTaskArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containerArn
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElementsItemItem1.Builder containerArn(List<String> containerArn) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.getContainerArn()- Parameters:
containerArn- containerArn property. Specify an array of string values to match this event if the actual value of containerArn 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.ResponseElementsItemItem1.Builder cpu(List<String> cpu) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.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
-
image
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElementsItemItem1.Builder image(List<String> image) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.getImage()- Parameters:
image- image property. Specify an array of string values to match this event if the actual value of image 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.ResponseElementsItemItem1.Builder lastStatus(List<String> lastStatus) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.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
-
memory
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElementsItemItem1.Builder memory(List<String> memory) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.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
-
name
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElementsItemItem1.Builder name(List<String> name) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.getName()- Parameters:
name- name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
networkInterfaces
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElementsItemItem1.Builder networkInterfaces(List<? extends Object> networkInterfaces) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.getNetworkInterfaces()- Parameters:
networkInterfaces- networkInterfaces property. Specify an array of string values to match this event if the actual value of networkInterfaces 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.ResponseElementsItemItem1.Builder taskArn(List<String> taskArn) Sets the value ofAWSAPICallViaCloudTrail.ResponseElementsItemItem1.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AWSAPICallViaCloudTrail.ResponseElementsItemItem1>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.ResponseElementsItemItem1 - Throws:
NullPointerException- if any required attribute was not provided
-