com.amazonaws.services.elasticache.model
Class Snapshot

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

public class Snapshot
extends Object
implements Serializable

Represents a copy of an entire cache cluster as of the time when the snapshot was taken.

See Also:
Serialized Form

Constructor Summary
Snapshot()
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getAutoMinorVersionUpgrade()
          For the source cache cluster, indicates whether minor version patches are applied automatically (true) or not (false).
 Date getCacheClusterCreateTime()
          The date and time when the source cache cluster was created.
 String getCacheClusterId()
          The user-supplied identifier of the source cache cluster.
 String getCacheNodeType()
          The name of the compute and memory capacity node type for the source cache cluster.
 String getCacheParameterGroupName()
          The cache parameter group that is associated with the source cache cluster.
 String getCacheSubnetGroupName()
          The name of the cache subnet group associated with the source cache cluster.
 String getEngine()
          The name of the cache engine (memcached or redis) used by the source cache cluster.
 String getEngineVersion()
          The version of the cache engine version that is used by the source cache cluster.
 List<NodeSnapshot> getNodeSnapshots()
          A list of the cache cluster nodes in the source cache cluster.
 Integer getNumCacheNodes()
          The number of cache nodes in the source cache cluster.
 Integer getPort()
          The port number used by each cache nodes in the source cache cluster.
 String getPreferredAvailabilityZone()
          The name of the Availability Zone in which the source cache cluster is located.
 String getPreferredMaintenanceWindow()
          The time range (in UTC) during which weekly system maintenance can occur on the source cache cluster.
 String getSnapshotName()
          The name of a snapshot.
 Integer getSnapshotRetentionLimit()
          For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.
 String getSnapshotSource()
          Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
 String getSnapshotStatus()
          The status of the snapshot.
 String getSnapshotWindow()
          The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.
 String getTopicArn()
          The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.
 String getVpcId()
          The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.
 int hashCode()
           
 Boolean isAutoMinorVersionUpgrade()
          For the source cache cluster, indicates whether minor version patches are applied automatically (true) or not (false).
 void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
          For the source cache cluster, indicates whether minor version patches are applied automatically (true) or not (false).
 void setCacheClusterCreateTime(Date cacheClusterCreateTime)
          The date and time when the source cache cluster was created.
 void setCacheClusterId(String cacheClusterId)
          The user-supplied identifier of the source cache cluster.
 void setCacheNodeType(String cacheNodeType)
          The name of the compute and memory capacity node type for the source cache cluster.
 void setCacheParameterGroupName(String cacheParameterGroupName)
          The cache parameter group that is associated with the source cache cluster.
 void setCacheSubnetGroupName(String cacheSubnetGroupName)
          The name of the cache subnet group associated with the source cache cluster.
 void setEngine(String engine)
          The name of the cache engine (memcached or redis) used by the source cache cluster.
 void setEngineVersion(String engineVersion)
          The version of the cache engine version that is used by the source cache cluster.
 void setNodeSnapshots(Collection<NodeSnapshot> nodeSnapshots)
          A list of the cache cluster nodes in the source cache cluster.
 void setNumCacheNodes(Integer numCacheNodes)
          The number of cache nodes in the source cache cluster.
 void setPort(Integer port)
          The port number used by each cache nodes in the source cache cluster.
 void setPreferredAvailabilityZone(String preferredAvailabilityZone)
          The name of the Availability Zone in which the source cache cluster is located.
 void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
          The time range (in UTC) during which weekly system maintenance can occur on the source cache cluster.
 void setSnapshotName(String snapshotName)
          The name of a snapshot.
 void setSnapshotRetentionLimit(Integer snapshotRetentionLimit)
          For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.
 void setSnapshotSource(String snapshotSource)
          Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
 void setSnapshotStatus(String snapshotStatus)
          The status of the snapshot.
 void setSnapshotWindow(String snapshotWindow)
          The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.
 void setTopicArn(String topicArn)
          The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.
 void setVpcId(String vpcId)
          The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Snapshot withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
          For the source cache cluster, indicates whether minor version patches are applied automatically (true) or not (false).
 Snapshot withCacheClusterCreateTime(Date cacheClusterCreateTime)
          The date and time when the source cache cluster was created.
 Snapshot withCacheClusterId(String cacheClusterId)
          The user-supplied identifier of the source cache cluster.
 Snapshot withCacheNodeType(String cacheNodeType)
          The name of the compute and memory capacity node type for the source cache cluster.
 Snapshot withCacheParameterGroupName(String cacheParameterGroupName)
          The cache parameter group that is associated with the source cache cluster.
 Snapshot withCacheSubnetGroupName(String cacheSubnetGroupName)
          The name of the cache subnet group associated with the source cache cluster.
 Snapshot withEngine(String engine)
          The name of the cache engine (memcached or redis) used by the source cache cluster.
 Snapshot withEngineVersion(String engineVersion)
          The version of the cache engine version that is used by the source cache cluster.
 Snapshot withNodeSnapshots(Collection<NodeSnapshot> nodeSnapshots)
          A list of the cache cluster nodes in the source cache cluster.
 Snapshot withNodeSnapshots(NodeSnapshot... nodeSnapshots)
          A list of the cache cluster nodes in the source cache cluster.
 Snapshot withNumCacheNodes(Integer numCacheNodes)
          The number of cache nodes in the source cache cluster.
 Snapshot withPort(Integer port)
          The port number used by each cache nodes in the source cache cluster.
 Snapshot withPreferredAvailabilityZone(String preferredAvailabilityZone)
          The name of the Availability Zone in which the source cache cluster is located.
 Snapshot withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
          The time range (in UTC) during which weekly system maintenance can occur on the source cache cluster.
 Snapshot withSnapshotName(String snapshotName)
          The name of a snapshot.
 Snapshot withSnapshotRetentionLimit(Integer snapshotRetentionLimit)
          For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.
 Snapshot withSnapshotSource(String snapshotSource)
          Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
 Snapshot withSnapshotStatus(String snapshotStatus)
          The status of the snapshot.
 Snapshot withSnapshotWindow(String snapshotWindow)
          The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.
 Snapshot withTopicArn(String topicArn)
          The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.
 Snapshot withVpcId(String vpcId)
          The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Snapshot

