Class GlueJobStateChange.GlueJobStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.glue.events.GlueJobStateChange.GlueJobStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GlueJobStateChange.GlueJobStateChangeProps>
- Enclosing interface:
GlueJobStateChange.GlueJobStateChangeProps
@Stability(Experimental)
public static final class GlueJobStateChange.GlueJobStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<GlueJobStateChange.GlueJobStateChangeProps>
A builder for
GlueJobStateChange.GlueJobStateChangeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofGlueJobStateChange.GlueJobStateChangeProps.getEventMetadata()Sets the value ofGlueJobStateChange.GlueJobStateChangeProps.getJobName()Sets the value ofGlueJobStateChange.GlueJobStateChangeProps.getJobRunId()Sets the value ofGlueJobStateChange.GlueJobStateChangeProps.getMessage()Sets the value ofGlueJobStateChange.GlueJobStateChangeProps.getSeverity()Sets the value ofGlueJobStateChange.GlueJobStateChangeProps.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventMetadata
@Stability(Experimental) public GlueJobStateChange.GlueJobStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofGlueJobStateChange.GlueJobStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
jobName
@Stability(Experimental) public GlueJobStateChange.GlueJobStateChangeProps.Builder jobName(List<String> jobName) Sets the value ofGlueJobStateChange.GlueJobStateChangeProps.getJobName()- Parameters:
jobName- jobName property. Specify an array of string values to match this event if the actual value of jobName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
jobRunId
@Stability(Experimental) public GlueJobStateChange.GlueJobStateChangeProps.Builder jobRunId(List<String> jobRunId) Sets the value ofGlueJobStateChange.GlueJobStateChangeProps.getJobRunId()- Parameters:
jobRunId- jobRunId property. Specify an array of string values to match this event if the actual value of jobRunId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
message
@Stability(Experimental) public GlueJobStateChange.GlueJobStateChangeProps.Builder message(List<String> message) Sets the value ofGlueJobStateChange.GlueJobStateChangeProps.getMessage()- Parameters:
message- message property. Specify an array of string values to match this event if the actual value of message is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
severity
@Stability(Experimental) public GlueJobStateChange.GlueJobStateChangeProps.Builder severity(List<String> severity) Sets the value ofGlueJobStateChange.GlueJobStateChangeProps.getSeverity()- Parameters:
severity- severity property. Specify an array of string values to match this event if the actual value of severity is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
state
@Stability(Experimental) public GlueJobStateChange.GlueJobStateChangeProps.Builder state(List<String> state) Sets the value ofGlueJobStateChange.GlueJobStateChangeProps.getState()- Parameters:
state- state property. Specify an array of string values to match this event if the actual value of state 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<GlueJobStateChange.GlueJobStateChangeProps>- Returns:
- a new instance of
GlueJobStateChange.GlueJobStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-