Interface DestinationDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DestinationDetail.Builder,,DestinationDetail> SdkBuilder<DestinationDetail.Builder,,DestinationDetail> SdkPojo
- Enclosing class:
DestinationDetail
public static interface DestinationDetail.Builder
extends SdkPojo, CopyableBuilder<DestinationDetail.Builder,DestinationDetail>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DestinationDetail.Builders3(Consumer<S3Detail.Builder> s3) An S3 detail object to return information about the S3 destination.An S3 detail object to return information about the S3 destination.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
-
s3
An S3 detail object to return information about the S3 destination.
- Parameters:
s3- An S3 detail object to return information about the S3 destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
An S3 detail object to return information about the S3 destination.
This is a convenience method that creates an instance of theS3Detail.Builderavoiding the need to create one manually viaS3Detail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3Detail).- Parameters:
s3- a consumer that will call methods onS3Detail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-