Class AWSAPICallViaCloudTrail.Overrides1Item.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.events.AWSAPICallViaCloudTrail.Overrides1Item.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Overrides1Item>
- Enclosing interface:
AWSAPICallViaCloudTrail.Overrides1Item
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.Overrides1Item.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Overrides1Item>
A builder for
AWSAPICallViaCloudTrail.Overrides1Item-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofAWSAPICallViaCloudTrail.Overrides1Item.getCommand()Sets the value ofAWSAPICallViaCloudTrail.Overrides1Item.getCpu()environment(List<? extends Object> environment) Sets the value ofAWSAPICallViaCloudTrail.Overrides1Item.getEnvironment()Sets the value ofAWSAPICallViaCloudTrail.Overrides1Item.getMemory()Sets the value ofAWSAPICallViaCloudTrail.Overrides1Item.getName()resourceRequirements(List<? extends Object> resourceRequirements) Sets the value ofAWSAPICallViaCloudTrail.Overrides1Item.getResourceRequirements()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
command
@Stability(Experimental) public AWSAPICallViaCloudTrail.Overrides1Item.Builder command(List<String> command) Sets the value ofAWSAPICallViaCloudTrail.Overrides1Item.getCommand()- Parameters:
command- command property. Specify an array of string values to match this event if the actual value of command 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.Overrides1Item.Builder cpu(List<String> cpu) Sets the value ofAWSAPICallViaCloudTrail.Overrides1Item.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
-
environment
@Stability(Experimental) public AWSAPICallViaCloudTrail.Overrides1Item.Builder environment(List<? extends Object> environment) Sets the value ofAWSAPICallViaCloudTrail.Overrides1Item.getEnvironment()- Parameters:
environment- environment property. Specify an array of string values to match this event if the actual value of environment 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.Overrides1Item.Builder memory(List<String> memory) Sets the value ofAWSAPICallViaCloudTrail.Overrides1Item.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.Overrides1Item.Builder name(List<String> name) Sets the value ofAWSAPICallViaCloudTrail.Overrides1Item.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
-
resourceRequirements
@Stability(Experimental) public AWSAPICallViaCloudTrail.Overrides1Item.Builder resourceRequirements(List<? extends Object> resourceRequirements) Sets the value ofAWSAPICallViaCloudTrail.Overrides1Item.getResourceRequirements()- Parameters:
resourceRequirements- resourceRequirements property. Specify an array of string values to match this event if the actual value of resourceRequirements 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.Overrides1Item>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.Overrides1Item - Throws:
NullPointerException- if any required attribute was not provided
-