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