Interface Destination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Destination.Builder,,Destination> SdkBuilder<Destination.Builder,,Destination> SdkPojo
- Enclosing class:
Destination
@Mutable
@NotThreadSafe
public static interface Destination.Builder
extends SdkPojo, CopyableBuilder<Destination.Builder,Destination>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Destination.Builders3Destination(Consumer<S3ConfigMap.Builder> s3Destination) Sets the value of the S3Destination property for this object.s3Destination(S3ConfigMap s3Destination) Sets the value of the S3Destination property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
s3Destination
Sets the value of the S3Destination property for this object.- Parameters:
s3Destination- The new value for the S3Destination property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destination
Sets the value of the S3Destination property for this object. This is a convenience method that creates an instance of theS3ConfigMap.Builderavoiding the need to create one manually viaS3ConfigMap.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Destination(S3ConfigMap).- Parameters:
s3Destination- a consumer that will call methods onS3ConfigMap.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-