Class BatchJobStateChange.Container1.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.batch.events.BatchJobStateChange.Container1.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BatchJobStateChange.Container1>
- Enclosing interface:
BatchJobStateChange.Container1
@Stability(Experimental)
public static final class BatchJobStateChange.Container1.Builder
extends Object
implements software.amazon.jsii.Builder<BatchJobStateChange.Container1>
A builder for
BatchJobStateChange.Container1-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.containerInstanceArn(List<String> containerInstanceArn) Sets the value ofBatchJobStateChange.Container1.getContainerInstanceArn()Sets the value ofBatchJobStateChange.Container1.getExitCode()logStreamName(List<String> logStreamName) Sets the value ofBatchJobStateChange.Container1.getLogStreamName()networkInterfaces(List<? extends Object> networkInterfaces) Sets the value ofBatchJobStateChange.Container1.getNetworkInterfaces()Sets the value ofBatchJobStateChange.Container1.getTaskArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containerInstanceArn
@Stability(Experimental) public BatchJobStateChange.Container1.Builder containerInstanceArn(List<String> containerInstanceArn) Sets the value ofBatchJobStateChange.Container1.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
-
exitCode
@Stability(Experimental) public BatchJobStateChange.Container1.Builder exitCode(List<String> exitCode) Sets the value ofBatchJobStateChange.Container1.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
-
logStreamName
@Stability(Experimental) public BatchJobStateChange.Container1.Builder logStreamName(List<String> logStreamName) Sets the value ofBatchJobStateChange.Container1.getLogStreamName()- Parameters:
logStreamName- logStreamName property. Specify an array of string values to match this event if the actual value of logStreamName 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 BatchJobStateChange.Container1.Builder networkInterfaces(List<? extends Object> networkInterfaces) Sets the value ofBatchJobStateChange.Container1.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 BatchJobStateChange.Container1.Builder taskArn(List<String> taskArn) Sets the value ofBatchJobStateChange.Container1.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<BatchJobStateChange.Container1>- Returns:
- a new instance of
BatchJobStateChange.Container1 - Throws:
NullPointerException- if any required attribute was not provided
-