Class BatchJobStateChange.ULimit.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.batch.events.BatchJobStateChange.ULimit.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BatchJobStateChange.ULimit>
- Enclosing interface:
BatchJobStateChange.ULimit
@Stability(Experimental)
public static final class BatchJobStateChange.ULimit.Builder
extends Object
implements software.amazon.jsii.Builder<BatchJobStateChange.ULimit>
A builder for
BatchJobStateChange.ULimit-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofBatchJobStateChange.ULimit.getHardLimit()Sets the value ofBatchJobStateChange.ULimit.getName()Sets the value ofBatchJobStateChange.ULimit.getSoftLimit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hardLimit
@Stability(Experimental) public BatchJobStateChange.ULimit.Builder hardLimit(List<String> hardLimit) Sets the value ofBatchJobStateChange.ULimit.getHardLimit()- Parameters:
hardLimit- hardLimit property. Specify an array of string values to match this event if the actual value of hardLimit is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
name
Sets the value ofBatchJobStateChange.ULimit.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
-
softLimit
@Stability(Experimental) public BatchJobStateChange.ULimit.Builder softLimit(List<String> softLimit) Sets the value ofBatchJobStateChange.ULimit.getSoftLimit()- Parameters:
softLimit- softLimit property. Specify an array of string values to match this event if the actual value of softLimit 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.ULimit>- Returns:
- a new instance of
BatchJobStateChange.ULimit - Throws:
NullPointerException- if any required attribute was not provided
-