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.Builder
backupPlan
(Consumer<BackupPlanInput.Builder> backupPlan) Specifies the body of a backup plan.backupPlan
(BackupPlanInput backupPlan) Specifies the body of a backup plan.backupPlanId
(String backupPlanId) Uniquely identifies a 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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
backupPlanId
Uniquely identifies a backup plan.
- Parameters:
backupPlanId
- Uniquely identifies a backup plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlan
Specifies the body of a backup plan. Includes a
BackupPlanName
and one or more sets ofRules
.- Parameters:
backupPlan
- Specifies the body of a backup plan. Includes aBackupPlanName
and one or more sets ofRules
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlan
Specifies the body of a backup plan. Includes a
This is a convenience method that creates an instance of theBackupPlanName
and one or more sets ofRules
.BackupPlanInput.Builder
avoiding the need to create one manually viaBackupPlanInput.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-