Interface UpdateBackupPlanRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BackupRequest.Builder,Buildable,CopyableBuilder<UpdateBackupPlanRequest.Builder,,UpdateBackupPlanRequest> SdkBuilder<UpdateBackupPlanRequest.Builder,,UpdateBackupPlanRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateBackupPlanRequest
public static interface UpdateBackupPlanRequest.Builder
extends BackupRequest.Builder, SdkPojo, CopyableBuilder<UpdateBackupPlanRequest.Builder,UpdateBackupPlanRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateBackupPlanRequest.BuilderbackupPlan(Consumer<BackupPlanInput.Builder> backupPlan) The body of a backup plan.backupPlan(BackupPlanInput backupPlan) The body of a backup plan.backupPlanId(String backupPlanId) The ID of the backup plan.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.backup.model.BackupRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
backupPlanId
The ID of the backup plan.
- Parameters:
backupPlanId- The ID of the backup plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlan
The body of a backup plan. Includes a
BackupPlanNameand one or more sets ofRules.- Parameters:
backupPlan- The body of a backup plan. Includes aBackupPlanNameand one or more sets ofRules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlan
The body of a backup plan. Includes a
This is a convenience method that creates an instance of theBackupPlanNameand one or more sets ofRules.BackupPlanInput.Builderavoiding the need to create one manually viaBackupPlanInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackupPlan(BackupPlanInput).- Parameters:
backupPlan- a consumer that will call methods onBackupPlanInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateBackupPlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateBackupPlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-