public Snapshot()
Method Detail

getSnapshotName

public String getSnapshotName()
The name of a snapshot. For an automatic snapshot, the name is system-generated; for a manual snapshot, this is the user-provided name.

Returns:
The name of a snapshot. For an automatic snapshot, the name is system-generated; for a manual snapshot, this is the user-provided name.

setSnapshotName

public void setSnapshotName(String snapshotName)
The name of a snapshot. For an automatic snapshot, the name is system-generated; for a manual snapshot, this is the user-provided name.

Parameters:
snapshotName - The name of a snapshot. For an automatic snapshot, the name is system-generated; for a manual snapshot, this is the user-provided name.

withSnapshotName

public Snapshot withSnapshotName(String snapshotName)
The name of a snapshot. For an automatic snapshot, the name is system-generated; for a manual snapshot, this is the user-provided name.

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

Parameters:
snapshotName - The name of a snapshot. For an automatic snapshot, the name is system-generated; for a manual snapshot, this is the user-provided name.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheClusterId

public String getCacheClusterId()
The user-supplied identifier of the source cache cluster.

Returns:
The user-supplied identifier of the source cache cluster.

setCacheClusterId

public void setCacheClusterId(String cacheClusterId)
The user-supplied identifier of the source cache cluster.

Parameters:
cacheClusterId - The user-supplied identifier of the source cache cluster.

withCacheClusterId

public Snapshot withCacheClusterId(String cacheClusterId)
The user-supplied identifier of the source cache cluster.

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

Parameters:
cacheClusterId - The user-supplied identifier of the source cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getSnapshotStatus

public String getSnapshotStatus()
The status of the snapshot. Valid values: creating | available | restoring | deleting.

Returns:
The status of the snapshot. Valid values: creating | available | restoring | deleting.

setSnapshotStatus

public void setSnapshotStatus(String snapshotStatus)
The status of the snapshot. Valid values: creating | available | restoring | deleting.

