Class TaskStatusChange.TaskStatusChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.omics.events.TaskStatusChange.TaskStatusChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TaskStatusChange.TaskStatusChangeProps>
- Enclosing interface:
TaskStatusChange.TaskStatusChangeProps
@Stability(Experimental)
public static final class TaskStatusChange.TaskStatusChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<TaskStatusChange.TaskStatusChangeProps>
A builder for
TaskStatusChange.TaskStatusChangeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofTaskStatusChange.TaskStatusChangeProps.getArn()build()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofTaskStatusChange.TaskStatusChangeProps.getEventMetadata()omicsVersion(List<String> omicsVersion) Sets the value ofTaskStatusChange.TaskStatusChangeProps.getOmicsVersion()Sets the value ofTaskStatusChange.TaskStatusChangeProps.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
@Stability(Experimental) public TaskStatusChange.TaskStatusChangeProps.Builder arn(List<String> arn) Sets the value ofTaskStatusChange.TaskStatusChangeProps.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 TaskStatusChange.TaskStatusChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofTaskStatusChange.TaskStatusChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
omicsVersion
@Stability(Experimental) public TaskStatusChange.TaskStatusChangeProps.Builder omicsVersion(List<String> omicsVersion) Sets the value ofTaskStatusChange.TaskStatusChangeProps.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 TaskStatusChange.TaskStatusChangeProps.Builder status(List<String> status) Sets the value ofTaskStatusChange.TaskStatusChangeProps.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<TaskStatusChange.TaskStatusChangeProps>- Returns:
- a new instance of
TaskStatusChange.TaskStatusChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-