Interface CreateCustomLogSourceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateCustomLogSourceResponse.Builder,CreateCustomLogSourceResponse>,SdkBuilder<CreateCustomLogSourceResponse.Builder,CreateCustomLogSourceResponse>,SdkPojo,SdkResponse.Builder,SecurityLakeResponse.Builder
- Enclosing class:
- CreateCustomLogSourceResponse
public static interface CreateCustomLogSourceResponse.Builder extends SecurityLakeResponse.Builder, SdkPojo, CopyableBuilder<CreateCustomLogSourceResponse.Builder,CreateCustomLogSourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateCustomLogSourceResponse.Buildersource(Consumer<CustomLogSourceResource.Builder> source)The created third-party custom source.CreateCustomLogSourceResponse.Buildersource(CustomLogSourceResource source)The created third-party custom source.-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.securitylake.model.SecurityLakeResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
source
CreateCustomLogSourceResponse.Builder source(CustomLogSourceResource source)
The created third-party custom source.
- Parameters:
source- The created third-party custom source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default CreateCustomLogSourceResponse.Builder source(Consumer<CustomLogSourceResource.Builder> source)
The created third-party custom source.
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 tosource(CustomLogSourceResource).- Parameters:
source- 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:
source(CustomLogSourceResource)
-
-