Interface Destination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Destination.Builder,,Destination> SdkBuilder<Destination.Builder,,Destination> SdkPojo
- Enclosing class:
Destination
public static interface Destination.Builder
extends SdkPojo, CopyableBuilder<Destination.Builder,Destination>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Destination.BuilderTheS3Destinationobject.s3(S3Destination s3) TheS3Destinationobject.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
The
S3Destinationobject.- Parameters:
s3- TheS3Destinationobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The
This is a convenience method that creates an instance of theS3Destinationobject.S3Destination.Builderavoiding the need to create one manually viaS3Destination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3Destination).- Parameters:
s3- a consumer that will call methods onS3Destination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-