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