Interface DestinationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DestinationConfiguration.Builder,,DestinationConfiguration> SdkBuilder<DestinationConfiguration.Builder,,DestinationConfiguration> SdkPojo
- Enclosing class:
DestinationConfiguration
@Mutable
@NotThreadSafe
public static interface DestinationConfiguration.Builder
extends SdkPojo, CopyableBuilder<DestinationConfiguration.Builder,DestinationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DestinationConfiguration.Builderdestination(Consumer<DestinationTypeConfiguration.Builder> destination) The destination that the hydrated context is written to.destination(DestinationTypeConfiguration destination) The destination that the hydrated context is written to.destinationType(String destinationType) The type of destination that the hydrated context is written to.destinationType(DestinationType destinationType) The type of destination that the hydrated context is written to.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
-
destinationType
The type of destination that the hydrated context is written to.
- Parameters:
destinationType- The type of destination that the hydrated context is written to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationType
The type of destination that the hydrated context is written to.
- Parameters:
destinationType- The type of destination that the hydrated context is written to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destination
The destination that the hydrated context is written to.
- Parameters:
destination- The destination that the hydrated context is written to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
default DestinationConfiguration.Builder destination(Consumer<DestinationTypeConfiguration.Builder> destination) The destination that the hydrated context is written to.
This is a convenience method that creates an instance of theDestinationTypeConfiguration.Builderavoiding the need to create one manually viaDestinationTypeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestination(DestinationTypeConfiguration).- Parameters:
destination- a consumer that will call methods onDestinationTypeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-