@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartBackupJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartBackupJobRequest() |
Modifier and Type | Method and Description |
---|---|
StartBackupJobRequest |
addRecoveryPointTagsEntry(String key,
String value) |
StartBackupJobRequest |
clearRecoveryPointTagsEntries()
Removes all the entries added into RecoveryPointTags.
|
StartBackupJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBackupVaultName()
The name of a logical container where backups are stored.
|
Long |
getCompleteWindowMinutes()
The amount of time AWS Backup attempts a backup before canceling the job and returning an error.
|
String |
getIamRoleArn()
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access . |
String |
getIdempotencyToken()
A customer chosen string that can be used to distinguish between calls to
StartBackupJob . |
Lifecycle |
getLifecycle()
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.
|
Map<String,String> |
getRecoveryPointTags()
To help organize your resources, you can assign your own metadata to the resources that you create.
|
String |
getResourceArn()
An Amazon Resource Name (ARN) that uniquely identifies a resource.
|
Long |
getStartWindowMinutes()
The amount of time in minutes before beginning a backup.
|
int |
hashCode() |
void |
setBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored.
|
void |
setCompleteWindowMinutes(Long completeWindowMinutes)
The amount of time AWS Backup attempts a backup before canceling the job and returning an error.
|
void |
setIamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access . |
void |
setIdempotencyToken(String idempotencyToken)
A customer chosen string that can be used to distinguish between calls to
StartBackupJob . |
void |
setLifecycle(Lifecycle lifecycle)
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.
|
void |
setRecoveryPointTags(Map<String,String> recoveryPointTags)
To help organize your resources, you can assign your own metadata to the resources that you create.
|
void |
setResourceArn(String resourceArn)
An Amazon Resource Name (ARN) that uniquely identifies a resource.
|
void |
setStartWindowMinutes(Long startWindowMinutes)
The amount of time in minutes before beginning a backup.
|
String |
toString()
Returns a string representation of this object.
|
StartBackupJobRequest |
withBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored.
|
StartBackupJobRequest |
withCompleteWindowMinutes(Long completeWindowMinutes)
The amount of time AWS Backup attempts a backup before canceling the job and returning an error.
|
StartBackupJobRequest |
withIamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access . |
StartBackupJobRequest |
withIdempotencyToken(String idempotencyToken)
A customer chosen string that can be used to distinguish between calls to
StartBackupJob . |
StartBackupJobRequest |
withLifecycle(Lifecycle lifecycle)
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.
|
StartBackupJobRequest |
withRecoveryPointTags(Map<String,String> recoveryPointTags)
To help organize your resources, you can assign your own metadata to the resources that you create.
|
StartBackupJobRequest |
withResourceArn(String resourceArn)
An Amazon Resource Name (ARN) that uniquely identifies a resource.
|
StartBackupJobRequest |
withStartWindowMinutes(Long startWindowMinutes)
The amount of time in minutes before beginning a backup.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setBackupVaultName(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.
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 String getBackupVaultName()
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 StartBackupJobRequest withBackupVaultName(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.
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 void setResourceArn(String resourceArn)
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
resourceArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the
resource type.public String getResourceArn()
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
public StartBackupJobRequest withResourceArn(String resourceArn)
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
resourceArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the
resource type.public void setIamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.
iamRoleArn
- Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.public String getIamRoleArn()
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 StartBackupJobRequest withIamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.
iamRoleArn
- Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.public void setIdempotencyToken(String idempotencyToken)
A customer chosen string that can be used to distinguish between calls to StartBackupJob
.
Idempotency tokens time out after one hour. Therefore, if you call StartBackupJob
multiple times
with the same idempotency token within one hour, AWS Backup recognizes that you are requesting only one backup
job and initiates only one. If you change the idempotency token for each call, AWS Backup recognizes that you are
requesting to start multiple backups.
idempotencyToken
- A customer chosen string that can be used to distinguish between calls to StartBackupJob
.
Idempotency tokens time out after one hour. Therefore, if you call StartBackupJob
multiple
times with the same idempotency token within one hour, AWS Backup recognizes that you are requesting only
one backup job and initiates only one. If you change the idempotency token for each call, AWS Backup
recognizes that you are requesting to start multiple backups.public String getIdempotencyToken()
A customer chosen string that can be used to distinguish between calls to StartBackupJob
.
Idempotency tokens time out after one hour. Therefore, if you call StartBackupJob
multiple times
with the same idempotency token within one hour, AWS Backup recognizes that you are requesting only one backup
job and initiates only one. If you change the idempotency token for each call, AWS Backup recognizes that you are
requesting to start multiple backups.
StartBackupJob
.
Idempotency tokens time out after one hour. Therefore, if you call StartBackupJob
multiple
times with the same idempotency token within one hour, AWS Backup recognizes that you are requesting only
one backup job and initiates only one. If you change the idempotency token for each call, AWS Backup
recognizes that you are requesting to start multiple backups.public StartBackupJobRequest withIdempotencyToken(String idempotencyToken)
A customer chosen string that can be used to distinguish between calls to StartBackupJob
.
Idempotency tokens time out after one hour. Therefore, if you call StartBackupJob
multiple times
with the same idempotency token within one hour, AWS Backup recognizes that you are requesting only one backup
job and initiates only one. If you change the idempotency token for each call, AWS Backup recognizes that you are
requesting to start multiple backups.
idempotencyToken
- A customer chosen string that can be used to distinguish between calls to StartBackupJob
.
Idempotency tokens time out after one hour. Therefore, if you call StartBackupJob
multiple
times with the same idempotency token within one hour, AWS Backup recognizes that you are requesting only
one backup job and initiates only one. If you change the idempotency token for each call, AWS Backup
recognizes that you are requesting to start multiple backups.public void setStartWindowMinutes(Long startWindowMinutes)
The amount of time in minutes before beginning a backup.
startWindowMinutes
- The amount of time in minutes before beginning a backup.public Long getStartWindowMinutes()
The amount of time in minutes before beginning a backup.
public StartBackupJobRequest withStartWindowMinutes(Long startWindowMinutes)
The amount of time in minutes before beginning a backup.
startWindowMinutes
- The amount of time in minutes before beginning a backup.public void setCompleteWindowMinutes(Long completeWindowMinutes)
The amount of time AWS Backup attempts a backup before canceling the job and returning an error.
completeWindowMinutes
- The amount of time AWS Backup attempts a backup before canceling the job and returning an error.public Long getCompleteWindowMinutes()
The amount of time AWS Backup attempts a backup before canceling the job and returning an error.
public StartBackupJobRequest withCompleteWindowMinutes(Long completeWindowMinutes)
The amount of time AWS Backup attempts a backup before canceling the job and returning an error.
completeWindowMinutes
- The amount of time AWS Backup attempts a backup before canceling the job and returning an error.public void setLifecycle(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.
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.
public Lifecycle getLifecycle()
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.
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.
public StartBackupJobRequest withLifecycle(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.
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.
public Map<String,String> getRecoveryPointTags()
To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair.
public void setRecoveryPointTags(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.
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.public StartBackupJobRequest withRecoveryPointTags(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.
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.public StartBackupJobRequest addRecoveryPointTagsEntry(String key, String value)
public StartBackupJobRequest clearRecoveryPointTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public StartBackupJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.