Class AWSAPICallViaCloudTrail.ResponseElements.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codecommit.events.AWSAPICallViaCloudTrail.ResponseElements.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.ResponseElements>
- Enclosing interface:
AWSAPICallViaCloudTrail.ResponseElements
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.ResponseElements.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.ResponseElements>
A builder for
AWSAPICallViaCloudTrail.ResponseElements-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterBlobId(List<String> afterBlobId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getAfterBlobId()afterCommitId(List<String> afterCommitId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getAfterCommitId()beforeBlobId(List<String> beforeBlobId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getBeforeBlobId()beforeCommitId(List<String> beforeCommitId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getBeforeCommitId()Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getBlobId()build()Builds the configured instance.comment(AWSAPICallViaCloudTrail.Comment comment) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getComment()Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getCommitId()deletedBranch(AWSAPICallViaCloudTrail.DeletedBranch deletedBranch) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getDeletedBranch()Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getFilePath()filesAdded(List<? extends AWSAPICallViaCloudTrail.ResponseElementsItem> filesAdded) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getFilesAdded()filesDeleted(List<? extends AWSAPICallViaCloudTrail.ResponseElementsItem> filesDeleted) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getFilesDeleted()filesUpdated(List<? extends AWSAPICallViaCloudTrail.ResponseElementsItem> filesUpdated) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getFilesUpdated()location(AWSAPICallViaCloudTrail.Location location) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getLocation()pullRequest(AWSAPICallViaCloudTrail.PullRequest pullRequest) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getPullRequest()pullRequestId(List<String> pullRequestId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getPullRequestId()repositoryId(List<String> repositoryId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getRepositoryId()repositoryMetadata(AWSAPICallViaCloudTrail.RepositoryMetadata repositoryMetadata) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getRepositoryMetadata()repositoryName(List<String> repositoryName) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getRepositoryName()Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getTreeId()Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getUploadId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
afterBlobId
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder afterBlobId(List<String> afterBlobId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getAfterBlobId()- Parameters:
afterBlobId- afterBlobId property. Specify an array of string values to match this event if the actual value of afterBlobId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
afterCommitId
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder afterCommitId(List<String> afterCommitId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getAfterCommitId()- Parameters:
afterCommitId- afterCommitId property. Specify an array of string values to match this event if the actual value of afterCommitId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
beforeBlobId
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder beforeBlobId(List<String> beforeBlobId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getBeforeBlobId()- Parameters:
beforeBlobId- beforeBlobId property. Specify an array of string values to match this event if the actual value of beforeBlobId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
beforeCommitId
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder beforeCommitId(List<String> beforeCommitId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getBeforeCommitId()- Parameters:
beforeCommitId- beforeCommitId property. Specify an array of string values to match this event if the actual value of beforeCommitId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
blobId
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder blobId(List<String> blobId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getBlobId()- Parameters:
blobId- blobId property. Specify an array of string values to match this event if the actual value of blobId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
comment
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder comment(AWSAPICallViaCloudTrail.Comment comment) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getComment()- Parameters:
comment- comment property. Specify an array of string values to match this event if the actual value of comment is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
commitId
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder commitId(List<String> commitId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getCommitId()- Parameters:
commitId- commitId property. Specify an array of string values to match this event if the actual value of commitId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
deletedBranch
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder deletedBranch(AWSAPICallViaCloudTrail.DeletedBranch deletedBranch) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getDeletedBranch()- Parameters:
deletedBranch- deletedBranch property. Specify an array of string values to match this event if the actual value of deletedBranch is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
filePath
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder filePath(List<String> filePath) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getFilePath()- Parameters:
filePath- filePath property. Specify an array of string values to match this event if the actual value of filePath is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
filesAdded
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder filesAdded(List<? extends AWSAPICallViaCloudTrail.ResponseElementsItem> filesAdded) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getFilesAdded()- Parameters:
filesAdded- filesAdded property. Specify an array of string values to match this event if the actual value of filesAdded is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
filesDeleted
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder filesDeleted(List<? extends AWSAPICallViaCloudTrail.ResponseElementsItem> filesDeleted) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getFilesDeleted()- Parameters:
filesDeleted- filesDeleted property. Specify an array of string values to match this event if the actual value of filesDeleted is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
filesUpdated
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder filesUpdated(List<? extends AWSAPICallViaCloudTrail.ResponseElementsItem> filesUpdated) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getFilesUpdated()- Parameters:
filesUpdated- filesUpdated property. Specify an array of string values to match this event if the actual value of filesUpdated is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
location
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder location(AWSAPICallViaCloudTrail.Location location) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getLocation()- Parameters:
location- location property. Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
pullRequest
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder pullRequest(AWSAPICallViaCloudTrail.PullRequest pullRequest) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getPullRequest()- Parameters:
pullRequest- pullRequest property. Specify an array of string values to match this event if the actual value of pullRequest is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
pullRequestId
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder pullRequestId(List<String> pullRequestId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getPullRequestId()- Parameters:
pullRequestId- pullRequestId property. Specify an array of string values to match this event if the actual value of pullRequestId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
repositoryId
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder repositoryId(List<String> repositoryId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getRepositoryId()- Parameters:
repositoryId- repositoryId property. Specify an array of string values to match this event if the actual value of repositoryId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
repositoryMetadata
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder repositoryMetadata(AWSAPICallViaCloudTrail.RepositoryMetadata repositoryMetadata) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getRepositoryMetadata()- Parameters:
repositoryMetadata- repositoryMetadata property. Specify an array of string values to match this event if the actual value of repositoryMetadata is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
repositoryName
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder repositoryName(List<String> repositoryName) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getRepositoryName()- Parameters:
repositoryName- repositoryName property. Specify an array of string values to match this event if the actual value of repositoryName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
treeId
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder treeId(List<String> treeId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getTreeId()- Parameters:
treeId- treeId property. Specify an array of string values to match this event if the actual value of treeId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
uploadId
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder uploadId(List<String> uploadId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getUploadId()- Parameters:
uploadId- uploadId property. Specify an array of string values to match this event if the actual value of uploadId 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.ResponseElements>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.ResponseElements - Throws:
NullPointerException- if any required attribute was not provided
-