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:
  • Constructor Details

    • NodeSnapshot

      public NodeSnapshot()
  • Method Details

    • 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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public NodeSnapshot clone()
      Overrides:
      clone in class Object