Class RepositoryEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecr.events.RepositoryEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RepositoryEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem>
- Enclosing interface:
RepositoryEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem
@Stability(Experimental)
public static final class RepositoryEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder
extends Object
implements software.amazon.jsii.Builder<RepositoryEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Experimental) public RepositoryEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder accountId(List<String> accountId) Sets the value ofRepositoryEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.getAccountId()- Parameters:
accountId- accountId property. Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
arn
@Stability(Experimental) public RepositoryEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder arn(List<String> arn) - Parameters:
arn- ARN property. Specify an array of string values to match this event if the actual value of ARN is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public RepositoryEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RepositoryEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem>- Returns:
- a new instance of
RepositoryEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem - Throws:
NullPointerException- if any required attribute was not provided
-