Interface CreateSubscriberRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSubscriberRequest.Builder,
,CreateSubscriberRequest> SdkBuilder<CreateSubscriberRequest.Builder,
,CreateSubscriberRequest> SdkPojo
,SdkRequest.Builder
,SecurityLakeRequest.Builder
- Enclosing class:
CreateSubscriberRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccessTypes
(Collection<AccessType> accessTypes) The Amazon S3 or Lake Formation access type.accessTypes
(AccessType... accessTypes) The Amazon S3 or Lake Formation access type.accessTypesWithStrings
(String... accessTypes) The Amazon S3 or Lake Formation access type.accessTypesWithStrings
(Collection<String> accessTypes) The Amazon S3 or Lake Formation access type.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sources
(Collection<LogSourceResource> sources) The supported Amazon Web Services services from which logs and events are collected.sources
(Consumer<LogSourceResource.Builder>... sources) The supported Amazon Web Services services from which logs and events are collected.sources
(LogSourceResource... sources) The supported Amazon Web Services services from which logs and events are collected.subscriberDescription
(String subscriberDescription) The description for your subscriber account in Security Lake.default CreateSubscriberRequest.Builder
subscriberIdentity
(Consumer<AwsIdentity.Builder> subscriberIdentity) The Amazon Web Services identity used to access your data.subscriberIdentity
(AwsIdentity subscriberIdentity) The Amazon Web Services identity used to access your data.subscriberName
(String subscriberName) The name of your Security Lake subscriber account.tags
(Collection<Tag> tags) An array of objects, one for each tag to associate with the subscriber.tags
(Consumer<Tag.Builder>... tags) An array of objects, one for each tag to associate with the subscriber.An array of objects, one for each tag to associate with the subscriber.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.securitylake.model.SecurityLakeRequest.Builder
build
-
Method Details
-
accessTypesWithStrings
The Amazon S3 or Lake Formation access type.
- Parameters:
accessTypes
- The Amazon S3 or Lake Formation access type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessTypesWithStrings
The Amazon S3 or Lake Formation access type.
- Parameters:
accessTypes
- The Amazon S3 or Lake Formation access type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessTypes
The Amazon S3 or Lake Formation access type.
- Parameters:
accessTypes
- The Amazon S3 or Lake Formation access type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessTypes
The Amazon S3 or Lake Formation access type.
- Parameters:
accessTypes
- The Amazon S3 or Lake Formation access type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The supported Amazon Web Services services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services services.
- Parameters:
sources
- The supported Amazon Web Services services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The supported Amazon Web Services services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services services.
- Parameters:
sources
- The supported Amazon Web Services services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The supported Amazon Web Services services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services services.
This is a convenience method that creates an instance of theLogSourceResource.Builder
avoiding the need to create one manually viaLogSourceResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<LogSourceResource>)
.- Parameters:
sources
- a consumer that will call methods onLogSourceResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subscriberDescription
The description for your subscriber account in Security Lake.
- Parameters:
subscriberDescription
- The description for your subscriber account in Security Lake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriberIdentity
The Amazon Web Services identity used to access your data.
- Parameters:
subscriberIdentity
- The Amazon Web Services identity used to access your data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriberIdentity
default CreateSubscriberRequest.Builder subscriberIdentity(Consumer<AwsIdentity.Builder> subscriberIdentity) The Amazon Web Services identity used to access your data.
This is a convenience method that creates an instance of theAwsIdentity.Builder
avoiding the need to create one manually viaAwsIdentity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubscriberIdentity(AwsIdentity)
.- Parameters:
subscriberIdentity
- a consumer that will call methods onAwsIdentity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subscriberName
The name of your Security Lake subscriber account.
- Parameters:
subscriberName
- The name of your Security Lake subscriber account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateSubscriberRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSubscriberRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-