Class CfnSubscriberMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securitylake.CfnSubscriberMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscriberMixinProps>
- Enclosing interface:
CfnSubscriberMixinProps
@Stability(Stable)
public static final class CfnSubscriberMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubscriberMixinProps>
A builder for
CfnSubscriberMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessTypes(List<String> accessTypes) Sets the value ofCfnSubscriberMixinProps.getAccessTypes()build()Builds the configured instance.dataLakeArn(String dataLakeArn) Sets the value ofCfnSubscriberMixinProps.getDataLakeArn()Sets the value ofCfnSubscriberMixinProps.getSources()sources(IResolvable sources) Sets the value ofCfnSubscriberMixinProps.getSources()subscriberDescription(String subscriberDescription) Sets the value ofCfnSubscriberMixinProps.getSubscriberDescription()subscriberIdentity(CfnSubscriberPropsMixin.SubscriberIdentityProperty subscriberIdentity) Sets the value ofCfnSubscriberMixinProps.getSubscriberIdentity()subscriberIdentity(IResolvable subscriberIdentity) Sets the value ofCfnSubscriberMixinProps.getSubscriberIdentity()subscriberName(String subscriberName) Sets the value ofCfnSubscriberMixinProps.getSubscriberName()Sets the value ofCfnSubscriberMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessTypes
Sets the value ofCfnSubscriberMixinProps.getAccessTypes()- Parameters:
accessTypes- You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber. Subscribers can consume data by directly querying AWS Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined asLAKEFORMATION.- Returns:
this
-
dataLakeArn
Sets the value ofCfnSubscriberMixinProps.getDataLakeArn()- Parameters:
dataLakeArn- The Amazon Resource Name (ARN) used to create the data lake.- Returns:
this
-
sources
Sets the value ofCfnSubscriberMixinProps.getSources()- Parameters:
sources- Amazon Security Lake supports log and event collection for natively supported AWS services . For more information, see the Amazon Security Lake User Guide .- Returns:
this
-
sources
Sets the value ofCfnSubscriberMixinProps.getSources()- Parameters:
sources- Amazon Security Lake supports log and event collection for natively supported AWS services . For more information, see the Amazon Security Lake User Guide .- Returns:
this
-
subscriberDescription
@Stability(Stable) public CfnSubscriberMixinProps.Builder subscriberDescription(String subscriberDescription) Sets the value ofCfnSubscriberMixinProps.getSubscriberDescription()- Parameters:
subscriberDescription- The subscriber descriptions for a subscriber account. The description for a subscriber includessubscriberName,accountID,externalID, andsubscriberId.- Returns:
this
-
subscriberIdentity
@Stability(Stable) public CfnSubscriberMixinProps.Builder subscriberIdentity(IResolvable subscriberIdentity) Sets the value ofCfnSubscriberMixinProps.getSubscriberIdentity()- Parameters:
subscriberIdentity- The AWS identity used to access your data.- Returns:
this
-
subscriberIdentity
@Stability(Stable) public CfnSubscriberMixinProps.Builder subscriberIdentity(CfnSubscriberPropsMixin.SubscriberIdentityProperty subscriberIdentity) Sets the value ofCfnSubscriberMixinProps.getSubscriberIdentity()- Parameters:
subscriberIdentity- The AWS identity used to access your data.- Returns:
this
-
subscriberName
Sets the value ofCfnSubscriberMixinProps.getSubscriberName()- Parameters:
subscriberName- The name of your Amazon Security Lake subscriber account.- Returns:
this
-
tags
Sets the value ofCfnSubscriberMixinProps.getTags()- Parameters:
tags- An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubscriberMixinProps>- Returns:
- a new instance of
CfnSubscriberMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-