Class BatchJobStateChange.Volumes.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.batch.events.BatchJobStateChange.Volumes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BatchJobStateChange.Volumes>
- Enclosing interface:
BatchJobStateChange.Volumes
@Stability(Experimental)
public static final class BatchJobStateChange.Volumes.Builder
extends Object
implements software.amazon.jsii.Builder<BatchJobStateChange.Volumes>
A builder for
BatchJobStateChange.Volumes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.host(BatchJobStateChange.Host host) Sets the value ofBatchJobStateChange.Volumes.getHost()Sets the value ofBatchJobStateChange.Volumes.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
host
@Stability(Experimental) public BatchJobStateChange.Volumes.Builder host(BatchJobStateChange.Host host) Sets the value ofBatchJobStateChange.Volumes.getHost()- Parameters:
host- host property. Specify an array of string values to match this event if the actual value of host 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.Volumes.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BatchJobStateChange.Volumes>- Returns:
- a new instance of
BatchJobStateChange.Volumes - Throws:
NullPointerException- if any required attribute was not provided
-