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