Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class Snapshot

java.lang.Object
  extended by com.amazonaws.services.redshift.model.Snapshot
All Implemented Interfaces:
java.io.Serializable

public class Snapshot
extends java.lang.Object
implements java.io.Serializable

Describes a snapshot.

See Also:
Serialized Form

Constructor Summary
Snapshot()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<AccountWithRestoreAccess> getAccountsWithRestoreAccess()
          A list of the AWS customer accounts authorized to restore the snapshot.
 java.lang.Double getActualIncrementalBackupSizeInMegaBytes()
          The size of the incremental backup.
 java.lang.String getAvailabilityZone()
          The Availability Zone in which the cluster was created.
 java.lang.Double getBackupProgressInMegaBytes()
          The number of megabytes that have been transferred to the snapshot backup.
 java.util.Date getClusterCreateTime()
          The time (UTC) when the cluster was originally created.
 java.lang.String getClusterIdentifier()
          The identifier of the cluster for which the snapshot was taken.
 java.lang.String getClusterVersion()
          The version ID of the Amazon Redshift engine that is running on the cluster.
 java.lang.Double getCurrentBackupRateInMegaBytesPerSecond()
          The number of megabytes per second being transferred to the snapshot backup.
 java.lang.String getDBName()
          The name of the database that was created when the cluster was created.
 java.lang.Long getElapsedTimeInSeconds()
          The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish.
 java.lang.Boolean getEncrypted()
          If true, the data in the snapshot is encrypted at rest.
 java.lang.Long getEstimatedSecondsToCompletion()
          The estimate of the time remaining before the snapshot backup will complete.
 java.lang.String getMasterUsername()
          The master user name for the cluster.
 java.lang.String getNodeType()
          The node type of the nodes in the cluster.
 java.lang.Integer getNumberOfNodes()
          The number of nodes in the cluster.
 java.lang.String getOwnerAccount()
          For manual snapshots, the AWS customer account used to create or copy the snapshot.
 java.lang.Integer getPort()
          The port that the cluster is listening on.
 java.util.Date getSnapshotCreateTime()
          The time (UTC) when Amazon Redshift began the snapshot.
 java.lang.String getSnapshotIdentifier()
          The snapshot identifier that is provided in the request.
 java.lang.String getSnapshotType()
          The snapshot type.
 java.lang.String getStatus()
          The snapshot status.
 java.lang.Double getTotalBackupSizeInMegaBytes()
          The size of the complete set of backup data that would be used to restore the instance.
 java.lang.String getVpcId()
          The VPC identifier of the cluster if the snapshot is from a cluster in a VPC.
 int hashCode()
           
 java.lang.Boolean isEncrypted()
          If true, the data in the snapshot is encrypted at rest.
 void setAccountsWithRestoreAccess(java.util.Collection<AccountWithRestoreAccess> accountsWithRestoreAccess)
          A list of the AWS customer accounts authorized to restore the snapshot.
 void setActualIncrementalBackupSizeInMegaBytes(java.lang.Double actualIncrementalBackupSizeInMegaBytes)
          The size of the incremental backup.
 void setAvailabilityZone(java.lang.String availabilityZone)
          The Availability Zone in which the cluster was created.
 void setBackupProgressInMegaBytes(java.lang.Double backupProgressInMegaBytes)
          The number of megabytes that have been transferred to the snapshot backup.
 void setClusterCreateTime(java.util.Date clusterCreateTime)
          The time (UTC) when the cluster was originally created.
 void setClusterIdentifier(java.lang.String clusterIdentifier)
          The identifier of the cluster for which the snapshot was taken.
 void setClusterVersion(java.lang.String clusterVersion)
          The version ID of the Amazon Redshift engine that is running on the cluster.
 void setCurrentBackupRateInMegaBytesPerSecond(java.lang.Double currentBackupRateInMegaBytesPerSecond)
          The number of megabytes per second being transferred to the snapshot backup.
 void setDBName(java.lang.String dBName)
          The name of the database that was created when the cluster was created.
 void setElapsedTimeInSeconds(java.lang.Long elapsedTimeInSeconds)
          The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish.
 void setEncrypted(java.lang.Boolean encrypted)
          If true, the data in the snapshot is encrypted at rest.
 void setEstimatedSecondsToCompletion(java.lang.Long estimatedSecondsToCompletion)
          The estimate of the time remaining before the snapshot backup will complete.
 void setMasterUsername(java.lang.String masterUsername)
          The master user name for the cluster.
 void setNodeType(java.lang.String nodeType)
          The node type of the nodes in the cluster.
 void setNumberOfNodes(java.lang.Integer numberOfNodes)
          The number of nodes in the cluster.
 void setOwnerAccount(java.lang.String ownerAccount)
          For manual snapshots, the AWS customer account used to create or copy the snapshot.
 void setPort(java.lang.Integer port)
          The port that the cluster is listening on.
 void setSnapshotCreateTime(java.util.Date snapshotCreateTime)
          The time (UTC) when Amazon Redshift began the snapshot.
 void setSnapshotIdentifier(java.lang.String snapshotIdentifier)
          The snapshot identifier that is provided in the request.
 void setSnapshotType(java.lang.String snapshotType)
          The snapshot type.
 void setStatus(java.lang.String status)
          The snapshot status.
 void setTotalBackupSizeInMegaBytes(java.lang.Double totalBackupSizeInMegaBytes)
          The size of the complete set of backup data that would be used to restore the instance.
 void setVpcId(java.lang.String vpcId)
          The VPC identifier of the cluster if the snapshot is from a cluster in a VPC.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Snapshot withAccountsWithRestoreAccess(AccountWithRestoreAccess... accountsWithRestoreAccess)
          A list of the AWS customer accounts authorized to restore the snapshot.
 Snapshot withAccountsWithRestoreAccess(java.util.Collection<AccountWithRestoreAccess> accountsWithRestoreAccess)
          A list of the AWS customer accounts authorized to restore the snapshot.
 Snapshot withActualIncrementalBackupSizeInMegaBytes(java.lang.Double actualIncrementalBackupSizeInMegaBytes)
          The size of the incremental backup.
 Snapshot withAvailabilityZone(java.lang.String availabilityZone)
          The Availability Zone in which the cluster was created.
 Snapshot withBackupProgressInMegaBytes(java.lang.Double backupProgressInMegaBytes)
          The number of megabytes that have been transferred to the snapshot backup.
 Snapshot withClusterCreateTime(java.util.Date clusterCreateTime)
          The time (UTC) when the cluster was originally created.
 Snapshot withClusterIdentifier(java.lang.String clusterIdentifier)
          The identifier of the cluster for which the snapshot was taken.
 Snapshot withClusterVersion(java.lang.String clusterVersion)
          The version ID of the Amazon Redshift engine that is running on the cluster.
 Snapshot withCurrentBackupRateInMegaBytesPerSecond(java.lang.Double currentBackupRateInMegaBytesPerSecond)
          The number of megabytes per second being transferred to the snapshot backup.
 Snapshot withDBName(java.lang.String dBName)
          The name of the database that was created when the cluster was created.
 Snapshot withElapsedTimeInSeconds(java.lang.Long elapsedTimeInSeconds)
          The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish.
 Snapshot withEncrypted(java.lang.Boolean encrypted)
          If true, the data in the snapshot is encrypted at rest.
 Snapshot withEstimatedSecondsToCompletion(java.lang.Long estimatedSecondsToCompletion)
          The estimate of the time remaining before the snapshot backup will complete.
 Snapshot withMasterUsername(java.lang.String masterUsername)
          The master user name for the cluster.
 Snapshot withNodeType(java.lang.String nodeType)
          The node type of the nodes in the cluster.
 Snapshot withNumberOfNodes(java.lang.Integer numberOfNodes)
          The number of nodes in the cluster.
 Snapshot withOwnerAccount(java.lang.String ownerAccount)
          For manual snapshots, the AWS customer account used to create or copy the snapshot.
 Snapshot withPort(java.lang.Integer port)
          The port that the cluster is listening on.
 Snapshot withSnapshotCreateTime(java.util.Date snapshotCreateTime)
          The time (UTC) when Amazon Redshift began the snapshot.
 Snapshot withSnapshotIdentifier(java.lang.String snapshotIdentifier)
          The snapshot identifier that is provided in the request.
 Snapshot withSnapshotType(java.lang.String snapshotType)
          The snapshot type.
 Snapshot withStatus(java.lang.String status)
          The snapshot status.
 Snapshot withTotalBackupSizeInMegaBytes(java.lang.Double totalBackupSizeInMegaBytes)
          The size of the complete set of backup data that would be used to restore the instance.
 Snapshot withVpcId(java.lang.String vpcId)
          The VPC identifier of the cluster if the snapshot is from a cluster in a VPC.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Snapshot

