Class InstanceEvents.AWSAPICallViaCloudTrail.Attachment.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.Attachment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.Attachment>
- Enclosing interface:
InstanceEvents.AWSAPICallViaCloudTrail.Attachment
@Stability(Experimental)
public static final class InstanceEvents.AWSAPICallViaCloudTrail.Attachment.Builder
extends Object
implements software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.Attachment>
A builder for
InstanceEvents.AWSAPICallViaCloudTrail.Attachment-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentId(List<String> attachmentId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.Attachment.getAttachmentId()attachTime(List<String> attachTime) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.Attachment.getAttachTime()build()Builds the configured instance.deleteOnTermination(List<String> deleteOnTermination) deviceIndex(List<String> deviceIndex) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.Attachment.getDeviceIndex()Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.Attachment.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachmentId
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.Attachment.Builder attachmentId(List<String> attachmentId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.Attachment.getAttachmentId()- Parameters:
attachmentId- attachmentId property. Specify an array of string values to match this event if the actual value of attachmentId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
attachTime
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.Attachment.Builder attachTime(List<String> attachTime) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.Attachment.getAttachTime()- Parameters:
attachTime- attachTime property. Specify an array of string values to match this event if the actual value of attachTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
deleteOnTermination
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.Attachment.Builder deleteOnTermination(List<String> deleteOnTermination) - Parameters:
deleteOnTermination- deleteOnTermination property. Specify an array of string values to match this event if the actual value of deleteOnTermination is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
deviceIndex
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.Attachment.Builder deviceIndex(List<String> deviceIndex) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.Attachment.getDeviceIndex()- Parameters:
deviceIndex- deviceIndex property. Specify an array of string values to match this event if the actual value of deviceIndex is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
status
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.Attachment.Builder status(List<String> status) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.Attachment.getStatus()- Parameters:
status- status property. Specify an array of string values to match this event if the actual value of status 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.Attachment>- Returns:
- a new instance of
InstanceEvents.AWSAPICallViaCloudTrail.Attachment - Throws:
NullPointerException- if any required attribute was not provided
-