Class KeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.kms.events.KeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem>
- Enclosing interface:
KeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem
@Stability(Experimental)
public static final class KeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder
extends Object
implements software.amazon.jsii.Builder<KeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofKeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.getArn()build()Builds the configured instance.Sets the value ofKeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Experimental) public KeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder accountId(List<String> accountId) - 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 KeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder arn(List<String> arn) Sets the value ofKeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.getArn()- 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
-
type
@Stability(Experimental) public KeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.Builder type(List<String> type) Sets the value ofKeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem.getType()- Parameters:
type- type property. Specify an array of string values to match this event if the actual value of type 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 KeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem>- Returns:
- a new instance of
KeyEvents.AWSAPICallViaCloudTrail.AwsapiCallViaCloudTrailItem - Throws:
NullPointerException- if any required attribute was not provided
-