@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NodeSnapshot extends Object implements Serializable, Cloneable
Represents an individual cache node in a snapshot of a cluster.
Constructor and Description |
---|
NodeSnapshot() |
Modifier and Type | Method and Description |
---|---|
NodeSnapshot |
clone() |
boolean |
equals(Object obj) |
String |
getCacheClusterId()
A unique identifier for the source cluster.
|
Date |
getCacheNodeCreateTime()
The date and time when the cache node was created in the source cluster.
|
String |
getCacheNodeId()
The cache node identifier for the node in the source cluster.
|
String |
getCacheSize()
The size of the cache on the source cache node.
|
NodeGroupConfiguration |
getNodeGroupConfiguration()
The configuration for the source node group (shard).
|
String |
getNodeGroupId()
A unique identifier for the source node group (shard).
|
Date |
getSnapshotCreateTime()
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
|
int |
hashCode() |
void |
setCacheClusterId(String cacheClusterId)
A unique identifier for the source cluster.
|
void |
setCacheNodeCreateTime(Date cacheNodeCreateTime)
The date and time when the cache node was created in the source cluster.
|
void |
setCacheNodeId(String cacheNodeId)
The cache node identifier for the node in the source cluster.
|
void |
setCacheSize(String cacheSize)
The size of the cache on the source cache node.
|
void |
setNodeGroupConfiguration(NodeGroupConfiguration nodeGroupConfiguration)
The configuration for the source node group (shard).
|
void |
setNodeGroupId(String nodeGroupId)
A unique identifier for the source node group (shard).
|
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.
|
NodeSnapshot |
withCacheClusterId(String cacheClusterId)
A unique identifier for the source cluster.
|
NodeSnapshot |
withCacheNodeCreateTime(Date cacheNodeCreateTime)
The date and time when the cache node was created in the source cluster.
|
NodeSnapshot |
withCacheNodeId(String cacheNodeId)
The cache node identifier for the node in the source cluster.
|
NodeSnapshot |
withCacheSize(String cacheSize)
The size of the cache on the source cache node.
|
NodeSnapshot |
withNodeGroupConfiguration(NodeGroupConfiguration nodeGroupConfiguration)
The configuration for the source node group (shard).
|
NodeSnapshot |
withNodeGroupId(String nodeGroupId)
A unique identifier for the source node group (shard).
|
NodeSnapshot |
withSnapshotCreateTime(Date snapshotCreateTime)
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
|
public void setCacheClusterId(String cacheClusterId)
A unique identifier for the source cluster.
cacheClusterId
- A unique identifier for the source cluster.public String getCacheClusterId()
A unique identifier for the source cluster.
public NodeSnapshot withCacheClusterId(String cacheClusterId)
A unique identifier for the source cluster.
cacheClusterId
- A unique identifier for the source cluster.public void setNodeGroupId(String nodeGroupId)
A unique identifier for the source node group (shard).
nodeGroupId
- A unique identifier for the source node group (shard).public String getNodeGroupId()
A unique identifier for the source node group (shard).
public NodeSnapshot withNodeGroupId(String nodeGroupId)
A unique identifier for the source node group (shard).
nodeGroupId
- A unique identifier for the source node group (shard).public void setCacheNodeId(String cacheNodeId)
The cache node identifier for the node in the source cluster.
cacheNodeId
- The cache node identifier for the node in the source cluster.public String getCacheNodeId()
The cache node identifier for the node in the source cluster.
public NodeSnapshot withCacheNodeId(String cacheNodeId)
The cache node identifier for the node in the source cluster.
cacheNodeId
- The cache node identifier for the node in the source cluster.public void setNodeGroupConfiguration(NodeGroupConfiguration nodeGroupConfiguration)
The configuration for the source node group (shard).
nodeGroupConfiguration
- The configuration for the source node group (shard).public NodeGroupConfiguration getNodeGroupConfiguration()
The configuration for the source node group (shard).
public NodeSnapshot withNodeGroupConfiguration(NodeGroupConfiguration nodeGroupConfiguration)
The configuration for the source node group (shard).
nodeGroupConfiguration
- The configuration for the source node group (shard).public void setCacheSize(String cacheSize)
The size of the cache on the source cache node.
cacheSize
- The size of the cache on the source cache node.public String getCacheSize()
The size of the cache on the source cache node.
public NodeSnapshot withCacheSize(String cacheSize)
The size of the cache on the source cache node.
cacheSize
- The size of the cache on the source cache node.public void setCacheNodeCreateTime(Date cacheNodeCreateTime)
The date and time when the cache node was created in the source cluster.
cacheNodeCreateTime
- The date and time when the cache node was created in the source cluster.public Date getCacheNodeCreateTime()
The date and time when the cache node was created in the source cluster.
public NodeSnapshot withCacheNodeCreateTime(Date cacheNodeCreateTime)
The date and time when the cache node was created in the source cluster.
cacheNodeCreateTime
- The date and time when the cache node was created in the source cluster.public void setSnapshotCreateTime(Date snapshotCreateTime)
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
snapshotCreateTime
- The date and time when the source node's metadata and cache data set was obtained for the snapshot.public Date getSnapshotCreateTime()
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
public NodeSnapshot withSnapshotCreateTime(Date snapshotCreateTime)
The date and time when the source node's metadata and cache data set was obtained for the snapshot.
snapshotCreateTime
- The date and time when the source node's metadata and cache data set was obtained for the snapshot.public String toString()
toString
in class Object
Object.toString()
public NodeSnapshot clone()