com.amazonaws.services.elasticache.model
Class NodeSnapshot

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

public class NodeSnapshot
extends Object
implements Serializable

Represents an individual cache node in a snapshot of a cache cluster.

See Also:
Serialized Form

Constructor Summary
NodeSnapshot()
           
 
Method Summary
 boolean equals(Object obj)
           
 Date getCacheNodeCreateTime()
          The date and time when the cache node was created in the source cache cluster.
 String getCacheNodeId()
          The cache node identifier for the node in the source cache cluster.
 String getCacheSize()
          The size of the cache on the source cache node.
 Date getSnapshotCreateTime()
          The date and time when the source node's metadata and cache data set was obtained for the snapshot.
 int hashCode()
           
 void setCacheNodeCreateTime(Date cacheNodeCreateTime)
          The date and time when the cache node was created in the source cache cluster.
 void setCacheNodeId(String cacheNodeId)
          The cache node identifier for the node in the source cache cluster.
 void setCacheSize(String cacheSize)
          The size of the cache on the source cache node.
 void setSnapshotCreateTime(Date snapshotCreateTime)
          The date and time when the source node's metadata and cache data set was obtained for the snapshot.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 NodeSnapshot withCacheNodeCreateTime(Date cacheNodeCreateTime)
          The date and time when the cache node was created in the source cache cluster.
 NodeSnapshot withCacheNodeId(String cacheNodeId)
          The cache node identifier for the node in the source cache cluster.
 NodeSnapshot withCacheSize(String cacheSize)
          The size of the cache on the source cache node.
 NodeSnapshot withSnapshotCreateTime(Date snapshotCreateTime)
          The date and time when the source node's metadata and cache data set was obtained for the snapshot.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeSnapshot

public NodeSnapshot()
Method Detail

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.

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.

withCacheNodeId

public NodeSnapshot withCacheNodeId(String cacheNodeId)
The cache node identifier for the node in the source cache cluster.

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

Parameters:
cacheNodeId - The cache node identifier for the node in the source cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withCacheSize

public NodeSnapshot withCacheSize(String cacheSize)
The size of the cache on the source cache node.

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

Parameters:
cacheSize - The size of the cache on the source cache node.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withCacheNodeCreateTime

public NodeSnapshot withCacheNodeCreateTime(Date cacheNodeCreateTime)
The date and time when the cache node was created in the source cache cluster.

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

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

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.

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.

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.

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

Parameters:
snapshotCreateTime - The date and time when the source node's metadata and cache data set was obtained for the snapshot.
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.