Class AWSAPICallViaCloudTrail.Attachment.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.AWSAPICallViaCloudTrail.Attachment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Attachment>
- Enclosing interface:
AWSAPICallViaCloudTrail.Attachment
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.Attachment.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Attachment>
A builder for
AWSAPICallViaCloudTrail.Attachment-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentId(List<String> attachmentId) Sets the value ofAWSAPICallViaCloudTrail.Attachment.getAttachmentId()attachTime(List<String> attachTime) Sets the value ofAWSAPICallViaCloudTrail.Attachment.getAttachTime()build()Builds the configured instance.deleteOnTermination(List<String> deleteOnTermination) Sets the value ofAWSAPICallViaCloudTrail.Attachment.getDeleteOnTermination()deviceIndex(List<String> deviceIndex) Sets the value ofAWSAPICallViaCloudTrail.Attachment.getDeviceIndex()Sets the value ofAWSAPICallViaCloudTrail.Attachment.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachmentId
@Stability(Experimental) public AWSAPICallViaCloudTrail.Attachment.Builder attachmentId(List<String> attachmentId) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.Attachment.Builder attachTime(List<String> attachTime) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.Attachment.Builder deleteOnTermination(List<String> deleteOnTermination) Sets the value ofAWSAPICallViaCloudTrail.Attachment.getDeleteOnTermination()- 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 AWSAPICallViaCloudTrail.Attachment.Builder deviceIndex(List<String> deviceIndex) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.Attachment.Builder status(List<String> status) Sets the value ofAWSAPICallViaCloudTrail.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<AWSAPICallViaCloudTrail.Attachment>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.Attachment - Throws:
NullPointerException- if any required attribute was not provided
-