public Snapshot()
Method Detail

getSnapshotIdentifier

public java.lang.String getSnapshotIdentifier()
The snapshot identifier that is provided in the request.

Returns:
The snapshot identifier that is provided in the request.

setSnapshotIdentifier

public void setSnapshotIdentifier(java.lang.String snapshotIdentifier)
The snapshot identifier that is provided in the request.

Parameters:
snapshotIdentifier - The snapshot identifier that is provided in the request.

withSnapshotIdentifier

public Snapshot withSnapshotIdentifier(java.lang.String snapshotIdentifier)
The snapshot identifier that is provided in the request.

Returns a reference to this object so that method calls can be chained together.

Parameters:
snapshotIdentifier - The snapshot identifier that is provided in the request.

getClusterIdentifier

public java.lang.String getClusterIdentifier()
The identifier of the cluster for which the snapshot was taken.

Returns:
The identifier of the cluster for which the snapshot was taken.

setClusterIdentifier

public void setClusterIdentifier(java.lang.String clusterIdentifier)
The identifier of the cluster for which the snapshot was taken.

Parameters:
clusterIdentifier - The identifier of the cluster for which the snapshot was taken.

withClusterIdentifier

public Snapshot withClusterIdentifier(java.lang.String clusterIdentifier)
The identifier of the cluster for which the snapshot was taken.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterIdentifier - The identifier of the cluster for which the snapshot was taken.

