Interface CreateBackupSelectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BackupRequest.Builder
,Buildable
,CopyableBuilder<CreateBackupSelectionRequest.Builder,
,CreateBackupSelectionRequest> SdkBuilder<CreateBackupSelectionRequest.Builder,
,CreateBackupSelectionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateBackupSelectionRequest
public static interface CreateBackupSelectionRequest.Builder
extends BackupRequest.Builder, SdkPojo, CopyableBuilder<CreateBackupSelectionRequest.Builder,CreateBackupSelectionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbackupPlanId
(String backupPlanId) Uniquely identifies the backup plan to be associated with the selection of resources.backupSelection
(Consumer<BackupSelection.Builder> backupSelection) Specifies the body of a request to assign a set of resources to a backup plan.backupSelection
(BackupSelection backupSelection) Specifies the body of a request to assign a set of resources to a backup plan.creatorRequestId
(String creatorRequestId) A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.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 the backup plan to be associated with the selection of resources.
- Parameters:
backupPlanId
- Uniquely identifies the backup plan to be associated with the selection of resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupSelection
Specifies the body of a request to assign a set of resources to a backup plan.
- Parameters:
backupSelection
- Specifies the body of a request to assign a set of resources to a backup plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupSelection
default CreateBackupSelectionRequest.Builder backupSelection(Consumer<BackupSelection.Builder> backupSelection) Specifies the body of a request to assign a set of resources to a backup plan.
This is a convenience method that creates an instance of theBackupSelection.Builder
avoiding the need to create one manually viaBackupSelection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobackupSelection(BackupSelection)
.- Parameters:
backupSelection
- a consumer that will call methods onBackupSelection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creatorRequestId
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
- Parameters:
creatorRequestId
- A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateBackupSelectionRequest.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
CreateBackupSelectionRequest.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.
-