Class InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate>
- Enclosing interface:
InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate
@Stability(Experimental)
public static final class InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate.Builder
extends Object
implements software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate>
A builder for
InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.launchTemplateId(List<String> launchTemplateId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
launchTemplateId
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate.Builder launchTemplateId(List<String> launchTemplateId) - 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.LaunchTemplate.Builder version(List<String> version) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate.getVersion()- 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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate>- Returns:
- a new instance of
InstanceEvents.AWSAPICallViaCloudTrail.LaunchTemplate - Throws:
NullPointerException- if any required attribute was not provided
-