@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DestinationBackup extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the backup that will be copied and created by the CopyBackupToRegion operation.
Constructor and Description |
---|
DestinationBackup() |
Modifier and Type | Method and Description |
---|---|
DestinationBackup |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateTimestamp()
The date and time when both the source backup was created.
|
String |
getSourceBackup()
The identifier (ID) of the source backup from which the new backup was copied.
|
String |
getSourceCluster()
The identifier (ID) of the cluster containing the source backup from which the new backup was copied.
|
String |
getSourceRegion()
The AWS region that contains the source backup from which the new backup was copied.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreateTimestamp(Date createTimestamp)
The date and time when both the source backup was created.
|
void |
setSourceBackup(String sourceBackup)
The identifier (ID) of the source backup from which the new backup was copied.
|
void |
setSourceCluster(String sourceCluster)
The identifier (ID) of the cluster containing the source backup from which the new backup was copied.
|
void |
setSourceRegion(String sourceRegion)
The AWS region that contains the source backup from which the new backup was copied.
|
String |
toString()
Returns a string representation of this object.
|
DestinationBackup |
withCreateTimestamp(Date createTimestamp)
The date and time when both the source backup was created.
|
DestinationBackup |
withSourceBackup(String sourceBackup)
The identifier (ID) of the source backup from which the new backup was copied.
|
DestinationBackup |
withSourceCluster(String sourceCluster)
The identifier (ID) of the cluster containing the source backup from which the new backup was copied.
|
DestinationBackup |
withSourceRegion(String sourceRegion)
The AWS region that contains the source backup from which the new backup was copied.
|
public void setCreateTimestamp(Date createTimestamp)
The date and time when both the source backup was created.
createTimestamp
- The date and time when both the source backup was created.public Date getCreateTimestamp()
The date and time when both the source backup was created.
public DestinationBackup withCreateTimestamp(Date createTimestamp)
The date and time when both the source backup was created.
createTimestamp
- The date and time when both the source backup was created.public void setSourceRegion(String sourceRegion)
The AWS region that contains the source backup from which the new backup was copied.
sourceRegion
- The AWS region that contains the source backup from which the new backup was copied.public String getSourceRegion()
The AWS region that contains the source backup from which the new backup was copied.
public DestinationBackup withSourceRegion(String sourceRegion)
The AWS region that contains the source backup from which the new backup was copied.
sourceRegion
- The AWS region that contains the source backup from which the new backup was copied.public void setSourceBackup(String sourceBackup)
The identifier (ID) of the source backup from which the new backup was copied.
sourceBackup
- The identifier (ID) of the source backup from which the new backup was copied.public String getSourceBackup()
The identifier (ID) of the source backup from which the new backup was copied.
public DestinationBackup withSourceBackup(String sourceBackup)
The identifier (ID) of the source backup from which the new backup was copied.
sourceBackup
- The identifier (ID) of the source backup from which the new backup was copied.public void setSourceCluster(String sourceCluster)
The identifier (ID) of the cluster containing the source backup from which the new backup was copied.
sourceCluster
- The identifier (ID) of the cluster containing the source backup from which the new backup was copied.public String getSourceCluster()
The identifier (ID) of the cluster containing the source backup from which the new backup was copied.
public DestinationBackup withSourceCluster(String sourceCluster)
The identifier (ID) of the cluster containing the source backup from which the new backup was copied.
sourceCluster
- The identifier (ID) of the cluster containing the source backup from which the new backup was copied.public String toString()
toString
in class Object
Object.toString()
public DestinationBackup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.