Interface DataLakeAutoEnableNewAccountConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataLakeAutoEnableNewAccountConfiguration.Builder,
,DataLakeAutoEnableNewAccountConfiguration> SdkBuilder<DataLakeAutoEnableNewAccountConfiguration.Builder,
,DataLakeAutoEnableNewAccountConfiguration> SdkPojo
- Enclosing class:
DataLakeAutoEnableNewAccountConfiguration
@Mutable
@NotThreadSafe
public static interface DataLakeAutoEnableNewAccountConfiguration.Builder
extends SdkPojo, CopyableBuilder<DataLakeAutoEnableNewAccountConfiguration.Builder,DataLakeAutoEnableNewAccountConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services Regions where Security Lake is automatically enabled.sources
(Collection<AwsLogSourceResource> sources) The Amazon Web Services sources that are automatically enabled in Security Lake.sources
(Consumer<AwsLogSourceResource.Builder>... sources) The Amazon Web Services sources that are automatically enabled in Security Lake.sources
(AwsLogSourceResource... sources) The Amazon Web Services sources that are automatically enabled in Security Lake.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
-
Method Details
-
region
The Amazon Web Services Regions where Security Lake is automatically enabled.
- Parameters:
region
- The Amazon Web Services Regions where Security Lake is automatically enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The Amazon Web Services sources that are automatically enabled in Security Lake.
- Parameters:
sources
- The Amazon Web Services sources that are automatically enabled in Security Lake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
The Amazon Web Services sources that are automatically enabled in Security Lake.
- Parameters:
sources
- The Amazon Web Services sources that are automatically enabled in Security Lake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
DataLakeAutoEnableNewAccountConfiguration.Builder sources(Consumer<AwsLogSourceResource.Builder>... sources) The Amazon Web Services sources that are automatically enabled in Security Lake.
This is a convenience method that creates an instance of theAwsLogSourceResource.Builder
avoiding the need to create one manually viaAwsLogSourceResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<AwsLogSourceResource>)
.- Parameters:
sources
- a consumer that will call methods onAwsLogSourceResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-