Interface CreateAwsLogSourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAwsLogSourceRequest.Builder,
,CreateAwsLogSourceRequest> SdkBuilder<CreateAwsLogSourceRequest.Builder,
,CreateAwsLogSourceRequest> SdkPojo
,SdkRequest.Builder
,SecurityLakeRequest.Builder
- Enclosing class:
CreateAwsLogSourceRequest
@Mutable
@NotThreadSafe
public static interface CreateAwsLogSourceRequest.Builder
extends SecurityLakeRequest.Builder, SdkPojo, CopyableBuilder<CreateAwsLogSourceRequest.Builder,CreateAwsLogSourceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sources
(Collection<AwsLogSourceConfiguration> sources) Specify the natively-supported Amazon Web Services service to add as a source in Security Lake.sources
(Consumer<AwsLogSourceConfiguration.Builder>... sources) Specify the natively-supported Amazon Web Services service to add as a source in Security Lake.sources
(AwsLogSourceConfiguration... sources) Specify the natively-supported Amazon Web Services service to add as a source in Security Lake.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
-
sources
Specify the natively-supported Amazon Web Services service to add as a source in Security Lake.
- Parameters:
sources
- Specify the natively-supported Amazon Web Services service to add as a source in Security Lake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
Specify the natively-supported Amazon Web Services service to add as a source in Security Lake.
- Parameters:
sources
- Specify the natively-supported Amazon Web Services service to add as a source in Security Lake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
Specify the natively-supported Amazon Web Services service to add as a source in Security Lake.
This is a convenience method that creates an instance of theAwsLogSourceConfiguration.Builder
avoiding the need to create one manually viaAwsLogSourceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosources(List<AwsLogSourceConfiguration>)
.- Parameters:
sources
- a consumer that will call methods onAwsLogSourceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAwsLogSourceRequest.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
CreateAwsLogSourceRequest.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.
-