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