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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateBackupSelectionRequest.BuilderbackupPlanId(String backupPlanId)Uniquely identifies the backup plan to be associated with the selection of resources.default CreateBackupSelectionRequest.BuilderbackupSelection(Consumer<BackupSelection.Builder> backupSelection)Specifies the body of a request to assign a set of resources to a backup plan.CreateBackupSelectionRequest.BuilderbackupSelection(BackupSelection backupSelection)Specifies the body of a request to assign a set of resources to a backup plan.CreateBackupSelectionRequest.BuildercreatorRequestId(String creatorRequestId)A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.CreateBackupSelectionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateBackupSelectionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
backupPlanId
CreateBackupSelectionRequest.Builder backupPlanId(String 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
CreateBackupSelectionRequest.Builder backupSelection(BackupSelection 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.Builderavoiding the need to create one manually viaBackupSelection.builder().When the
Consumercompletes,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:
backupSelection(BackupSelection)
-
creatorRequestId
CreateBackupSelectionRequest.Builder 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. 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBackupSelectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-