Class FISExperimentStateChange.FISExperimentStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.fis.events.FISExperimentStateChange.FISExperimentStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FISExperimentStateChange.FISExperimentStateChangeProps>
- Enclosing interface:
FISExperimentStateChange.FISExperimentStateChangeProps
@Stability(Experimental)
public static final class FISExperimentStateChange.FISExperimentStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<FISExperimentStateChange.FISExperimentStateChangeProps>
A builder for
FISExperimentStateChange.FISExperimentStateChangeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) experimentId(List<String> experimentId) Sets the value ofFISExperimentStateChange.FISExperimentStateChangeProps.getExperimentId()newState(FISExperimentStateChange.NewState newState) Sets the value ofFISExperimentStateChange.FISExperimentStateChangeProps.getNewState()oldState(FISExperimentStateChange.OldState oldState) Sets the value ofFISExperimentStateChange.FISExperimentStateChangeProps.getOldState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventMetadata
@Stability(Experimental) public FISExperimentStateChange.FISExperimentStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
experimentId
@Stability(Experimental) public FISExperimentStateChange.FISExperimentStateChangeProps.Builder experimentId(List<String> experimentId) Sets the value ofFISExperimentStateChange.FISExperimentStateChangeProps.getExperimentId()- Parameters:
experimentId- experiment-id property. Specify an array of string values to match this event if the actual value of experiment-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
newState
@Stability(Experimental) public FISExperimentStateChange.FISExperimentStateChangeProps.Builder newState(FISExperimentStateChange.NewState newState) Sets the value ofFISExperimentStateChange.FISExperimentStateChangeProps.getNewState()- Parameters:
newState- new-state property. Specify an array of string values to match this event if the actual value of new-state is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
oldState
@Stability(Experimental) public FISExperimentStateChange.FISExperimentStateChangeProps.Builder oldState(FISExperimentStateChange.OldState oldState) Sets the value ofFISExperimentStateChange.FISExperimentStateChangeProps.getOldState()- Parameters:
oldState- old-state property. Specify an array of string values to match this event if the actual value of old-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<FISExperimentStateChange.FISExperimentStateChangeProps>- Returns:
- a new instance of
FISExperimentStateChange.FISExperimentStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-