Class AWSAPICallViaCloudTrail.RequestParameters.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.AWSAPICallViaCloudTrail.RequestParameters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.RequestParameters>
- Enclosing interface:
AWSAPICallViaCloudTrail.RequestParameters
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.RequestParameters.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.RequestParameters>
A builder for
AWSAPICallViaCloudTrail.RequestParameters-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAWSAPICallViaCloudTrail.RequestParameters.getAwsActId()build()Builds the configured instance.Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getInvokedBy()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getPayerId()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getUserArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsActId
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder awsActId(List<String> awsActId) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getAwsActId()- Parameters:
awsActId- awsActId property. Specify an array of string values to match this event if the actual value of awsActId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
invokedBy
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder invokedBy(List<String> invokedBy) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getInvokedBy()- Parameters:
invokedBy- invokedBy property. Specify an array of string values to match this event if the actual value of invokedBy is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
payerId
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder payerId(List<String> payerId) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getPayerId()- Parameters:
payerId- payerId property. Specify an array of string values to match this event if the actual value of payerId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
userArn
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder userArn(List<String> userArn) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getUserArn()- Parameters:
userArn- userArn property. Specify an array of string values to match this event if the actual value of userArn 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.RequestParameters>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.RequestParameters - Throws:
NullPointerException- if any required attribute was not provided
-