Parameters:
snapshotStatus - The status of the snapshot. Valid values: creating | available | restoring | deleting.

withSnapshotStatus

public Snapshot withSnapshotStatus(String snapshotStatus)
The status of the snapshot. Valid values: creating | available | restoring | deleting.

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

Parameters:
snapshotStatus - The status of the snapshot. Valid values: creating | available | restoring | deleting.
Returns:
A reference to this updated object so that method calls can be chained together.

getSnapshotSource

public String getSnapshotSource()
Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).

Returns:
Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).

setSnapshotSource

public void setSnapshotSource(String snapshotSource)
Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).

Parameters:
snapshotSource - Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).

withSnapshotSource

public Snapshot withSnapshotSource(String snapshotSource)
Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).

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

Parameters:
snapshotSource - Indicates whether the snapshot is from an automatic backup (automated) or was created manually (manual).
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheNodeType

public String getCacheNodeType()
The name of the compute and memory capacity node type for the source cache cluster.

Returns:
The name of the compute and memory capacity node type for the source cache cluster.

setCacheNodeType

public void setCacheNodeType(String cacheNodeType)
The name of the compute and memory capacity node type for the source cache cluster.

Parameters:
cacheNodeType - The name of the compute and memory capacity node type for the source cache cluster.

withCacheNodeType

public Snapshot withCacheNodeType(String cacheNodeType)
The name of the compute and memory capacity node type for the source cache cluster.

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

Parameters:
cacheNodeType - The name of the compute and memory capacity node type for the source cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getEngine

public String getEngine()
The name of the cache engine (memcached or redis) used by the source cache cluster.

Returns:
The name of the cache engine (memcached or redis) used by the source cache cluster.

setEngine

public void setEngine(String engine)
The name of the cache engine (memcached or redis) used by the source cache cluster.

Parameters:
engine - The name of the cache engine (memcached or redis) used by the source cache cluster.

withEngine

public Snapshot withEngine(String engine)
The name of the cache engine (memcached or redis) used by the source cache cluster.

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

Parameters:
engine - The name of the cache engine (memcached or redis) used by the source cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getEngineVersion

public String getEngineVersion()
The version of the cache engine version that is used by the source cache cluster.

Returns:
The version of the cache engine version that is used by the source cache cluster.

setEngineVersion

public void setEngineVersion(String engineVersion)
The version of the cache engine version that is used by the source cache cluster.

Parameters:
engineVersion - The version of the cache engine version that is used by the source cache cluster.

withEngineVersion

public Snapshot withEngineVersion(String engineVersion)
The version of the cache engine version that is used by the source cache cluster.

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

Parameters:
engineVersion - The version of the cache engine version that is used by the source cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getNumCacheNodes

public Integer getNumCacheNodes()
The number of cache nodes in the source cache cluster.

Returns:
The number of cache nodes in the source cache cluster.

setNumCacheNodes

public void setNumCacheNodes(Integer numCacheNodes)
The number of cache nodes in the source cache cluster.

Parameters:
numCacheNodes - The number of cache nodes in the source cache cluster.

withNumCacheNodes

public Snapshot withNumCacheNodes(Integer numCacheNodes)
The number of cache nodes in the source cache cluster.

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

Parameters:
numCacheNodes - The number of cache nodes in the source cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getPreferredAvailabilityZone

public String getPreferredAvailabilityZone()
The name of the Availability Zone in which the source cache cluster is located.

Returns:
The name of the Availability Zone in which the source cache cluster is located.

setPreferredAvailabilityZone

public void setPreferredAvailabilityZone(String preferredAvailabilityZone)
The name of the Availability Zone in which the source cache cluster is located.

Parameters:
preferredAvailabilityZone - The name of the Availability Zone in which the source cache cluster is located.

withPreferredAvailabilityZone

public Snapshot withPreferredAvailabilityZone(String preferredAvailabilityZone)
The name of the Availability Zone in which the source cache cluster is located.

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

Parameters:
preferredAvailabilityZone - The name of the Availability Zone in which the source cache cluster is located.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheClusterCreateTime

public Date getCacheClusterCreateTime()
The date and time when the source cache cluster was created.

Returns:
The date and time when the source cache cluster was created.

