public static interface GetBackupPlanResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<GetBackupPlanResponse.Builder,GetBackupPlanResponse>
Modifier and Type | Method and Description |
---|---|
GetBackupPlanResponse.Builder |
advancedBackupSettings(AdvancedBackupSetting... advancedBackupSettings)
Contains a list of
BackupOptions for each resource type. |
GetBackupPlanResponse.Builder |
advancedBackupSettings(Collection<AdvancedBackupSetting> advancedBackupSettings)
Contains a list of
BackupOptions for each resource type. |
GetBackupPlanResponse.Builder |
advancedBackupSettings(Consumer<AdvancedBackupSetting.Builder>... advancedBackupSettings)
Contains a list of
BackupOptions for each resource type. |
GetBackupPlanResponse.Builder |
backupPlan(BackupPlan backupPlan)
Specifies the body of a backup plan.
|
default GetBackupPlanResponse.Builder |
backupPlan(Consumer<BackupPlan.Builder> backupPlan)
Specifies the body of a backup plan.
|
GetBackupPlanResponse.Builder |
backupPlanArn(String backupPlanArn)
An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example,
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50 . |
GetBackupPlanResponse.Builder |
backupPlanId(String backupPlanId)
Uniquely identifies a backup plan.
|
GetBackupPlanResponse.Builder |
creationDate(Instant creationDate)
The date and time that a backup plan is created, in Unix format and Coordinated Universal Time (UTC).
|
GetBackupPlanResponse.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.
|
GetBackupPlanResponse.Builder |
deletionDate(Instant deletionDate)
The date and time that a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC).
|
GetBackupPlanResponse.Builder |
lastExecutionDate(Instant lastExecutionDate)
The last time a job to back up resources was run with this backup plan.
|
GetBackupPlanResponse.Builder |
versionId(String versionId)
Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetBackupPlanResponse.Builder backupPlan(BackupPlan 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 GetBackupPlanResponse.Builder backupPlan(Consumer<BackupPlan.Builder> backupPlan)
Specifies the body of a backup plan. Includes a BackupPlanName
and one or more sets of
Rules
.
BackupPlan.Builder
avoiding the need to create
one manually via BackupPlan.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to backupPlan(BackupPlan)
.backupPlan
- a consumer that will call methods on BackupPlan.Builder
backupPlan(BackupPlan)
GetBackupPlanResponse.Builder backupPlanId(String backupPlanId)
Uniquely identifies a backup plan.
backupPlanId
- Uniquely identifies a backup plan.GetBackupPlanResponse.Builder backupPlanArn(String backupPlanArn)
An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example,
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.
backupPlanArn
- An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example,
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.GetBackupPlanResponse.Builder versionId(String versionId)
Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.
versionId
- Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version
IDs cannot be edited.GetBackupPlanResponse.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.
creatorRequestId
- A unique string that identifies the request and allows failed requests to be retried without the risk
of running the operation twice.GetBackupPlanResponse.Builder creationDate(Instant creationDate)
The date and time that a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The
value of CreationDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
creationDate
- The date and time that a backup plan is created, in Unix format and Coordinated Universal Time (UTC).
The value of CreationDate
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.GetBackupPlanResponse.Builder deletionDate(Instant deletionDate)
The date and time that a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The
value of DeletionDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
deletionDate
- The date and time that a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC).
The value of DeletionDate
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.GetBackupPlanResponse.Builder lastExecutionDate(Instant lastExecutionDate)
The last time a job to back up resources was run with this backup plan. A date and time, in Unix format and
Coordinated Universal Time (UTC). The value of LastExecutionDate
is accurate to milliseconds.
For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
lastExecutionDate
- The last time a job to back up resources was run with this backup plan. A date and time, in Unix
format and Coordinated Universal Time (UTC). The value of LastExecutionDate
is accurate
to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018
12:11:30.087 AM.GetBackupPlanResponse.Builder advancedBackupSettings(Collection<AdvancedBackupSetting> advancedBackupSettings)
Contains a list of BackupOptions
for each resource type. The list is populated only if the
advanced option is set for the backup plan.
advancedBackupSettings
- Contains a list of BackupOptions
for each resource type. The list is populated only if
the advanced option is set for the backup plan.GetBackupPlanResponse.Builder advancedBackupSettings(AdvancedBackupSetting... advancedBackupSettings)
Contains a list of BackupOptions
for each resource type. The list is populated only if the
advanced option is set for the backup plan.
advancedBackupSettings
- Contains a list of BackupOptions
for each resource type. The list is populated only if
the advanced option is set for the backup plan.GetBackupPlanResponse.Builder advancedBackupSettings(Consumer<AdvancedBackupSetting.Builder>... advancedBackupSettings)
Contains a list of BackupOptions
for each resource type. The list is populated only if the
advanced option is set for the backup plan.
List.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #advancedBackupSettings(List)
.advancedBackupSettings
- a consumer that will call methods on List.Builder
#advancedBackupSettings(List)
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.