Class TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.translate.events.TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps>
- Enclosing interface:
TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps
@Stability(Experimental)
public static final class TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) latestUpdateAttemptAt(List<String> latestUpdateAttemptAt) latestUpdateAttemptStatus(List<String> latestUpdateAttemptStatus)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventMetadata
@Stability(Experimental) public TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofTranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
latestUpdateAttemptAt
@Stability(Experimental) public TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.Builder latestUpdateAttemptAt(List<String> latestUpdateAttemptAt) Sets the value ofTranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.getLatestUpdateAttemptAt()- Parameters:
latestUpdateAttemptAt- latestUpdateAttemptAt property. Specify an array of string values to match this event if the actual value of latestUpdateAttemptAt is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
latestUpdateAttemptStatus
@Stability(Experimental) public TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.Builder latestUpdateAttemptStatus(List<String> latestUpdateAttemptStatus) Sets the value ofTranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.getLatestUpdateAttemptStatus()- Parameters:
latestUpdateAttemptStatus- latestUpdateAttemptStatus property. Specify an array of string values to match this event if the actual value of latestUpdateAttemptStatus is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
name
@Stability(Experimental) public TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.Builder name(List<String> name) Sets the value ofTranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.getName()- Parameters:
name- name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
operation
@Stability(Experimental) public TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.Builder operation(List<String> operation) Sets the value ofTranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.getOperation()- Parameters:
operation- operation property. Specify an array of string values to match this event if the actual value of operation 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 TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.Builder status(List<String> status) Sets the value ofTranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps.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
@Stability(Experimental) public TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps>- Returns:
- a new instance of
TranslateTextTranslationJobStateChange.TranslateTextTranslationJobStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-