public class RestoreTableFromBackupRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
java.lang.String |
getBackupArn()
The ARN associated with the backup.
|
java.lang.String |
getTargetTableName()
The name of the new table to which the backup must be restored.
|
int |
hashCode() |
void |
setBackupArn(java.lang.String backupArn)
The ARN associated with the backup.
|
void |
setTargetTableName(java.lang.String targetTableName)
The name of the new table to which the backup must be restored.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RestoreTableFromBackupRequest |
withBackupArn(java.lang.String backupArn)
The ARN associated with the backup.
|
RestoreTableFromBackupRequest |
withTargetTableName(java.lang.String targetTableName)
The name of the new table to which the backup must be restored.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.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(java.lang.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(java.lang.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 java.lang.String getBackupArn()
The ARN associated with the backup.
Constraints:
Length: 37 - 1024
The ARN associated with the backup.
public void setBackupArn(java.lang.String backupArn)
The ARN associated with the backup.
Constraints:
Length: 37 - 1024
backupArn
- The ARN associated with the backup.
public RestoreTableFromBackupRequest withBackupArn(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.