public static interface AwsBackupBackupPlanRuleDetails.Builder extends SdkPojo, CopyableBuilder<AwsBackupBackupPlanRuleDetails.Builder,AwsBackupBackupPlanRuleDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsBackupBackupPlanRuleDetails.Builder |
completionWindowMinutes(Long completionWindowMinutes)
A value in minutes after a backup job is successfully started before it must be completed, or it is canceled
by Backup.
|
AwsBackupBackupPlanRuleDetails.Builder |
copyActions(AwsBackupBackupPlanRuleCopyActionsDetails... copyActions)
An array of
CopyAction objects, each of which contains details of the copy operation. |
AwsBackupBackupPlanRuleDetails.Builder |
copyActions(Collection<AwsBackupBackupPlanRuleCopyActionsDetails> copyActions)
An array of
CopyAction objects, each of which contains details of the copy operation. |
AwsBackupBackupPlanRuleDetails.Builder |
copyActions(Consumer<AwsBackupBackupPlanRuleCopyActionsDetails.Builder>... copyActions)
An array of
CopyAction objects, each of which contains details of the copy operation. |
AwsBackupBackupPlanRuleDetails.Builder |
enableContinuousBackup(Boolean enableContinuousBackup)
Specifies whether Backup creates continuous backups capable of point-in-time restore (PITR).
|
AwsBackupBackupPlanRuleDetails.Builder |
lifecycle(AwsBackupBackupPlanLifecycleDetails lifecycle)
Defines when a protected resource is transitioned to cold storage and when it expires.
|
default AwsBackupBackupPlanRuleDetails.Builder |
lifecycle(Consumer<AwsBackupBackupPlanLifecycleDetails.Builder> lifecycle)
Defines when a protected resource is transitioned to cold storage and when it expires.
|
AwsBackupBackupPlanRuleDetails.Builder |
ruleId(String ruleId)
Uniquely identifies a rule that is used to schedule the backup of a selection of resources.
|
AwsBackupBackupPlanRuleDetails.Builder |
ruleName(String ruleName)
A display name for a backup rule.
|
AwsBackupBackupPlanRuleDetails.Builder |
scheduleExpression(String scheduleExpression)
A cron expression in UTC specifying when Backup initiates a backup job.
|
AwsBackupBackupPlanRuleDetails.Builder |
startWindowMinutes(Long startWindowMinutes)
A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start
successfully.
|
AwsBackupBackupPlanRuleDetails.Builder |
targetBackupVault(String targetBackupVault)
The name of a logical container where backups are stored.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsBackupBackupPlanRuleDetails.Builder targetBackupVault(String targetBackupVault)
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the Amazon Web Services account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.
targetBackupVault - The name of a logical container where backups are stored. Backup vaults are identified by names that
are unique to the Amazon Web Services account used to create them and the Amazon Web Services Region
where they are created. They consist of letters, numbers, and hyphens.AwsBackupBackupPlanRuleDetails.Builder startWindowMinutes(Long startWindowMinutes)
A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully.
startWindowMinutes - A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start
successfully.AwsBackupBackupPlanRuleDetails.Builder scheduleExpression(String scheduleExpression)
A cron expression in UTC specifying when Backup initiates a backup job.
scheduleExpression - A cron expression in UTC specifying when Backup initiates a backup job.AwsBackupBackupPlanRuleDetails.Builder ruleName(String ruleName)
A display name for a backup rule. Must contain 1 to 50 alphanumeric or '-_.' characters.
ruleName - A display name for a backup rule. Must contain 1 to 50 alphanumeric or '-_.' characters.AwsBackupBackupPlanRuleDetails.Builder ruleId(String ruleId)
Uniquely identifies a rule that is used to schedule the backup of a selection of resources.
ruleId - Uniquely identifies a rule that is used to schedule the backup of a selection of resources.AwsBackupBackupPlanRuleDetails.Builder enableContinuousBackup(Boolean enableContinuousBackup)
Specifies whether Backup creates continuous backups capable of point-in-time restore (PITR).
enableContinuousBackup - Specifies whether Backup creates continuous backups capable of point-in-time restore (PITR).AwsBackupBackupPlanRuleDetails.Builder completionWindowMinutes(Long completionWindowMinutes)
A value in minutes after a backup job is successfully started before it must be completed, or it is canceled by Backup.
completionWindowMinutes - A value in minutes after a backup job is successfully started before it must be completed, or it is
canceled by Backup.AwsBackupBackupPlanRuleDetails.Builder copyActions(Collection<AwsBackupBackupPlanRuleCopyActionsDetails> copyActions)
An array of CopyAction objects, each of which contains details of the copy operation.
copyActions - An array of CopyAction objects, each of which contains details of the copy operation.AwsBackupBackupPlanRuleDetails.Builder copyActions(AwsBackupBackupPlanRuleCopyActionsDetails... copyActions)
An array of CopyAction objects, each of which contains details of the copy operation.
copyActions - An array of CopyAction objects, each of which contains details of the copy operation.AwsBackupBackupPlanRuleDetails.Builder copyActions(Consumer<AwsBackupBackupPlanRuleCopyActionsDetails.Builder>... copyActions)
An array of CopyAction objects, each of which contains details of the copy operation.
AwsBackupBackupPlanRuleCopyActionsDetails.Builder
avoiding the need to create one manually via
AwsBackupBackupPlanRuleCopyActionsDetails.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #copyActions(List.
copyActions - a consumer that will call methods on
AwsBackupBackupPlanRuleCopyActionsDetails.Builder#copyActions(java.util.Collection) AwsBackupBackupPlanRuleDetails.Builder lifecycle(AwsBackupBackupPlanLifecycleDetails lifecycle)
Defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define. If you do not specify a lifecycle, Backup applies the lifecycle policy of the source backup to the destination backup.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.
lifecycle - Defines when a protected resource is transitioned to cold storage and when it expires. Backup
transitions and expires backups automatically according to the lifecycle that you define. If you do
not specify a lifecycle, Backup applies the lifecycle policy of the source backup to the destination
backup.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.
default AwsBackupBackupPlanRuleDetails.Builder lifecycle(Consumer<AwsBackupBackupPlanLifecycleDetails.Builder> lifecycle)
Defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define. If you do not specify a lifecycle, Backup applies the lifecycle policy of the source backup to the destination backup.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.
This is a convenience method that creates an instance of theAwsBackupBackupPlanLifecycleDetails.Builder avoiding the need to create one manually via
AwsBackupBackupPlanLifecycleDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to lifecycle(AwsBackupBackupPlanLifecycleDetails).
lifecycle - a consumer that will call methods on AwsBackupBackupPlanLifecycleDetails.Builderlifecycle(AwsBackupBackupPlanLifecycleDetails)Copyright © 2023. All rights reserved.