Interface PacingStrategy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PacingStrategy.Builder,,PacingStrategy> SdkBuilder<PacingStrategy.Builder,,PacingStrategy> SdkPojo
- Enclosing class:
PacingStrategy
@Mutable
@NotThreadSafe
public static interface PacingStrategy.Builder
extends SdkPojo, CopyableBuilder<PacingStrategy.Builder,PacingStrategy>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PacingStrategy.BuilderabandonmentRate(Consumer<AbandonmentRatePacingConfig.Builder> abandonmentRate) Sets the value of the AbandonmentRate property for this object.abandonmentRate(AbandonmentRatePacingConfig abandonmentRate) Sets the value of the AbandonmentRate 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
-
abandonmentRate
Sets the value of the AbandonmentRate property for this object.- Parameters:
abandonmentRate- The new value for the AbandonmentRate property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
abandonmentRate
default PacingStrategy.Builder abandonmentRate(Consumer<AbandonmentRatePacingConfig.Builder> abandonmentRate) Sets the value of the AbandonmentRate property for this object. This is a convenience method that creates an instance of theAbandonmentRatePacingConfig.Builderavoiding the need to create one manually viaAbandonmentRatePacingConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toabandonmentRate(AbandonmentRatePacingConfig).- Parameters:
abandonmentRate- a consumer that will call methods onAbandonmentRatePacingConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-