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