Interface CreateCustomLogSourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateCustomLogSourceRequest.Builder,
,CreateCustomLogSourceRequest> SdkBuilder<CreateCustomLogSourceRequest.Builder,
,CreateCustomLogSourceRequest> SdkPojo
,SdkRequest.Builder
,SecurityLakeRequest.Builder
- Enclosing class:
CreateCustomLogSourceRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(Consumer<CustomLogSourceConfiguration.Builder> configuration) The configuration used for the third-party custom source.configuration
(CustomLogSourceConfiguration configuration) The configuration used for the third-party custom source.eventClasses
(String... eventClasses) The Open Cybersecurity Schema Framework (OCSF) event classes which describes the type of data that the custom source will send to Security Lake.eventClasses
(Collection<String> eventClasses) The Open Cybersecurity Schema Framework (OCSF) event classes which describes the type of data that the custom source will send to Security Lake.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceName
(String sourceName) Specify the name for a third-party custom source.sourceVersion
(String sourceVersion) Specify the source version for the third-party custom source, to limit log collection to a specific version of custom data source.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
-
configuration
The configuration used for the third-party custom source.
- Parameters:
configuration
- The configuration used for the third-party custom source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateCustomLogSourceRequest.Builder configuration(Consumer<CustomLogSourceConfiguration.Builder> configuration) The configuration used for the third-party custom source.
This is a convenience method that creates an instance of theCustomLogSourceConfiguration.Builder
avoiding the need to create one manually viaCustomLogSourceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(CustomLogSourceConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onCustomLogSourceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventClasses
The Open Cybersecurity Schema Framework (OCSF) event classes which describes the type of data that the custom source will send to Security Lake. For the list of supported event classes, see the Amazon Security Lake User Guide.
- Parameters:
eventClasses
- The Open Cybersecurity Schema Framework (OCSF) event classes which describes the type of data that the custom source will send to Security Lake. For the list of supported event classes, see the Amazon Security Lake User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventClasses
The Open Cybersecurity Schema Framework (OCSF) event classes which describes the type of data that the custom source will send to Security Lake. For the list of supported event classes, see the Amazon Security Lake User Guide.
- Parameters:
eventClasses
- The Open Cybersecurity Schema Framework (OCSF) event classes which describes the type of data that the custom source will send to Security Lake. For the list of supported event classes, see the Amazon Security Lake User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceName
Specify the name for a third-party custom source. This must be a Regionally unique value. The
sourceName
you enter here, is used in theLogProviderRole
name which follows the conventionAmazonSecurityLake-Provider-{name of the custom source}-{region}
. You must use aCustomLogSource
name that is shorter than or equal to 20 characters. This ensures that theLogProviderRole
name is below the 64 character limit.- Parameters:
sourceName
- Specify the name for a third-party custom source. This must be a Regionally unique value. ThesourceName
you enter here, is used in theLogProviderRole
name which follows the conventionAmazonSecurityLake-Provider-{name of the custom source}-{region}
. You must use aCustomLogSource
name that is shorter than or equal to 20 characters. This ensures that theLogProviderRole
name is below the 64 character limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceVersion
Specify the source version for the third-party custom source, to limit log collection to a specific version of custom data source.
- Parameters:
sourceVersion
- Specify the source version for the third-party custom source, to limit log collection to a specific version of custom data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCustomLogSourceRequest.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
CreateCustomLogSourceRequest.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.
-