Class AWSAPICallViaCloudTrail.LaunchTemplate1.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.AWSAPICallViaCloudTrail.LaunchTemplate1.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.LaunchTemplate1>
- Enclosing interface:
AWSAPICallViaCloudTrail.LaunchTemplate1
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.LaunchTemplate1.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.LaunchTemplate1>
A builder for
AWSAPICallViaCloudTrail.LaunchTemplate1-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofAWSAPICallViaCloudTrail.LaunchTemplate1.getCreatedBy()createTime(List<String> createTime) Sets the value ofAWSAPICallViaCloudTrail.LaunchTemplate1.getCreateTime()defaultVersionNumber(List<String> defaultVersionNumber) Sets the value ofAWSAPICallViaCloudTrail.LaunchTemplate1.getDefaultVersionNumber()latestVersionNumber(List<String> latestVersionNumber) Sets the value ofAWSAPICallViaCloudTrail.LaunchTemplate1.getLatestVersionNumber()launchTemplateId(List<String> launchTemplateId) Sets the value ofAWSAPICallViaCloudTrail.LaunchTemplate1.getLaunchTemplateId()launchTemplateName(List<String> launchTemplateName) Sets the value ofAWSAPICallViaCloudTrail.LaunchTemplate1.getLaunchTemplateName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
createdBy
@Stability(Experimental) public AWSAPICallViaCloudTrail.LaunchTemplate1.Builder createdBy(List<String> createdBy) Sets the value ofAWSAPICallViaCloudTrail.LaunchTemplate1.getCreatedBy()- Parameters:
createdBy- createdBy property. Specify an array of string values to match this event if the actual value of createdBy is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
createTime
@Stability(Experimental) public AWSAPICallViaCloudTrail.LaunchTemplate1.Builder createTime(List<String> createTime) Sets the value ofAWSAPICallViaCloudTrail.LaunchTemplate1.getCreateTime()- Parameters:
createTime- createTime property. Specify an array of string values to match this event if the actual value of createTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
defaultVersionNumber
@Stability(Experimental) public AWSAPICallViaCloudTrail.LaunchTemplate1.Builder defaultVersionNumber(List<String> defaultVersionNumber) Sets the value ofAWSAPICallViaCloudTrail.LaunchTemplate1.getDefaultVersionNumber()- Parameters:
defaultVersionNumber- defaultVersionNumber property. Specify an array of string values to match this event if the actual value of defaultVersionNumber is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
latestVersionNumber
@Stability(Experimental) public AWSAPICallViaCloudTrail.LaunchTemplate1.Builder latestVersionNumber(List<String> latestVersionNumber) Sets the value ofAWSAPICallViaCloudTrail.LaunchTemplate1.getLatestVersionNumber()- Parameters:
latestVersionNumber- latestVersionNumber property. Specify an array of string values to match this event if the actual value of latestVersionNumber is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
launchTemplateId
@Stability(Experimental) public AWSAPICallViaCloudTrail.LaunchTemplate1.Builder launchTemplateId(List<String> launchTemplateId) Sets the value ofAWSAPICallViaCloudTrail.LaunchTemplate1.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
-
launchTemplateName
@Stability(Experimental) public AWSAPICallViaCloudTrail.LaunchTemplate1.Builder launchTemplateName(List<String> launchTemplateName) Sets the value ofAWSAPICallViaCloudTrail.LaunchTemplate1.getLaunchTemplateName()- Parameters:
launchTemplateName- launchTemplateName property. Specify an array of string values to match this event if the actual value of launchTemplateName 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.LaunchTemplate1>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.LaunchTemplate1 - Throws:
NullPointerException- if any required attribute was not provided
-