setCacheClusterCreateTime

public void setCacheClusterCreateTime(Date cacheClusterCreateTime)
The date and time when the source cache cluster was created.

Parameters:
cacheClusterCreateTime - The date and time when the source cache cluster was created.

withCacheClusterCreateTime

public Snapshot withCacheClusterCreateTime(Date cacheClusterCreateTime)
The date and time when the source cache cluster was created.

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

Parameters:
cacheClusterCreateTime - The date and time when the source cache cluster was created.
Returns:
A reference to this updated object so that method calls can be chained together.

getPreferredMaintenanceWindow

public String getPreferredMaintenanceWindow()
The time range (in UTC) during which weekly system maintenance can occur on the source cache cluster.

Returns:
The time range (in UTC) during which weekly system maintenance can occur on the source cache cluster.

setPreferredMaintenanceWindow

public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The time range (in UTC) during which weekly system maintenance can occur on the source cache cluster.

Parameters:
preferredMaintenanceWindow - The time range (in UTC) during which weekly system maintenance can occur on the source cache cluster.

withPreferredMaintenanceWindow

public Snapshot withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The time range (in UTC) during which weekly system maintenance can occur on the source cache cluster.

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

Parameters:
preferredMaintenanceWindow - The time range (in UTC) during which weekly system maintenance can occur on the source cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getTopicArn

public String getTopicArn()
The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.

Returns:
The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.

setTopicArn

public void setTopicArn(String topicArn)
The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.

Parameters:
topicArn - The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.

withTopicArn

public Snapshot withTopicArn(String topicArn)
The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.

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

Parameters:
topicArn - The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.
Returns:
A reference to this updated object so that method calls can be chained together.

getPort

public Integer getPort()
The port number used by each cache nodes in the source cache cluster.

Returns:
The port number used by each cache nodes in the source cache cluster.

setPort

public void setPort(Integer port)
The port number used by each cache nodes in the source cache cluster.

Parameters:
port - The port number used by each cache nodes in the source cache cluster.

withPort

public Snapshot withPort(Integer port)
The port number used by each cache nodes in the source cache cluster.

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

Parameters:
port - The port number used by each cache nodes in the source cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheParameterGroupName

public String getCacheParameterGroupName()
The cache parameter group that is associated with the source cache cluster.

Returns:
The cache parameter group that is associated with the source cache cluster.

setCacheParameterGroupName

public void setCacheParameterGroupName(String cacheParameterGroupName)
The cache parameter group that is associated with the source cache cluster.

Parameters:
cacheParameterGroupName - The cache parameter group that is associated with the source cache cluster.

withCacheParameterGroupName

public Snapshot withCacheParameterGroupName(String cacheParameterGroupName)
The cache parameter group that is associated with the source cache cluster.

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

Parameters:
cacheParameterGroupName - The cache parameter group that is associated with the source cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheSubnetGroupName

public String getCacheSubnetGroupName()
The name of the cache subnet group associated with the source cache cluster.

Returns:
The name of the cache subnet group associated with the source cache cluster.

setCacheSubnetGroupName

public void setCacheSubnetGroupName(String cacheSubnetGroupName)
The name of the cache subnet group associated with the source cache cluster.

Parameters:
cacheSubnetGroupName - The name of the cache subnet group associated with the source cache cluster.

withCacheSubnetGroupName

public Snapshot withCacheSubnetGroupName(String cacheSubnetGroupName)
The name of the cache subnet group associated with the source cache cluster.

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

Parameters:
cacheSubnetGroupName - The name of the cache subnet group associated with the source cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcId

public String getVpcId()
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.

Returns:
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.

setVpcId

public void setVpcId(String vpcId)
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.

Parameters:
vpcId - The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.

withVpcId

public Snapshot withVpcId(String vpcId)
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.

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

Parameters:
vpcId - The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

isAutoMinorVersionUpgrade

public Boolean isAutoMinorVersionUpgrade()
For the source cache cluster, indicates whether minor version patches are applied automatically (true) or not (false).

Returns:
For the source cache cluster, indicates whether minor version patches are applied automatically (true) or not (false).

