Class MGNSourceServerLifecycleStateChange.MGNSourceServerLifecycleStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.mgn.events.MGNSourceServerLifecycleStateChange.MGNSourceServerLifecycleStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MGNSourceServerLifecycleStateChange.MGNSourceServerLifecycleStateChangeProps>
- Enclosing interface:
MGNSourceServerLifecycleStateChange.MGNSourceServerLifecycleStateChangeProps
@Stability(Experimental)
public static final class MGNSourceServerLifecycleStateChange.MGNSourceServerLifecycleStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<MGNSourceServerLifecycleStateChange.MGNSourceServerLifecycleStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventMetadata
@Stability(Experimental) public MGNSourceServerLifecycleStateChange.MGNSourceServerLifecycleStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofMGNSourceServerLifecycleStateChange.MGNSourceServerLifecycleStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
state
@Stability(Experimental) public MGNSourceServerLifecycleStateChange.MGNSourceServerLifecycleStateChangeProps.Builder state(List<String> state) Sets the value ofMGNSourceServerLifecycleStateChange.MGNSourceServerLifecycleStateChangeProps.getState()- Parameters:
state- state property. Specify an array of string values to match this event if the actual value of 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
@Stability(Experimental) public MGNSourceServerLifecycleStateChange.MGNSourceServerLifecycleStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MGNSourceServerLifecycleStateChange.MGNSourceServerLifecycleStateChangeProps>- Returns:
- a new instance of
MGNSourceServerLifecycleStateChange.MGNSourceServerLifecycleStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-