@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopyBackupToRegionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CopyBackupToRegionRequest() |
Modifier and Type | Method and Description |
---|---|
CopyBackupToRegionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBackupId()
The ID of the backup that will be copied to the destination region.
|
String |
getDestinationRegion()
The AWS region that will contain your copied CloudHSM cluster backup.
|
List<Tag> |
getTagList()
Tags to apply to the destination backup during creation.
|
int |
hashCode() |
void |
setBackupId(String backupId)
The ID of the backup that will be copied to the destination region.
|
void |
setDestinationRegion(String destinationRegion)
The AWS region that will contain your copied CloudHSM cluster backup.
|
void |
setTagList(Collection<Tag> tagList)
Tags to apply to the destination backup during creation.
|
String |
toString()
Returns a string representation of this object.
|
CopyBackupToRegionRequest |
withBackupId(String backupId)
The ID of the backup that will be copied to the destination region.
|
CopyBackupToRegionRequest |
withDestinationRegion(String destinationRegion)
The AWS region that will contain your copied CloudHSM cluster backup.
|
CopyBackupToRegionRequest |
withTagList(Collection<Tag> tagList)
Tags to apply to the destination backup during creation.
|
CopyBackupToRegionRequest |
withTagList(Tag... tagList)
Tags to apply to the destination backup during creation.
|
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 setDestinationRegion(String destinationRegion)
The AWS region that will contain your copied CloudHSM cluster backup.
destinationRegion
- The AWS region that will contain your copied CloudHSM cluster backup.public String getDestinationRegion()
The AWS region that will contain your copied CloudHSM cluster backup.
public CopyBackupToRegionRequest withDestinationRegion(String destinationRegion)
The AWS region that will contain your copied CloudHSM cluster backup.
destinationRegion
- The AWS region that will contain your copied CloudHSM cluster backup.public void setBackupId(String backupId)
The ID of the backup that will be copied to the destination region.
backupId
- The ID of the backup that will be copied to the destination region.public String getBackupId()
The ID of the backup that will be copied to the destination region.
public CopyBackupToRegionRequest withBackupId(String backupId)
The ID of the backup that will be copied to the destination region.
backupId
- The ID of the backup that will be copied to the destination region.public List<Tag> getTagList()
Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.
public void setTagList(Collection<Tag> tagList)
Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.
tagList
- Tags to apply to the destination backup during creation. If you specify tags, only these tags will be
applied to the destination backup. If you do not specify tags, the service copies tags from the source
backup to the destination backup.public CopyBackupToRegionRequest withTagList(Tag... tagList)
Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.
NOTE: This method appends the values to the existing list (if any). Use
setTagList(java.util.Collection)
or withTagList(java.util.Collection)
if you want to override
the existing values.
tagList
- Tags to apply to the destination backup during creation. If you specify tags, only these tags will be
applied to the destination backup. If you do not specify tags, the service copies tags from the source
backup to the destination backup.public CopyBackupToRegionRequest withTagList(Collection<Tag> tagList)
Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.
tagList
- Tags to apply to the destination backup during creation. If you specify tags, only these tags will be
applied to the destination backup. If you do not specify tags, the service copies tags from the source
backup to the destination backup.public String toString()
toString
in class Object
Object.toString()
public CopyBackupToRegionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()