getSnapshotCreateTime

public java.util.Date getSnapshotCreateTime()
The time (UTC) when Amazon Redshift began the snapshot. A snapshot contains a copy of the cluster data as of this exact time.

Returns:
The time (UTC) when Amazon Redshift began the snapshot. A snapshot contains a copy of the cluster data as of this exact time.

setSnapshotCreateTime

public void setSnapshotCreateTime(java.util.Date snapshotCreateTime)
The time (UTC) when Amazon Redshift began the snapshot. A snapshot contains a copy of the cluster data as of this exact time.

Parameters:
snapshotCreateTime - The time (UTC) when Amazon Redshift began the snapshot. A snapshot contains a copy of the cluster data as of this exact time.

withSnapshotCreateTime

public Snapshot withSnapshotCreateTime(java.util.Date snapshotCreateTime)
The time (UTC) when Amazon Redshift began the snapshot. A snapshot contains a copy of the cluster data as of this exact time.

Returns a reference to this object so that method calls can be chained together.

Parameters:
snapshotCreateTime - The time (UTC) when Amazon Redshift began the snapshot. A snapshot contains a copy of the cluster data as of this exact time.

getStatus

public java.lang.String getStatus()
The snapshot status. The value of the status depends on the API operation used.

Returns:
The snapshot status. The value of the status depends on the API operation used.

setStatus

public void setStatus(java.lang.String status)
The snapshot status. The value of the status depends on the API operation used.

Parameters:
status - The snapshot status. The value of the status depends on the API operation used.

withStatus

public Snapshot withStatus(java.lang.String status)
The snapshot status. The value of the status depends on the API operation used.

Returns a reference to this object so that method calls can be chained together.

Parameters:
status - The snapshot status. The value of the status depends on the API operation used.

