Interface CreateCustomLogSourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCustomLogSourceRequest.Builder,CreateCustomLogSourceRequest>,SdkBuilder<CreateCustomLogSourceRequest.Builder,CreateCustomLogSourceRequest>,SdkPojo,SdkRequest.Builder,SecurityLakeRequest.Builder
- Enclosing class:
- CreateCustomLogSourceRequest
public static interface CreateCustomLogSourceRequest.Builder extends SecurityLakeRequest.Builder, SdkPojo, CopyableBuilder<CreateCustomLogSourceRequest.Builder,CreateCustomLogSourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateCustomLogSourceRequest.Builderconfiguration(Consumer<CustomLogSourceConfiguration.Builder> configuration)The configuration used for the third-party custom source.CreateCustomLogSourceRequest.Builderconfiguration(CustomLogSourceConfiguration configuration)The configuration used for the third-party custom source.CreateCustomLogSourceRequest.BuildereventClasses(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.CreateCustomLogSourceRequest.BuildereventClasses(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.CreateCustomLogSourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCustomLogSourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateCustomLogSourceRequest.BuildersourceName(String sourceName)Specify the name for a third-party custom source.CreateCustomLogSourceRequest.BuildersourceVersion(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 Detail
-
configuration
CreateCustomLogSourceRequest.Builder configuration(CustomLogSourceConfiguration 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.Builderavoiding the need to create one manually viaCustomLogSourceConfiguration.builder().When the
Consumercompletes,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:
configuration(CustomLogSourceConfiguration)
-
eventClasses
CreateCustomLogSourceRequest.Builder 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. 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
CreateCustomLogSourceRequest.Builder 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. 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
CreateCustomLogSourceRequest.Builder sourceName(String sourceName)
Specify the name for a third-party custom source. This must be a Regionally unique value. The
sourceNameyou enter here, is used in theLogProviderRolename which follows the conventionAmazonSecurityLake-Provider-{name of the custom source}-{region}. You must use aCustomLogSourcename that is shorter than or equal to 20 characters. This ensures that theLogProviderRolename is below the 64 character limit.- Parameters:
sourceName- Specify the name for a third-party custom source. This must be a Regionally unique value. ThesourceNameyou enter here, is used in theLogProviderRolename which follows the conventionAmazonSecurityLake-Provider-{name of the custom source}-{region}. You must use aCustomLogSourcename that is shorter than or equal to 20 characters. This ensures that theLogProviderRolename is below the 64 character limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceVersion
CreateCustomLogSourceRequest.Builder 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.
- 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCustomLogSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-