Class EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.autoscaling.events.EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps>
- Enclosing interface:
EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps
@Stability(Experimental)
public static final class EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder
extends Object
implements software.amazon.jsii.Builder<EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityId(List<String> activityId) autoScalingGroupName(List<String> autoScalingGroupName) build()Builds the configured instance.Sets the value ofEC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.getCause()description(List<String> description) destination(List<String> destination) ec2InstanceId(List<String> ec2InstanceId) eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofEC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.getOrigin()statusCode(List<String> statusCode) statusMessage(List<String> statusMessage)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activityId
@Stability(Experimental) public EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder activityId(List<String> activityId) - Parameters:
activityId- ActivityId property. Specify an array of string values to match this event if the actual value of ActivityId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
autoScalingGroupName
@Stability(Experimental) public EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder autoScalingGroupName(List<String> autoScalingGroupName) Sets the value ofEC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.getAutoScalingGroupName()- Parameters:
autoScalingGroupName- AutoScalingGroupName property. Specify an array of string values to match this event if the actual value of AutoScalingGroupName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
cause
@Stability(Experimental) public EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder cause(List<String> cause) Sets the value ofEC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.getCause()- Parameters:
cause- Cause property. Specify an array of string values to match this event if the actual value of Cause is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
description
@Stability(Experimental) public EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder description(List<String> description) - Parameters:
description- Description property. Specify an array of string values to match this event if the actual value of Description is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
destination
@Stability(Experimental) public EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder destination(List<String> destination) - Parameters:
destination- Destination property. Specify an array of string values to match this event if the actual value of Destination is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
details
@Stability(Experimental) public EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder details(EC2InstanceLaunchSuccessful.Details details) - Parameters:
details- Details property. Specify an array of string values to match this event if the actual value of Details is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
ec2InstanceId
@Stability(Experimental) public EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder ec2InstanceId(List<String> ec2InstanceId) - Parameters:
ec2InstanceId- EC2InstanceId property. Specify an array of string values to match this event if the actual value of EC2InstanceId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
endTime
@Stability(Experimental) public EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder endTime(List<String> endTime) - Parameters:
endTime- EndTime property. Specify an array of string values to match this event if the actual value of EndTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
origin
@Stability(Experimental) public EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder origin(List<String> origin) Sets the value ofEC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.getOrigin()- Parameters:
origin- Origin property. Specify an array of string values to match this event if the actual value of Origin is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
requestId
@Stability(Experimental) public EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder requestId(List<String> requestId) - Parameters:
requestId- RequestId property. Specify an array of string values to match this event if the actual value of RequestId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
startTime
@Stability(Experimental) public EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder startTime(List<String> startTime) - Parameters:
startTime- StartTime property. Specify an array of string values to match this event if the actual value of StartTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
statusCode
@Stability(Experimental) public EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder statusCode(List<String> statusCode) - Parameters:
statusCode- StatusCode property. Specify an array of string values to match this event if the actual value of StatusCode is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
statusMessage
@Stability(Experimental) public EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps.Builder statusMessage(List<String> statusMessage) - Parameters:
statusMessage- StatusMessage property. Specify an array of string values to match this event if the actual value of StatusMessage 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 EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps>- Returns:
- a new instance of
EC2InstanceLaunchSuccessful.EC2InstanceLaunchSuccessfulProps - Throws:
NullPointerException- if any required attribute was not provided
-