Interface CreateCustomLogSourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateCustomLogSourceResponse.Builder,
,CreateCustomLogSourceResponse> SdkBuilder<CreateCustomLogSourceResponse.Builder,
,CreateCustomLogSourceResponse> SdkPojo
,SdkResponse.Builder
,SecurityLakeResponse.Builder
- Enclosing class:
CreateCustomLogSourceResponse
@Mutable
@NotThreadSafe
public static interface CreateCustomLogSourceResponse.Builder
extends SecurityLakeResponse.Builder, SdkPojo, CopyableBuilder<CreateCustomLogSourceResponse.Builder,CreateCustomLogSourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe third-party custom source that was created.source
(CustomLogSourceResource source) The third-party custom source that was created.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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.securitylake.model.SecurityLakeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
source
The third-party custom source that was created.
- Parameters:
source
- The third-party custom source that was created.- 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 third-party custom source that was created.
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 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:
-