Class NodeSnapshot
- java.lang.Object
-
- com.amazonaws.services.elasticache.model.NodeSnapshot
-
- All Implemented Interfaces:
Serializable,Cloneable
public class NodeSnapshot extends Object implements Serializable, Cloneable
Represents an individual cache node in a snapshot of a cache cluster.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeSnapshot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeSnapshotclone()booleanequals(Object obj)DategetCacheNodeCreateTime()The date and time when the cache node was created in the source cache cluster.StringgetCacheNodeId()The cache node identifier for the node in the source cache cluster.StringgetCacheSize()The size of the cache on the source cache node.DategetSnapshotCreateTime()The date and time when the source node's metadata and cache data set was obtained for the snapshot.inthashCode()voidsetCacheNodeCreateTime(Date cacheNodeCreateTime)The date and time when the cache node was created in the source cache cluster.voidsetCacheNodeId(String cacheNodeId)The cache node identifier for the node in the source cache cluster.voidsetCacheSize(String cacheSize)The size of the cache on the source cache node.voidsetSnapshotCreateTime(Date snapshotCreateTime)The date and time when the source node's metadata and cache data set was obtained for the snapshot.StringtoString()Returns a string representation of this object; useful for testing and debugging.NodeSnapshotwithCacheNodeCreateTime(Date cacheNodeCreateTime)The date and time when the cache node was created in the source cache cluster.NodeSnapshotwithCacheNodeId(String cacheNodeId)The cache node identifier for the node in the source cache cluster.NodeSnapshotwithCacheSize(String cacheSize)The size of the cache on the source cache node.NodeSnapshotwithSnapshotCreateTime(Date snapshotCreateTime)The date and time when the source node's metadata and cache data set was obtained for the snapshot.
-
-
-
Method Detail
-
setCacheNodeId
public void setCacheNodeId(String cacheNodeId)
The cache node identifier for the node in the source cache cluster.
- Parameters:
cacheNodeId- The cache node identifier for the node in the source cache cluster.
-
getCacheNodeId
public String getCacheNodeId()
The cache node identifier for the node in the source cache cluster.
- Returns:
- The cache node identifier for the node in the source cache cluster.
-
withCacheNodeId
public NodeSnapshot withCacheNodeId(String cacheNodeId)
The cache node identifier for the node in the source cache cluster.
- Parameters:
cacheNodeId- The cache node identifier for the node in the source cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheSize
public void setCacheSize(String cacheSize)
The size of the cache on the source cache node.
- Parameters:
cacheSize- The size of the cache on the source cache node.
-
getCacheSize
public String getCacheSize()
The size of the cache on the source cache node.
- Returns:
- The size of the cache on the source cache node.
-
withCacheSize
public NodeSnapshot withCacheSize(String cacheSize)
The size of the cache on the source cache node.
- Parameters:
cacheSize- The size of the cache on the source cache node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheNodeCreateTime
public void setCacheNodeCreateTime(Date cacheNodeCreateTime)
The date and time when the cache node was created in the source cache cluster.
- Parameters:
cacheNodeCreateTime- The date and time when the cache node was created in the source cache cluster.
-
getCacheNodeCreateTime
public Date getCacheNodeCreateTime()
The date and time when the cache node was created in the source cache cluster.
- Returns:
- The date and time when the cache node was created in the source cache cluster.
-
withCacheNodeCreateTime
public NodeSnapshot withCacheNodeCreateTime(Date cacheNodeCreateTime)
The date and time when the cache node was created in the source cache cluster.
- Parameters:
cacheNodeCreateTime- The date and time when the cache node was created in the source cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotCreateTime
public void setSnapshotCreateTime(Date snapshotCreateTime)
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
- Parameters:
snapshotCreateTime- The date and time when the source node's metadata and cache data set was obtained for the snapshot.
-
getSnapshotCreateTime
public Date getSnapshotCreateTime()
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
- Returns:
- The date and time when the source node's metadata and cache data set was obtained for the snapshot.
-
withSnapshotCreateTime
public NodeSnapshot withSnapshotCreateTime(Date snapshotCreateTime)
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
- Parameters:
snapshotCreateTime- The date and time when the source node's metadata and cache data set was obtained for the snapshot.- Returns:
- Returns a reference to this 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public NodeSnapshot clone()
-
-