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