@Generated(value="software.amazon.awssdk:codegen") public final class StartBackupJobRequest extends BackupRequest implements ToCopyableBuilder<StartBackupJobRequest.Builder,StartBackupJobRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartBackupJobRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
backupOptions()
Specifies the backup option for a selected resource.
|
String |
backupVaultName()
The name of a logical container where backups are stored.
|
static StartBackupJobRequest.Builder |
builder() |
Long |
completeWindowMinutes()
A value in minutes during which a successfully started backup must complete, or else AWS Backup will cancel the
job.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBackupOptions()
Returns true if the BackupOptions 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).
|
String |
iamRoleArn()
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access. |
String |
idempotencyToken()
A customer chosen string that can be used to distinguish between calls to
StartBackupJob. |
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 |
resourceArn()
An Amazon Resource Name (ARN) that uniquely identifies a resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartBackupJobRequest.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.
|
StartBackupJobRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String backupVaultName()
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 resourceArn()
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
public final String iamRoleArn()
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access.
arn:aws:iam::123456789012:role/S3Access.public final String idempotencyToken()
A customer chosen string that can be used to distinguish between calls to StartBackupJob.
StartBackupJob.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, and the default is 8 hours.
public final Long completeWindowMinutes()
A value in minutes during which a successfully started backup must complete, or else AWS Backup will cancel the
job. This value is optional. This value begins counting down from when the backup was scheduled. It does not add
additional time for StartWindowMinutes, or if the backup started later than scheduled.
StartWindowMinutes, or if the backup started
later than scheduled.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 hasBackupOptions()
public final Map<String,String> backupOptions()
Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs.
Valid values: Set to "WindowsVSS”:“enabled" to enable WindowsVSS backup option and create a VSS
Windows backup. Set to “WindowsVSS”:”disabled” to create a regular backup. The WindowsVSS option is not enabled
by default.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasBackupOptions() to see if a value was sent in this field.
Valid values: Set to "WindowsVSS”:“enabled" to enable WindowsVSS backup option and create a
VSS Windows backup. Set to “WindowsVSS”:”disabled” to create a regular backup. The WindowsVSS option is
not enabled by default.
public StartBackupJobRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartBackupJobRequest.Builder,StartBackupJobRequest>toBuilder in class BackupRequestpublic static StartBackupJobRequest.Builder builder()
public static Class<? extends StartBackupJobRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.