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.Builder
TheS3Destination
object.s3
(S3Destination s3) TheS3Destination
object.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
-
Method Details
-
s3
The
S3Destination
object.- Parameters:
s3
- TheS3Destination
object.- 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 theS3Destination
object.S3Destination.Builder
avoiding the need to create one manually viaS3Destination.builder()
.When the
Consumer
completes,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:
-