public static interface CreateBackupPlanRequest.Builder extends BackupRequest.Builder, SdkPojo, CopyableBuilder<CreateBackupPlanRequest.Builder,CreateBackupPlanRequest>
Modifier and Type | Method and Description |
---|---|
CreateBackupPlanRequest.Builder |
backupPlan(BackupPlanInput backupPlan)
Specifies the body of a backup plan.
|
default CreateBackupPlanRequest.Builder |
backupPlan(Consumer<BackupPlanInput.Builder> backupPlan)
Specifies the body of a backup plan.
|
CreateBackupPlanRequest.Builder |
backupPlanTags(Map<String,String> backupPlanTags)
To help organize your resources, you can assign your own metadata to the resources that you create.
|
CreateBackupPlanRequest.Builder |
creatorRequestId(String creatorRequestId)
Identifies the request and allows failed requests to be retried without the risk of running the operation
twice.
|
CreateBackupPlanRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateBackupPlanRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateBackupPlanRequest.Builder backupPlan(BackupPlanInput backupPlan)
Specifies the body of a backup plan. Includes a BackupPlanName
and one or more sets of
Rules
.
backupPlan
- Specifies the body of a backup plan. Includes a BackupPlanName
and one or more sets of
Rules
.default CreateBackupPlanRequest.Builder backupPlan(Consumer<BackupPlanInput.Builder> backupPlan)
Specifies the body of a backup plan. Includes a BackupPlanName
and one or more sets of
Rules
.
BackupPlanInput.Builder
avoiding the need to
create one manually via BackupPlanInput.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to backupPlan(BackupPlanInput)
.backupPlan
- a consumer that will call methods on BackupPlanInput.Builder
backupPlan(BackupPlanInput)
CreateBackupPlanRequest.Builder backupPlanTags(Map<String,String> backupPlanTags)
To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.
backupPlanTags
- To help organize your resources, you can assign your own metadata to the resources that you create.
Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.CreateBackupPlanRequest.Builder creatorRequestId(String creatorRequestId)
Identifies the request and allows failed requests to be retried without the risk of running the operation
twice. If the request includes a CreatorRequestId
that matches an existing backup plan, that
plan is returned. This parameter is optional.
creatorRequestId
- Identifies the request and allows failed requests to be retried without the risk of running the
operation twice. If the request includes a CreatorRequestId
that matches an existing
backup plan, that plan is returned. This parameter is optional.CreateBackupPlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateBackupPlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.