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