Interface LogSourceResource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LogSourceResource.Builder,,LogSourceResource> SdkBuilder<LogSourceResource.Builder,,LogSourceResource> SdkPojo
- Enclosing class:
LogSourceResource
-
Method Summary
Modifier and TypeMethodDescriptiondefault LogSourceResource.BuilderawsLogSource(Consumer<AwsLogSourceResource.Builder> awsLogSource) Amazon Security Lake supports log and event collection for natively supported Amazon Web Services services.awsLogSource(AwsLogSourceResource awsLogSource) Amazon Security Lake supports log and event collection for natively supported Amazon Web Services services.default LogSourceResource.BuildercustomLogSource(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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 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 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 services. For more information, see the Amazon Security Lake User Guide.
This is a convenience method that creates an instance of theAwsLogSourceResource.Builderavoiding the need to create one manually viaAwsLogSourceResource.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaCustomLogSourceResource.builder().When the
Consumercompletes,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:
-