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
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.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:
-