public class RestoreTableFromBackupRequest extends AmazonWebServiceRequest implements Serializable
Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.
You can call RestoreTableFromBackup at a maximum rate of 10
times per second.
You must manually set up the following on the restored table:
Auto scaling policies
IAM policies
Cloudwatch metrics and alarms
Tags
Stream settings
Time to Live (TTL) settings
| Constructor and Description |
|---|
RestoreTableFromBackupRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBackupArn()
The ARN associated with the backup.
|
String |
getTargetTableName()
The name of the new table to which the backup must be restored.
|
int |
hashCode() |
void |
setBackupArn(String backupArn)
The ARN associated with the backup.
|
void |
setTargetTableName(String targetTableName)
The name of the new table to which the backup must be restored.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RestoreTableFromBackupRequest |
withBackupArn(String backupArn)
The ARN associated with the backup.
|
RestoreTableFromBackupRequest |
withTargetTableName(String targetTableName)
The name of the new table to which the backup must be restored.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getTargetTableName()
The name of the new table to which the backup must be restored.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
The name of the new table to which the backup must be restored.
public void setTargetTableName(String targetTableName)
The name of the new table to which the backup must be restored.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
targetTableName - The name of the new table to which the backup must be restored.
public RestoreTableFromBackupRequest withTargetTableName(String targetTableName)
The name of the new table to which the backup must be restored.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
targetTableName - The name of the new table to which the backup must be restored.
public String getBackupArn()
The ARN associated with the backup.
Constraints:
Length: 37 - 1024
The ARN associated with the backup.
public void setBackupArn(String backupArn)
The ARN associated with the backup.
Constraints:
Length: 37 - 1024
backupArn - The ARN associated with the backup.
public RestoreTableFromBackupRequest withBackupArn(String backupArn)
The ARN associated with the backup.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 37 - 1024
backupArn - The ARN associated with the backup.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.