getPort

public java.lang.Integer getPort()
The port that the cluster is listening on.

Returns:
The port that the cluster is listening on.

setPort

public void setPort(java.lang.Integer port)
The port that the cluster is listening on.

Parameters:
port - The port that the cluster is listening on.

withPort

public Snapshot withPort(java.lang.Integer port)
The port that the cluster is listening on.

Returns a reference to this object so that method calls can be chained together.

Parameters:
port - The port that the cluster is listening on.

getAvailabilityZone

public java.lang.String getAvailabilityZone()
The Availability Zone in which the cluster was created.

Returns:
The Availability Zone in which the cluster was created.

setAvailabilityZone

public void setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone in which the cluster was created.

Parameters:
availabilityZone - The Availability Zone in which the cluster was created.

withAvailabilityZone

public Snapshot withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone in which the cluster was created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZone - The Availability Zone in which the cluster was created.

getClusterCreateTime

public java.util.Date getClusterCreateTime()
The time (UTC) when the cluster was originally created.

Returns:
The time (UTC) when the cluster was originally created.

setClusterCreateTime

public void setClusterCreateTime(java.util.Date clusterCreateTime)
The time (UTC) when the cluster was originally created.

Parameters:
clusterCreateTime - The time (UTC) when the cluster was originally created.

withClusterCreateTime

public Snapshot withClusterCreateTime(java.util.Date clusterCreateTime)
The time (UTC) when the cluster was originally created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterCreateTime - The time (UTC) when the cluster was originally created.

getMasterUsername

public java.lang.String getMasterUsername()
The master user name for the cluster.

Returns:
The master user name for the cluster.

setMasterUsername

public void setMasterUsername(java.lang.String masterUsername)
The master user name for the cluster.

Parameters:
masterUsername - The master user name for the cluster.

withMasterUsername

public Snapshot withMasterUsername(java.lang.String masterUsername)
The master user name for the cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
masterUsername - The master user name for the cluster.

getClusterVersion

public java.lang.String getClusterVersion()
The version ID of the Amazon Redshift engine that is running on the cluster.

Returns:
The version ID of the Amazon Redshift engine that is running on the cluster.

setClusterVersion

public void setClusterVersion(java.lang.String clusterVersion)
The version ID of the Amazon Redshift engine that is running on the cluster.

Parameters:
clusterVersion - The version ID of the Amazon Redshift engine that is running on the cluster.

withClusterVersion

public Snapshot withClusterVersion(java.lang.String clusterVersion)
The version ID of the Amazon Redshift engine that is running on the cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterVersion - The version ID of the Amazon Redshift engine that is running on the cluster.

getSnapshotType

public java.lang.String getSnapshotType()
The snapshot type. Snapshots created using CreateClusterSnapshot and CopyClusterSnapshot will be of type "manual".

Returns:
The snapshot type. Snapshots created using CreateClusterSnapshot and CopyClusterSnapshot will be of type "manual".

setSnapshotType

public void setSnapshotType(java.lang.String snapshotType)
The snapshot type. Snapshots created using CreateClusterSnapshot and CopyClusterSnapshot will be of type "manual".

Parameters:
snapshotType - The snapshot type. Snapshots created using CreateClusterSnapshot and CopyClusterSnapshot will be of type "manual".

withSnapshotType

public Snapshot withSnapshotType(java.lang.String snapshotType)
The snapshot type. Snapshots created using CreateClusterSnapshot and CopyClusterSnapshot will be of type "manual".

Returns a reference to this object so that method calls can be chained together.

Parameters:
snapshotType - The snapshot type. Snapshots created using CreateClusterSnapshot and CopyClusterSnapshot will be of type "manual".

getNodeType

public java.lang.String getNodeType()
The node type of the nodes in the cluster.

Returns:
The node type of the nodes in the cluster.

setNodeType

public void setNodeType(java.lang.String nodeType)
The node type of the nodes in the cluster.

Parameters:
nodeType - The node type of the nodes in the cluster.

withNodeType

