Class AWSAPICallViaCloudTrail.Comment.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codecommit.events.AWSAPICallViaCloudTrail.Comment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Comment>
- Enclosing interface:
AWSAPICallViaCloudTrail.Comment
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.Comment.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Comment>
A builder for
AWSAPICallViaCloudTrail.Comment-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAWSAPICallViaCloudTrail.Comment.getAuthorArn()build()Builds the configured instance.clientRequestToken(List<String> clientRequestToken) Sets the value ofAWSAPICallViaCloudTrail.Comment.getClientRequestToken()Sets the value ofAWSAPICallViaCloudTrail.Comment.getCommentId()Sets the value ofAWSAPICallViaCloudTrail.Comment.getContent()creationDate(List<String> creationDate) Sets the value ofAWSAPICallViaCloudTrail.Comment.getCreationDate()Sets the value ofAWSAPICallViaCloudTrail.Comment.getDeleted()Sets the value ofAWSAPICallViaCloudTrail.Comment.getInReplyTo()lastModifiedDate(List<String> lastModifiedDate) Sets the value ofAWSAPICallViaCloudTrail.Comment.getLastModifiedDate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorArn
@Stability(Experimental) public AWSAPICallViaCloudTrail.Comment.Builder authorArn(List<String> authorArn) Sets the value ofAWSAPICallViaCloudTrail.Comment.getAuthorArn()- Parameters:
authorArn- authorArn property. Specify an array of string values to match this event if the actual value of authorArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
clientRequestToken
@Stability(Experimental) public AWSAPICallViaCloudTrail.Comment.Builder clientRequestToken(List<String> clientRequestToken) Sets the value ofAWSAPICallViaCloudTrail.Comment.getClientRequestToken()- Parameters:
clientRequestToken- clientRequestToken property. Specify an array of string values to match this event if the actual value of clientRequestToken is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
commentId
@Stability(Experimental) public AWSAPICallViaCloudTrail.Comment.Builder commentId(List<String> commentId) Sets the value ofAWSAPICallViaCloudTrail.Comment.getCommentId()- Parameters:
commentId- commentId property. Specify an array of string values to match this event if the actual value of commentId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
content
@Stability(Experimental) public AWSAPICallViaCloudTrail.Comment.Builder content(List<String> content) Sets the value ofAWSAPICallViaCloudTrail.Comment.getContent()- Parameters:
content- content property. Specify an array of string values to match this event if the actual value of content is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
creationDate
@Stability(Experimental) public AWSAPICallViaCloudTrail.Comment.Builder creationDate(List<String> creationDate) Sets the value ofAWSAPICallViaCloudTrail.Comment.getCreationDate()- Parameters:
creationDate- creationDate property. Specify an array of string values to match this event if the actual value of creationDate is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
deleted
@Stability(Experimental) public AWSAPICallViaCloudTrail.Comment.Builder deleted(List<String> deleted) Sets the value ofAWSAPICallViaCloudTrail.Comment.getDeleted()- Parameters:
deleted- deleted property. Specify an array of string values to match this event if the actual value of deleted is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
inReplyTo
@Stability(Experimental) public AWSAPICallViaCloudTrail.Comment.Builder inReplyTo(List<String> inReplyTo) Sets the value ofAWSAPICallViaCloudTrail.Comment.getInReplyTo()- Parameters:
inReplyTo- inReplyTo property. Specify an array of string values to match this event if the actual value of inReplyTo is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
lastModifiedDate
@Stability(Experimental) public AWSAPICallViaCloudTrail.Comment.Builder lastModifiedDate(List<String> lastModifiedDate) Sets the value ofAWSAPICallViaCloudTrail.Comment.getLastModifiedDate()- Parameters:
lastModifiedDate- lastModifiedDate property. Specify an array of string values to match this event if the actual value of lastModifiedDate 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.Comment>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.Comment - Throws:
NullPointerException- if any required attribute was not provided
-