Interface DestinationDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DestinationDetail.Builder,
,DestinationDetail> SdkBuilder<DestinationDetail.Builder,
,DestinationDetail> SdkPojo
- Enclosing class:
DestinationDetail
@Mutable
@NotThreadSafe
public static interface DestinationDetail.Builder
extends SdkPojo, CopyableBuilder<DestinationDetail.Builder,DestinationDetail>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DestinationDetail.Builder
s3
(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
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
-
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.Builder
avoiding the need to create one manually viaS3Detail.builder()
.When the
Consumer
completes,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:
-