@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartRestoreJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartRestoreJobRequest() |
Modifier and Type | Method and Description |
---|---|
StartRestoreJobRequest |
addMetadataEntry(String key,
String value) |
StartRestoreJobRequest |
clearMetadataEntries()
Removes all the entries added into Metadata.
|
StartRestoreJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIamRoleArn()
The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses 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
StartRestoreJob . |
Map<String,String> |
getMetadata()
A set of metadata key-value pairs.
|
String |
getRecoveryPointArn()
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45 . |
String |
getResourceType()
Starts a job to restore a recovery point for one of the following resources:
|
int |
hashCode() |
void |
setIamRoleArn(String iamRoleArn)
The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses 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
StartRestoreJob . |
void |
setMetadata(Map<String,String> metadata)
A set of metadata key-value pairs.
|
void |
setRecoveryPointArn(String recoveryPointArn)
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45 . |
void |
setResourceType(String resourceType)
Starts a job to restore a recovery point for one of the following resources:
|
String |
toString()
Returns a string representation of this object.
|
StartRestoreJobRequest |
withIamRoleArn(String iamRoleArn)
The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target recovery point; for
example,
arn:aws:iam::123456789012:role/S3Access . |
StartRestoreJobRequest |
withIdempotencyToken(String idempotencyToken)
A customer chosen string that can be used to distinguish between calls to
StartRestoreJob . |
StartRestoreJobRequest |
withMetadata(Map<String,String> metadata)
A set of metadata key-value pairs.
|
StartRestoreJobRequest |
withRecoveryPointArn(String recoveryPointArn)
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45 . |
StartRestoreJobRequest |
withResourceType(String resourceType)
Starts a job to restore a recovery point for one of the following resources:
|
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 setRecoveryPointArn(String recoveryPointArn)
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
recoveryPointArn
- An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.public String getRecoveryPointArn()
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.public StartRestoreJobRequest withRecoveryPointArn(String recoveryPointArn)
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
recoveryPointArn
- An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.public Map<String,String> getMetadata()
A set of metadata key-value pairs. Lists the metadata that the recovery point was created with.
public void setMetadata(Map<String,String> metadata)
A set of metadata key-value pairs. Lists the metadata that the recovery point was created with.
metadata
- A set of metadata key-value pairs. Lists the metadata that the recovery point was created with.public StartRestoreJobRequest withMetadata(Map<String,String> metadata)
A set of metadata key-value pairs. Lists the metadata that the recovery point was created with.
metadata
- A set of metadata key-value pairs. Lists the metadata that the recovery point was created with.public StartRestoreJobRequest addMetadataEntry(String key, String value)
public StartRestoreJobRequest clearMetadataEntries()
public void setIamRoleArn(String iamRoleArn)
The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target recovery point; for
example, arn:aws:iam::123456789012:role/S3Access
.
iamRoleArn
- The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target recovery point;
for example, arn:aws:iam::123456789012:role/S3Access
.public String getIamRoleArn()
The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target recovery point; for
example, arn:aws:iam::123456789012:role/S3Access
.
arn:aws:iam::123456789012:role/S3Access
.public StartRestoreJobRequest withIamRoleArn(String iamRoleArn)
The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to create the target recovery point; for
example, arn:aws:iam::123456789012:role/S3Access
.
iamRoleArn
- The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses 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 StartRestoreJob
.
Idempotency tokens time out after one hour. Therefore, if you call StartRestoreJob
multiple times
with the same idempotency token within one hour, AWS Backup recognizes that you are requesting only one restore
job and initiates only one. If you change the idempotency token for each call, AWS Backup recognizes that you are
requesting to start multiple restores.
idempotencyToken
- A customer chosen string that can be used to distinguish between calls to StartRestoreJob
.
Idempotency tokens time out after one hour. Therefore, if you call StartRestoreJob
multiple
times with the same idempotency token within one hour, AWS Backup recognizes that you are requesting only
one restore job and initiates only one. If you change the idempotency token for each call, AWS Backup
recognizes that you are requesting to start multiple restores.public String getIdempotencyToken()
A customer chosen string that can be used to distinguish between calls to StartRestoreJob
.
Idempotency tokens time out after one hour. Therefore, if you call StartRestoreJob
multiple times
with the same idempotency token within one hour, AWS Backup recognizes that you are requesting only one restore
job and initiates only one. If you change the idempotency token for each call, AWS Backup recognizes that you are
requesting to start multiple restores.
StartRestoreJob
.
Idempotency tokens time out after one hour. Therefore, if you call StartRestoreJob
multiple
times with the same idempotency token within one hour, AWS Backup recognizes that you are requesting only
one restore job and initiates only one. If you change the idempotency token for each call, AWS Backup
recognizes that you are requesting to start multiple restores.public StartRestoreJobRequest withIdempotencyToken(String idempotencyToken)
A customer chosen string that can be used to distinguish between calls to StartRestoreJob
.
Idempotency tokens time out after one hour. Therefore, if you call StartRestoreJob
multiple times
with the same idempotency token within one hour, AWS Backup recognizes that you are requesting only one restore
job and initiates only one. If you change the idempotency token for each call, AWS Backup recognizes that you are
requesting to start multiple restores.
idempotencyToken
- A customer chosen string that can be used to distinguish between calls to StartRestoreJob
.
Idempotency tokens time out after one hour. Therefore, if you call StartRestoreJob
multiple
times with the same idempotency token within one hour, AWS Backup recognizes that you are requesting only
one restore job and initiates only one. If you change the idempotency token for each call, AWS Backup
recognizes that you are requesting to start multiple restores.public void setResourceType(String resourceType)
Starts a job to restore a recovery point for one of the following resources:
EBS
for Amazon Elastic Block Store
SGW
for AWS Storage Gateway
RDS
for Amazon Relational Database Service
DDB
for Amazon DynamoDB
EFS
for Amazon Elastic File System
resourceType
- Starts a job to restore a recovery point for one of the following resources:
EBS
for Amazon Elastic Block Store
SGW
for AWS Storage Gateway
RDS
for Amazon Relational Database Service
DDB
for Amazon DynamoDB
EFS
for Amazon Elastic File System
public String getResourceType()
Starts a job to restore a recovery point for one of the following resources:
EBS
for Amazon Elastic Block Store
SGW
for AWS Storage Gateway
RDS
for Amazon Relational Database Service
DDB
for Amazon DynamoDB
EFS
for Amazon Elastic File System
EBS
for Amazon Elastic Block Store
SGW
for AWS Storage Gateway
RDS
for Amazon Relational Database Service
DDB
for Amazon DynamoDB
EFS
for Amazon Elastic File System
public StartRestoreJobRequest withResourceType(String resourceType)
Starts a job to restore a recovery point for one of the following resources:
EBS
for Amazon Elastic Block Store
SGW
for AWS Storage Gateway
RDS
for Amazon Relational Database Service
DDB
for Amazon DynamoDB
EFS
for Amazon Elastic File System
resourceType
- Starts a job to restore a recovery point for one of the following resources:
EBS
for Amazon Elastic Block Store
SGW
for AWS Storage Gateway
RDS
for Amazon Relational Database Service
DDB
for Amazon DynamoDB
EFS
for Amazon Elastic File System
public String toString()
toString
in class Object
Object.toString()
public StartRestoreJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.