setAutoMinorVersionUpgrade

public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
For the source cache cluster, indicates whether minor version patches are applied automatically (true) or not (false).

Parameters:
autoMinorVersionUpgrade - For the source cache cluster, indicates whether minor version patches are applied automatically (true) or not (false).

withAutoMinorVersionUpgrade

public Snapshot withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
For the source cache cluster, indicates whether minor version patches are applied automatically (true) or not (false).

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

Parameters:
autoMinorVersionUpgrade - For the source cache cluster, indicates whether minor version patches are applied automatically (true) or not (false).
Returns:
A reference to this updated object so that method calls can be chained together.

getAutoMinorVersionUpgrade

public Boolean getAutoMinorVersionUpgrade()
For the source cache cluster, indicates whether minor version patches are applied automatically (true) or not (false).

Returns:
For the source cache cluster, indicates whether minor version patches are applied automatically (true) or not (false).

getSnapshotRetentionLimit

public Integer getSnapshotRetentionLimit()
For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.

For manual snapshots, this field reflects the SnapshotRetentionLimit for the source cache cluster when the snapshot was created. This field is otherwise ignored: Manual snapshots do not expire, and can only be deleted using the DeleteSnapshot action.

Returns:
For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.

For manual snapshots, this field reflects the SnapshotRetentionLimit for the source cache cluster when the snapshot was created. This field is otherwise ignored: Manual snapshots do not expire, and can only be deleted using the DeleteSnapshot action.


setSnapshotRetentionLimit

public void setSnapshotRetentionLimit(Integer snapshotRetentionLimit)
For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.

For manual snapshots, this field reflects the SnapshotRetentionLimit for the source cache cluster when the snapshot was created. This field is otherwise ignored: Manual snapshots do not expire, and can only be deleted using the DeleteSnapshot action.

Parameters:
snapshotRetentionLimit - For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.

For manual snapshots, this field reflects the SnapshotRetentionLimit for the source cache cluster when the snapshot was created. This field is otherwise ignored: Manual snapshots do not expire, and can only be deleted using the DeleteSnapshot action.


withSnapshotRetentionLimit

public Snapshot withSnapshotRetentionLimit(Integer snapshotRetentionLimit)
For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.

For manual snapshots, this field reflects the SnapshotRetentionLimit for the source cache cluster when the snapshot was created. This field is otherwise ignored: Manual snapshots do not expire, and can only be deleted using the DeleteSnapshot action.

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

Parameters:
snapshotRetentionLimit - For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.

For manual snapshots, this field reflects the SnapshotRetentionLimit for the source cache cluster when the snapshot was created. This field is otherwise ignored: Manual snapshots do not expire, and can only be deleted using the DeleteSnapshot action.

Returns:
A reference to this updated object so that method calls can be chained together.

getSnapshotWindow

public String getSnapshotWindow()
The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.

Returns:
The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.

setSnapshotWindow

public void setSnapshotWindow(String snapshotWindow)
The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.

Parameters:
snapshotWindow - The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.

withSnapshotWindow

public Snapshot withSnapshotWindow(String snapshotWindow)
The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.

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

Parameters:
snapshotWindow - The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getNodeSnapshots

public List<NodeSnapshot> getNodeSnapshots()
A list of the cache cluster nodes in the source cache cluster.

Returns:
A list of the cache cluster nodes in the source cache cluster.

setNodeSnapshots

public void setNodeSnapshots(Collection<NodeSnapshot> nodeSnapshots)
A list of the cache cluster nodes in the source cache cluster.

Parameters:
nodeSnapshots - A list of the cache cluster nodes in the source cache cluster.

withNodeSnapshots

public Snapshot withNodeSnapshots(NodeSnapshot... nodeSnapshots)
A list of the cache cluster nodes in the source cache cluster.

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

Parameters:
nodeSnapshots - A list of the cache cluster nodes in the source cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

withNodeSnapshots

public Snapshot withNodeSnapshots(Collection<NodeSnapshot> nodeSnapshots)
A list of the cache cluster nodes in the source cache cluster.

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

Parameters:
nodeSnapshots - A list of the cache cluster nodes in the source cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.