Class CfnEventDataStorePropsMixin.ContextKeySelectorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudtrail.CfnEventDataStorePropsMixin.ContextKeySelectorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventDataStorePropsMixin.ContextKeySelectorProperty>
- Enclosing interface:
CfnEventDataStorePropsMixin.ContextKeySelectorProperty
@Stability(Stable)
public static final class CfnEventDataStorePropsMixin.ContextKeySelectorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventDataStorePropsMixin.ContextKeySelectorProperty>
A builder for
CfnEventDataStorePropsMixin.ContextKeySelectorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnEventDataStorePropsMixin.ContextKeySelectorProperty.getEqualTo()Sets the value ofCfnEventDataStorePropsMixin.ContextKeySelectorProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
equalTo
@Stability(Stable) public CfnEventDataStorePropsMixin.ContextKeySelectorProperty.Builder equalTo(List<String> equalTo) Sets the value ofCfnEventDataStorePropsMixin.ContextKeySelectorProperty.getEqualTo()- Parameters:
equalTo- A list of keys defined by Type to be included in CloudTrail enriched events.- Returns:
this
-
type
@Stability(Stable) public CfnEventDataStorePropsMixin.ContextKeySelectorProperty.Builder type(String type) Sets the value ofCfnEventDataStorePropsMixin.ContextKeySelectorProperty.getType()- Parameters:
type- Specifies the type of the event record field in ContextKeySelector. Valid values include RequestContext, TagContext.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventDataStorePropsMixin.ContextKeySelectorProperty>- Returns:
- a new instance of
CfnEventDataStorePropsMixin.ContextKeySelectorProperty - Throws:
NullPointerException- if any required attribute was not provided
-