Interface SizingStandardBackupConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SizingStandardBackupConfiguration.Builder,,SizingStandardBackupConfiguration> SdkBuilder<SizingStandardBackupConfiguration.Builder,,SizingStandardBackupConfiguration> SdkPojo
- Enclosing class:
SizingStandardBackupConfiguration
@Mutable
@NotThreadSafe
public static interface SizingStandardBackupConfiguration.Builder
extends SdkPojo, CopyableBuilder<SizingStandardBackupConfiguration.Builder,SizingStandardBackupConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionbackupRules(Collection<SizingBackupRule> backupRules) The backup rules used in the sizing calculation.backupRules(Consumer<SizingBackupRule.Builder>... backupRules) The backup rules used in the sizing calculation.backupRules(SizingBackupRule... backupRules) The backup rules used in the sizing calculation.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
-
backupRules
The backup rules used in the sizing calculation.
- Parameters:
backupRules- The backup rules used in the sizing calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupRules
The backup rules used in the sizing calculation.
- Parameters:
backupRules- The backup rules used in the sizing calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupRules
SizingStandardBackupConfiguration.Builder backupRules(Consumer<SizingBackupRule.Builder>... backupRules) The backup rules used in the sizing calculation.
This is a convenience method that creates an instance of theSizingBackupRule.Builderavoiding the need to create one manually viaSizingBackupRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackupRules(List<SizingBackupRule>).- Parameters:
backupRules- a consumer that will call methods onSizingBackupRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-