public Snapshot withNodeType(java.lang.String nodeType)
The node type of the nodes in the cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nodeType - The node type of the nodes in the cluster.

getNumberOfNodes

public java.lang.Integer getNumberOfNodes()
The number of nodes in the cluster.

Returns:
The number of nodes in the cluster.

setNumberOfNodes

public void setNumberOfNodes(java.lang.Integer numberOfNodes)
The number of nodes in the cluster.

Parameters:
numberOfNodes - The number of nodes in the cluster.

withNumberOfNodes

public Snapshot withNumberOfNodes(java.lang.Integer numberOfNodes)
The number of nodes in the cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
numberOfNodes - The number of nodes in the cluster.

getDBName

public java.lang.String getDBName()
The name of the database that was created when the cluster was created.

Returns:
The name of the database that was created when the cluster was created.

setDBName

public void setDBName(java.lang.String dBName)
The name of the database that was created when the cluster was created.

Parameters:
dBName - The name of the database that was created when the cluster was created.

withDBName

public Snapshot withDBName(java.lang.String dBName)
The name of the database that was created when the cluster was created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBName - The name of the database that was created when the cluster was created.

getVpcId

public java.lang.String getVpcId()
The VPC identifier of the cluster if the snapshot is from a cluster in a VPC. Otherwise, this field is not in the output.

Returns:
The VPC identifier of the cluster if the snapshot is from a cluster in a VPC. Otherwise, this field is not in the output.

setVpcId

public void setVpcId(java.lang.String vpcId)
The VPC identifier of the cluster if the snapshot is from a cluster in a VPC. Otherwise, this field is not in the output.

Parameters:
vpcId - The VPC identifier of the cluster if the snapshot is from a cluster in a VPC. Otherwise, this field is not in the output.

withVpcId

public Snapshot withVpcId(java.lang.String vpcId)
The VPC identifier of the cluster if the snapshot is from a cluster in a VPC. Otherwise, this field is not in the output.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcId - The VPC identifier of the cluster if the snapshot is from a cluster in a VPC. Otherwise, this field is not in the output.

isEncrypted

public java.lang.Boolean isEncrypted()
If true, the data in the snapshot is encrypted at rest.

Returns:
If true, the data in the snapshot is encrypted at rest.

setEncrypted

public void setEncrypted(java.lang.Boolean encrypted)
If true, the data in the snapshot is encrypted at rest.

Parameters:
encrypted - If true, the data in the snapshot is encrypted at rest.

withEncrypted

public Snapshot withEncrypted(java.lang.Boolean encrypted)
If true, the data in the snapshot is encrypted at rest.

Returns a reference to this object so that method calls can be chained together.

Parameters:
encrypted - If true, the data in the snapshot is encrypted at rest.

getEncrypted

public java.lang.Boolean getEncrypted()
If true, the data in the snapshot is encrypted at rest.

Returns:
If true, the data in the snapshot is encrypted at rest.

getAccountsWithRestoreAccess

public java.util.List<AccountWithRestoreAccess> getAccountsWithRestoreAccess()
A list of the AWS customer accounts authorized to restore the snapshot. Returns null if no accounts are authorized. Visible only to the snapshot owner.

Returns:
A list of the AWS customer accounts authorized to restore the snapshot. Returns null if no accounts are authorized. Visible only to the snapshot owner.

setAccountsWithRestoreAccess

public void setAccountsWithRestoreAccess(java.util.Collection<AccountWithRestoreAccess> accountsWithRestoreAccess)
A list of the AWS customer accounts authorized to restore the snapshot. Returns null if no accounts are authorized. Visible only to the snapshot owner.

Parameters:
accountsWithRestoreAccess - A list of the AWS customer accounts authorized to restore the snapshot. Returns null if no accounts are authorized. Visible only to the snapshot owner.

withAccountsWithRestoreAccess

public Snapshot withAccountsWithRestoreAccess(AccountWithRestoreAccess... accountsWithRestoreAccess)
A list of the AWS customer accounts authorized to restore the snapshot. Returns null if no accounts are authorized. Visible only to the snapshot owner.

