Class FISExperimentStateChange.NewState.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.fis.events.FISExperimentStateChange.NewState.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FISExperimentStateChange.NewState>
- Enclosing interface:
FISExperimentStateChange.NewState
@Stability(Experimental)
public static final class FISExperimentStateChange.NewState.Builder
extends Object
implements software.amazon.jsii.Builder<FISExperimentStateChange.NewState>
A builder for
FISExperimentStateChange.NewState-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofFISExperimentStateChange.NewState.getReason()Sets the value ofFISExperimentStateChange.NewState.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
reason
@Stability(Experimental) public FISExperimentStateChange.NewState.Builder reason(List<String> reason) Sets the value ofFISExperimentStateChange.NewState.getReason()- Parameters:
reason- reason property. Specify an array of string values to match this event if the actual value of reason 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 FISExperimentStateChange.NewState.Builder status(List<String> status) Sets the value ofFISExperimentStateChange.NewState.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<FISExperimentStateChange.NewState>- Returns:
- a new instance of
FISExperimentStateChange.NewState - Throws:
NullPointerException- if any required attribute was not provided
-