Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class CacheNode

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

public class CacheNode
extends Object
implements Serializable

A Cache Cluster is made up of one or more Cache Nodes. Each Cache Node is an separate endpoint servicing the memcached protocol.

See Also:
Serialized Form

Constructor Summary
CacheNode()
          Default constructor for a new CacheNode object.
 
Method Summary
 boolean equals(Object obj)
           
 Date getCacheNodeCreateTime()
          Provides the date and time the Cache Node was created.
 String getCacheNodeId()
          Specifies a Cache Node identifier.
 String getCacheNodeStatus()
          Specifies the current state of this Cache Node.
 Endpoint getEndpoint()
          Specifies the endpoint details for a Cache Node.
 String getParameterGroupStatus()
          Specifies the status of the parameter group applied to this Cache Node.
 int hashCode()
           
 void setCacheNodeCreateTime(Date cacheNodeCreateTime)
          Provides the date and time the Cache Node was created.
 void setCacheNodeId(String cacheNodeId)
          Specifies a Cache Node identifier.
 void setCacheNodeStatus(String cacheNodeStatus)
          Specifies the current state of this Cache Node.
 void setEndpoint(Endpoint endpoint)
          Specifies the endpoint details for a Cache Node.
 void setParameterGroupStatus(String parameterGroupStatus)
          Specifies the status of the parameter group applied to this Cache Node.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CacheNode withCacheNodeCreateTime(Date cacheNodeCreateTime)
          Provides the date and time the Cache Node was created.
 CacheNode withCacheNodeId(String cacheNodeId)
          Specifies a Cache Node identifier.
 CacheNode withCacheNodeStatus(String cacheNodeStatus)
          Specifies the current state of this Cache Node.
 CacheNode withEndpoint(Endpoint endpoint)
          Specifies the endpoint details for a Cache Node.
 CacheNode withParameterGroupStatus(String parameterGroupStatus)
          Specifies the status of the parameter group applied to this Cache Node.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheNode

public CacheNode()
Default constructor for a new CacheNode object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getCacheNodeId

public String getCacheNodeId()
Specifies a Cache Node identifier. This is the unique key that identifies a Cache Node per Customer (AWS account).

Returns:
Specifies a Cache Node identifier. This is the unique key that identifies a Cache Node per Customer (AWS account).

setCacheNodeId

public void setCacheNodeId(String cacheNodeId)
Specifies a Cache Node identifier. This is the unique key that identifies a Cache Node per Customer (AWS account).

Parameters:
cacheNodeId - Specifies a Cache Node identifier. This is the unique key that identifies a Cache Node per Customer (AWS account).

withCacheNodeId

public CacheNode withCacheNodeId(String cacheNodeId)
Specifies a Cache Node identifier. This is the unique key that identifies a Cache Node per Customer (AWS account).

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

Parameters:
cacheNodeId - Specifies a Cache Node identifier. This is the unique key that identifies a Cache Node per Customer (AWS account).
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheNodeStatus

public String getCacheNodeStatus()
Specifies the current state of this Cache Node.

Returns:
Specifies the current state of this Cache Node.

setCacheNodeStatus

public void setCacheNodeStatus(String cacheNodeStatus)
Specifies the current state of this Cache Node.

Parameters:
cacheNodeStatus - Specifies the current state of this Cache Node.

withCacheNodeStatus

public CacheNode withCacheNodeStatus(String cacheNodeStatus)
Specifies the current state of this Cache Node.

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

Parameters:
cacheNodeStatus - Specifies the current state of this Cache Node.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheNodeCreateTime

public Date getCacheNodeCreateTime()
Provides the date and time the Cache Node was created.

Returns:
Provides the date and time the Cache Node was created.

setCacheNodeCreateTime

public void setCacheNodeCreateTime(Date cacheNodeCreateTime)
Provides the date and time the Cache Node was created.

Parameters:
cacheNodeCreateTime - Provides the date and time the Cache Node was created.

withCacheNodeCreateTime

public CacheNode withCacheNodeCreateTime(Date cacheNodeCreateTime)
Provides the date and time the Cache Node was created.

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

Parameters:
cacheNodeCreateTime - Provides the date and time the Cache Node was created.
Returns:
A reference to this updated object so that method calls can be chained together.

getEndpoint

public Endpoint getEndpoint()
Specifies the endpoint details for a Cache Node.

Returns:
Specifies the endpoint details for a Cache Node.

setEndpoint

public void setEndpoint(Endpoint endpoint)
Specifies the endpoint details for a Cache Node.

Parameters:
endpoint - Specifies the endpoint details for a Cache Node.

withEndpoint

public CacheNode withEndpoint(Endpoint endpoint)
Specifies the endpoint details for a Cache Node.

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

Parameters:
endpoint - Specifies the endpoint details for a Cache Node.
Returns:
A reference to this updated object so that method calls can be chained together.

getParameterGroupStatus

public String getParameterGroupStatus()
Specifies the status of the parameter group applied to this Cache Node.

Returns:
Specifies the status of the parameter group applied to this Cache Node.

setParameterGroupStatus

public void setParameterGroupStatus(String parameterGroupStatus)
Specifies the status of the parameter group applied to this Cache Node.

Parameters:
parameterGroupStatus - Specifies the status of the parameter group applied to this Cache Node.

withParameterGroupStatus

public CacheNode withParameterGroupStatus(String parameterGroupStatus)
Specifies the status of the parameter group applied to this Cache Node.

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

Parameters:
parameterGroupStatus - Specifies the status of the parameter group applied to this Cache Node.
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 © 2010 Amazon Web Services, Inc. All Rights Reserved.