Returns a reference to this object so that method calls can be chained together.

Parameters:
accountsWithRestoreAccess - A list of the AWS customer accounts authorized to restore the snapshot. Returns null if no accounts are authorized. Visible only to the snapshot owner.

withAccountsWithRestoreAccess

public Snapshot withAccountsWithRestoreAccess(java.util.Collection<AccountWithRestoreAccess> accountsWithRestoreAccess)
A list of the AWS customer accounts authorized to restore the snapshot. Returns null if no accounts are authorized. Visible only to the snapshot owner.

Returns a reference to this object so that method calls can be chained together.

Parameters:
accountsWithRestoreAccess - A list of the AWS customer accounts authorized to restore the snapshot. Returns null if no accounts are authorized. Visible only to the snapshot owner.

getOwnerAccount

public java.lang.String getOwnerAccount()
For manual snapshots, the AWS customer account used to create or copy the snapshot. For automatic snapshots, the owner of the cluster. The owner can perform all snapshot actions, such as sharing a manual snapshot.

Returns:
For manual snapshots, the AWS customer account used to create or copy the snapshot. For automatic snapshots, the owner of the cluster. The owner can perform all snapshot actions, such as sharing a manual snapshot.

setOwnerAccount

public void setOwnerAccount(java.lang.String ownerAccount)
For manual snapshots, the AWS customer account used to create or copy the snapshot. For automatic snapshots, the owner of the cluster. The owner can perform all snapshot actions, such as sharing a manual snapshot.

Parameters:
ownerAccount - For manual snapshots, the AWS customer account used to create or copy the snapshot. For automatic snapshots, the owner of the cluster. The owner can perform all snapshot actions, such as sharing a manual snapshot.

withOwnerAccount

public Snapshot withOwnerAccount(java.lang.String ownerAccount)
For manual snapshots, the AWS customer account used to create or copy the snapshot. For automatic snapshots, the owner of the cluster. The owner can perform all snapshot actions, such as sharing a manual snapshot.

Returns a reference to this object so that method calls can be chained together.

Parameters:
ownerAccount - For manual snapshots, the AWS customer account used to create or copy the snapshot. For automatic snapshots, the owner of the cluster. The owner can perform all snapshot actions, such as sharing a manual snapshot.

getTotalBackupSizeInMegaBytes

public java.lang.Double getTotalBackupSizeInMegaBytes()
The size of the complete set of backup data that would be used to restore the instance.

Returns:
The size of the complete set of backup data that would be used to restore the instance.

setTotalBackupSizeInMegaBytes

public void setTotalBackupSizeInMegaBytes(java.lang.Double totalBackupSizeInMegaBytes)
The size of the complete set of backup data that would be used to restore the instance.

Parameters:
totalBackupSizeInMegaBytes - The size of the complete set of backup data that would be used to restore the instance.

withTotalBackupSizeInMegaBytes

public Snapshot withTotalBackupSizeInMegaBytes(java.lang.Double totalBackupSizeInMegaBytes)
The size of the complete set of backup data that would be used to restore the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
totalBackupSizeInMegaBytes - The size of the complete set of backup data that would be used to restore the instance.

getActualIncrementalBackupSizeInMegaBytes

public java.lang.Double getActualIncrementalBackupSizeInMegaBytes()
The size of the incremental backup.

Returns:
The size of the incremental backup.

setActualIncrementalBackupSizeInMegaBytes

public void setActualIncrementalBackupSizeInMegaBytes(java.lang.Double actualIncrementalBackupSizeInMegaBytes)
The size of the incremental backup.

Parameters:
actualIncrementalBackupSizeInMegaBytes - The size of the incremental backup.

withActualIncrementalBackupSizeInMegaBytes

public Snapshot withActualIncrementalBackupSizeInMegaBytes(java.lang.Double actualIncrementalBackupSizeInMegaBytes)
The size of the incremental backup.

Returns a reference to this object so that method calls can be chained together.

