Interface LogSourceResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LogSourceResource.Builder,
,LogSourceResource> SdkBuilder<LogSourceResource.Builder,
,LogSourceResource> SdkPojo
- Enclosing class:
LogSourceResource
-
Method Summary
Modifier and TypeMethodDescriptiondefault LogSourceResource.Builder
awsLogSource
(Consumer<AwsLogSourceResource.Builder> awsLogSource) Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.awsLogSource
(AwsLogSourceResource awsLogSource) Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.default LogSourceResource.Builder
customLogSource
(Consumer<CustomLogSourceResource.Builder> customLogSource) Amazon Security Lake supports custom source types.customLogSource
(CustomLogSourceResource customLogSource) Amazon Security Lake supports custom source types.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, sdkFields
-
Method Details
-
awsLogSource
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.
- Parameters:
awsLogSource
- Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsLogSource
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.
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 toawsLogSource(AwsLogSourceResource)
.- Parameters:
awsLogSource
- 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:
-
customLogSource
Amazon Security Lake supports custom source types. For more information, see the Amazon Security Lake User Guide.
- Parameters:
customLogSource
- Amazon Security Lake supports custom source types. For more information, see the Amazon Security Lake User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customLogSource
default LogSourceResource.Builder customLogSource(Consumer<CustomLogSourceResource.Builder> customLogSource) Amazon Security Lake supports custom source types. For more information, see the Amazon Security Lake User Guide.
This is a convenience method that creates an instance of theCustomLogSourceResource.Builder
avoiding the need to create one manually viaCustomLogSourceResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomLogSource(CustomLogSourceResource)
.- Parameters:
customLogSource
- a consumer that will call methods onCustomLogSourceResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-