@Generated(value="software.amazon.awssdk:codegen") public final class BackupRuleInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BackupRuleInput.Builder,BackupRuleInput>
Specifies a scheduled task used to back up a selection of resources.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BackupRuleInput.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BackupRuleInput.Builder |
builder() |
Long |
completionWindowMinutes()
A value in minutes after a backup job is successfully started before it must be completed or it will be canceled
by AWS Backup.
|
List<CopyAction> |
copyActions()
An array of
CopyAction objects, which contains the details of the copy operation. |
Boolean |
enableContinuousBackup()
Specifies whether AWS Backup creates continuous backups.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCopyActions()
Returns true if the CopyActions property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRecoveryPointTags()
Returns true if the RecoveryPointTags property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
Lifecycle |
lifecycle()
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.
|
Map<String,String> |
recoveryPointTags()
To help organize your resources, you can assign your own metadata to the resources that you create.
|
String |
ruleName()
An optional display name for a backup rule.
|
String |
scheduleExpression()
A CRON expression specifying when AWS Backup initiates a backup job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BackupRuleInput.Builder> |
serializableBuilderClass() |
Long |
startWindowMinutes()
A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully.
|
String |
targetBackupVaultName()
The name of a logical container where backups are stored.
|
BackupRuleInput.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String ruleName()
An optional display name for a backup rule.
public final String targetBackupVaultName()
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
public final String scheduleExpression()
A CRON expression specifying when AWS Backup initiates a backup job.
public final Long startWindowMinutes()
A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully. This value is optional.
public final Long completionWindowMinutes()
A value in minutes after a backup job is successfully started before it must be completed or it will be canceled by AWS Backup. This value is optional.
public final Lifecycle lifecycle()
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. AWS Backup will transition and expire backups automatically according to the lifecycle that you define.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Only Amazon EFS file system backups can be transitioned to cold storage.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “expire after days” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
Only Amazon EFS file system backups can be transitioned to cold storage.
public final boolean hasRecoveryPointTags()
public final Map<String,String> recoveryPointTags()
To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRecoveryPointTags() to see if a value was sent in this field.
public final boolean hasCopyActions()
public final List<CopyAction> copyActions()
An array of CopyAction objects, which contains the details of the copy operation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCopyActions() to see if a value was sent in this field.
CopyAction objects, which contains the details of the copy operation.public final Boolean enableContinuousBackup()
Specifies whether AWS Backup creates continuous backups. True causes AWS Backup to create continuous backups capable of point-in-time restore (PITR). False (or not specified) causes AWS Backup to create snapshot backups.
public BackupRuleInput.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BackupRuleInput.Builder,BackupRuleInput>public static BackupRuleInput.Builder builder()
public static Class<? extends BackupRuleInput.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.