Parameters:
actualIncrementalBackupSizeInMegaBytes - The size of the incremental backup.

getBackupProgressInMegaBytes

public java.lang.Double getBackupProgressInMegaBytes()
The number of megabytes that have been transferred to the snapshot backup.

Returns:
The number of megabytes that have been transferred to the snapshot backup.

setBackupProgressInMegaBytes

public void setBackupProgressInMegaBytes(java.lang.Double backupProgressInMegaBytes)
The number of megabytes that have been transferred to the snapshot backup.

Parameters:
backupProgressInMegaBytes - The number of megabytes that have been transferred to the snapshot backup.

withBackupProgressInMegaBytes

public Snapshot withBackupProgressInMegaBytes(java.lang.Double backupProgressInMegaBytes)
The number of megabytes that have been transferred to the snapshot backup.

Returns a reference to this object so that method calls can be chained together.

Parameters:
backupProgressInMegaBytes - The number of megabytes that have been transferred to the snapshot backup.

getCurrentBackupRateInMegaBytesPerSecond

public java.lang.Double getCurrentBackupRateInMegaBytesPerSecond()
The number of megabytes per second being transferred to the snapshot backup. Returns 0 for a completed backup.

Returns:
The number of megabytes per second being transferred to the snapshot backup. Returns 0 for a completed backup.

setCurrentBackupRateInMegaBytesPerSecond

public void setCurrentBackupRateInMegaBytesPerSecond(java.lang.Double currentBackupRateInMegaBytesPerSecond)
The number of megabytes per second being transferred to the snapshot backup. Returns 0 for a completed backup.

Parameters:
currentBackupRateInMegaBytesPerSecond - The number of megabytes per second being transferred to the snapshot backup. Returns 0 for a completed backup.

withCurrentBackupRateInMegaBytesPerSecond

public Snapshot withCurrentBackupRateInMegaBytesPerSecond(java.lang.Double currentBackupRateInMegaBytesPerSecond)
The number of megabytes per second being transferred to the snapshot backup. Returns 0 for a completed backup.

Returns a reference to this object so that method calls can be chained together.

Parameters:
currentBackupRateInMegaBytesPerSecond - The number of megabytes per second being transferred to the snapshot backup. Returns 0 for a completed backup.

getEstimatedSecondsToCompletion

public java.lang.Long getEstimatedSecondsToCompletion()
The estimate of the time remaining before the snapshot backup will complete. Returns 0 for a completed backup.

Returns:
The estimate of the time remaining before the snapshot backup will complete. Returns 0 for a completed backup.

setEstimatedSecondsToCompletion

public void setEstimatedSecondsToCompletion(java.lang.Long estimatedSecondsToCompletion)
The estimate of the time remaining before the snapshot backup will complete. Returns 0 for a completed backup.

Parameters:
estimatedSecondsToCompletion - The estimate of the time remaining before the snapshot backup will complete. Returns 0 for a completed backup.

withEstimatedSecondsToCompletion

public Snapshot withEstimatedSecondsToCompletion(java.lang.Long estimatedSecondsToCompletion)
The estimate of the time remaining before the snapshot backup will complete. Returns 0 for a completed backup.

Returns a reference to this object so that method calls can be chained together.

Parameters:
estimatedSecondsToCompletion - The estimate of the time remaining before the snapshot backup will complete. Returns 0 for a completed backup.

getElapsedTimeInSeconds

public java.lang.Long getElapsedTimeInSeconds()
The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish.

Returns:
The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish.

setElapsedTimeInSeconds

public void setElapsedTimeInSeconds(java.lang.Long elapsedTimeInSeconds)
The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish.

Parameters:
elapsedTimeInSeconds - The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish.

withElapsedTimeInSeconds

public Snapshot withElapsedTimeInSeconds(java.lang.Long elapsedTimeInSeconds)
The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish.

Returns a reference to this object so that method calls can be chained together.

Parameters:
elapsedTimeInSeconds - The amount of time an in-progress snapshot backup has been running, or the amount of time it took a completed backup to finish.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.