Interface LogSourceResource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LogSourceResource.Builder,LogSourceResource>,SdkBuilder<LogSourceResource.Builder,LogSourceResource>,SdkPojo
- Enclosing class:
- LogSourceResource
public static interface LogSourceResource.Builder extends SdkPojo, CopyableBuilder<LogSourceResource.Builder,LogSourceResource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LogSourceResource.BuilderawsLogSource(Consumer<AwsLogSourceResource.Builder> awsLogSource)Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.LogSourceResource.BuilderawsLogSource(AwsLogSourceResource awsLogSource)Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.default LogSourceResource.BuildercustomLogSource(Consumer<CustomLogSourceResource.Builder> customLogSource)Amazon Security Lake supports custom source types.LogSourceResource.BuildercustomLogSource(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 Detail
-
awsLogSource
LogSourceResource.Builder awsLogSource(AwsLogSourceResource 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
default LogSourceResource.Builder awsLogSource(Consumer<AwsLogSourceResource.Builder> 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.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:
awsLogSource(AwsLogSourceResource)
-
customLogSource
LogSourceResource.Builder customLogSource(CustomLogSourceResource 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:
customLogSource(CustomLogSourceResource)
-
-