Class CfnSubscriberProps.Builder
java.lang.Object
software.amazon.awscdk.services.securitylake.CfnSubscriberProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscriberProps>
- Enclosing interface:
CfnSubscriberProps
@Stability(Stable)
public static final class CfnSubscriberProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubscriberProps>
A builder for
CfnSubscriberProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccessTypes
(List<String> accessTypes) Sets the value ofCfnSubscriberProps.getAccessTypes()
build()
Builds the configured instance.dataLakeArn
(String dataLakeArn) Sets the value ofCfnSubscriberProps.getDataLakeArn()
Sets the value ofCfnSubscriberProps.getSources()
sources
(IResolvable sources) Sets the value ofCfnSubscriberProps.getSources()
subscriberDescription
(String subscriberDescription) Sets the value ofCfnSubscriberProps.getSubscriberDescription()
subscriberIdentity
(IResolvable subscriberIdentity) Sets the value ofCfnSubscriberProps.getSubscriberIdentity()
subscriberIdentity
(CfnSubscriber.SubscriberIdentityProperty subscriberIdentity) Sets the value ofCfnSubscriberProps.getSubscriberIdentity()
subscriberName
(String subscriberName) Sets the value ofCfnSubscriberProps.getSubscriberName()
Sets the value ofCfnSubscriberProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessTypes
Sets the value ofCfnSubscriberProps.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. This parameter is required. 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 ofCfnSubscriberProps.getDataLakeArn()
- Parameters:
dataLakeArn
- The Amazon Resource Name (ARN) used to create the data lake. This parameter is required.- Returns:
this
-
sources
Sets the value ofCfnSubscriberProps.getSources()
- Parameters:
sources
- Amazon Security Lake supports log and event collection for natively supported AWS services . This parameter is required. For more information, see the Amazon Security Lake User Guide .- Returns:
this
-
sources
Sets the value ofCfnSubscriberProps.getSources()
- Parameters:
sources
- Amazon Security Lake supports log and event collection for natively supported AWS services . This parameter is required. For more information, see the Amazon Security Lake User Guide .- Returns:
this
-
subscriberIdentity
@Stability(Stable) public CfnSubscriberProps.Builder subscriberIdentity(IResolvable subscriberIdentity) Sets the value ofCfnSubscriberProps.getSubscriberIdentity()
- Parameters:
subscriberIdentity
- The AWS identity used to access your data. This parameter is required.- Returns:
this
-
subscriberIdentity
@Stability(Stable) public CfnSubscriberProps.Builder subscriberIdentity(CfnSubscriber.SubscriberIdentityProperty subscriberIdentity) Sets the value ofCfnSubscriberProps.getSubscriberIdentity()
- Parameters:
subscriberIdentity
- The AWS identity used to access your data. This parameter is required.- Returns:
this
-
subscriberName
Sets the value ofCfnSubscriberProps.getSubscriberName()
- Parameters:
subscriberName
- The name of your Amazon Security Lake subscriber account. This parameter is required.- Returns:
this
-
subscriberDescription
@Stability(Stable) public CfnSubscriberProps.Builder subscriberDescription(String subscriberDescription) Sets the value ofCfnSubscriberProps.getSubscriberDescription()
- Parameters:
subscriberDescription
- The subscriber descriptions for a subscriber account. The description for a subscriber includessubscriberName
,accountID
,externalID
, andsubscriberId
.- Returns:
this
-
tags
Sets the value ofCfnSubscriberProps.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnSubscriberProps>
- Returns:
- a new instance of
CfnSubscriberProps
- Throws:
NullPointerException
- if any required attribute was not provided
-