Class JobEvents.GlueJobStateChange.GlueJobStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.glue.events.JobEvents.GlueJobStateChange.GlueJobStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<JobEvents.GlueJobStateChange.GlueJobStateChangeProps>
- Enclosing interface:
JobEvents.GlueJobStateChange.GlueJobStateChangeProps
@Stability(Experimental)
public static final class JobEvents.GlueJobStateChange.GlueJobStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<JobEvents.GlueJobStateChange.GlueJobStateChangeProps>
A builder for
JobEvents.GlueJobStateChange.GlueJobStateChangeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofJobEvents.GlueJobStateChange.GlueJobStateChangeProps.getEventMetadata()Sets the value ofJobEvents.GlueJobStateChange.GlueJobStateChangeProps.getJobName()Sets the value ofJobEvents.GlueJobStateChange.GlueJobStateChangeProps.getJobRunId()Sets the value ofJobEvents.GlueJobStateChange.GlueJobStateChangeProps.getMessage()Sets the value ofJobEvents.GlueJobStateChange.GlueJobStateChangeProps.getSeverity()Sets the value ofJobEvents.GlueJobStateChange.GlueJobStateChangeProps.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventMetadata
@Stability(Experimental) public JobEvents.GlueJobStateChange.GlueJobStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofJobEvents.GlueJobStateChange.GlueJobStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
jobName
@Stability(Experimental) public JobEvents.GlueJobStateChange.GlueJobStateChangeProps.Builder jobName(List<String> jobName) Sets the value ofJobEvents.GlueJobStateChange.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 JobEvents.GlueJobStateChange.GlueJobStateChangeProps.Builder jobRunId(List<String> jobRunId) Sets the value ofJobEvents.GlueJobStateChange.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 JobEvents.GlueJobStateChange.GlueJobStateChangeProps.Builder message(List<String> message) Sets the value ofJobEvents.GlueJobStateChange.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 JobEvents.GlueJobStateChange.GlueJobStateChangeProps.Builder severity(List<String> severity) Sets the value ofJobEvents.GlueJobStateChange.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 JobEvents.GlueJobStateChange.GlueJobStateChangeProps.Builder state(List<String> state) Sets the value ofJobEvents.GlueJobStateChange.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<JobEvents.GlueJobStateChange.GlueJobStateChangeProps>- Returns:
- a new instance of
JobEvents.GlueJobStateChange.GlueJobStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-