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