Class RunStatusChange.RunStatusChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.omics.events.RunStatusChange.RunStatusChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RunStatusChange.RunStatusChangeProps>
- Enclosing interface:
RunStatusChange.RunStatusChangeProps
@Stability(Experimental)
public static final class RunStatusChange.RunStatusChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<RunStatusChange.RunStatusChangeProps>
A builder for
RunStatusChange.RunStatusChangeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofRunStatusChange.RunStatusChangeProps.getArn()build()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofRunStatusChange.RunStatusChangeProps.getEventMetadata()omicsVersion(List<String> omicsVersion) Sets the value ofRunStatusChange.RunStatusChangeProps.getOmicsVersion()Sets the value ofRunStatusChange.RunStatusChangeProps.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofRunStatusChange.RunStatusChangeProps.getArn()- Parameters:
arn- arn property. Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public RunStatusChange.RunStatusChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofRunStatusChange.RunStatusChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
omicsVersion
@Stability(Experimental) public RunStatusChange.RunStatusChangeProps.Builder omicsVersion(List<String> omicsVersion) Sets the value ofRunStatusChange.RunStatusChangeProps.getOmicsVersion()- Parameters:
omicsVersion- omicsVersion property. Specify an array of string values to match this event if the actual value of omicsVersion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
status
@Stability(Experimental) public RunStatusChange.RunStatusChangeProps.Builder status(List<String> status) Sets the value ofRunStatusChange.RunStatusChangeProps.getStatus()- Parameters:
status- status property. Specify an array of string values to match this event if the actual value of status 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<RunStatusChange.RunStatusChangeProps>- Returns:
- a new instance of
RunStatusChange.RunStatusChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-