Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class CacheCluster

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

public class CacheCluster
extends Object
implements Serializable

Contains information about a Cache Cluster.

See Also:
Serialized Form

Constructor Summary
CacheCluster()
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getAutoMinorVersionUpgrade()
          Indicates that minor version patches are applied automatically.
 Date getCacheClusterCreateTime()
          Provides the date and time the Cache Cluster was created.
 String getCacheClusterId()
          Specifies a user-supplied identifier.
 String getCacheClusterStatus()
          Specifies the current state of this Cache Cluster.
 List<CacheNode> getCacheNodes()
          Specifies the list of Cache Nodes the Cache Cluster contains.
 String getCacheNodeType()
          Specifies the name of the compute and memory capacity node type for the Cache Cluster.
 CacheParameterGroupStatus getCacheParameterGroup()
          Provides the status of the Cache Parameter Group assigned to the Cache Cluster.
 List<CacheSecurityGroupMembership> getCacheSecurityGroups()
          Provides the list of Cache Security Group elements containing CacheSecurityGroup.Name and CacheSecurityGroup.Status sub-elements.
 String getCacheSubnetGroupName()
          Specifies the name of the Cache Subnet Group associated with the Cache Cluster.
 String getClientDownloadLandingPage()
          Provides the landing page to download the latest ElastiCache client library.
 Endpoint getConfigurationEndpoint()
          Specifies a user-supplied identifier.
 String getEngine()
          Provides the name of the cache engine to be used for this Cache Cluster.
 String getEngineVersion()
          Provides the cache engine version of the cache engine to be used for this Cache Cluster.
 NotificationConfiguration getNotificationConfiguration()
          Specifies the notification details the Cache Cluster contains.
 Integer getNumCacheNodes()
          Specifies the number of Cache Nodes the Cache Cluster contains.
 PendingModifiedValues getPendingModifiedValues()
          Specifies that changes to the Cache Cluster are pending.
 String getPreferredAvailabilityZone()
          Specifies the name of the Availability Zone the Cache Cluster is located in.
 String getPreferredMaintenanceWindow()
          Specifies the weekly time range (in UTC) during which system maintenance can occur.
 List<SecurityGroupMembership> getSecurityGroups()
          Specifies the VPC Security Groups associated with the Cache Cluster.
 int hashCode()
           
 Boolean isAutoMinorVersionUpgrade()
          Indicates that minor version patches are applied automatically.
 void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
          Indicates that minor version patches are applied automatically.
 void setCacheClusterCreateTime(Date cacheClusterCreateTime)
          Provides the date and time the Cache Cluster was created.
 void setCacheClusterId(String cacheClusterId)
          Specifies a user-supplied identifier.
 void setCacheClusterStatus(String cacheClusterStatus)
          Specifies the current state of this Cache Cluster.
 void setCacheNodes(Collection<CacheNode> cacheNodes)
          Specifies the list of Cache Nodes the Cache Cluster contains.
 void setCacheNodeType(String cacheNodeType)
          Specifies the name of the compute and memory capacity node type for the Cache Cluster.
 void setCacheParameterGroup(CacheParameterGroupStatus cacheParameterGroup)
          Provides the status of the Cache Parameter Group assigned to the Cache Cluster.
 void setCacheSecurityGroups(Collection<CacheSecurityGroupMembership> cacheSecurityGroups)
          Provides the list of Cache Security Group elements containing CacheSecurityGroup.Name and CacheSecurityGroup.Status sub-elements.
 void setCacheSubnetGroupName(String cacheSubnetGroupName)
          Specifies the name of the Cache Subnet Group associated with the Cache Cluster.
 void setClientDownloadLandingPage(String clientDownloadLandingPage)
          Provides the landing page to download the latest ElastiCache client library.
 void setConfigurationEndpoint(Endpoint configurationEndpoint)
          Specifies a user-supplied identifier.
 void setEngine(String engine)
          Provides the name of the cache engine to be used for this Cache Cluster.
 void setEngineVersion(String engineVersion)
          Provides the cache engine version of the cache engine to be used for this Cache Cluster.
 void setNotificationConfiguration(NotificationConfiguration notificationConfiguration)
          Specifies the notification details the Cache Cluster contains.
 void setNumCacheNodes(Integer numCacheNodes)
          Specifies the number of Cache Nodes the Cache Cluster contains.
 void setPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
          Specifies that changes to the Cache Cluster are pending.
 void setPreferredAvailabilityZone(String preferredAvailabilityZone)
          Specifies the name of the Availability Zone the Cache Cluster is located in.
 void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
          Specifies the weekly time range (in UTC) during which system maintenance can occur.
 void setSecurityGroups(Collection<SecurityGroupMembership> securityGroups)
          Specifies the VPC Security Groups associated with the Cache Cluster.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CacheCluster withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
          Indicates that minor version patches are applied automatically.
 CacheCluster withCacheClusterCreateTime(Date cacheClusterCreateTime)
          Provides the date and time the Cache Cluster was created.
 CacheCluster withCacheClusterId(String cacheClusterId)
          Specifies a user-supplied identifier.
 CacheCluster withCacheClusterStatus(String cacheClusterStatus)
          Specifies the current state of this Cache Cluster.
 CacheCluster withCacheNodes(CacheNode... cacheNodes)
          Specifies the list of Cache Nodes the Cache Cluster contains.
 CacheCluster withCacheNodes(Collection<CacheNode> cacheNodes)
          Specifies the list of Cache Nodes the Cache Cluster contains.
 CacheCluster withCacheNodeType(String cacheNodeType)
          Specifies the name of the compute and memory capacity node type for the Cache Cluster.
 CacheCluster withCacheParameterGroup(CacheParameterGroupStatus cacheParameterGroup)
          Provides the status of the Cache Parameter Group assigned to the Cache Cluster.
 CacheCluster withCacheSecurityGroups(CacheSecurityGroupMembership... cacheSecurityGroups)
          Provides the list of Cache Security Group elements containing CacheSecurityGroup.Name and CacheSecurityGroup.Status sub-elements.
 CacheCluster withCacheSecurityGroups(Collection<CacheSecurityGroupMembership> cacheSecurityGroups)
          Provides the list of Cache Security Group elements containing CacheSecurityGroup.Name and CacheSecurityGroup.Status sub-elements.
 CacheCluster withCacheSubnetGroupName(String cacheSubnetGroupName)
          Specifies the name of the Cache Subnet Group associated with the Cache Cluster.
 CacheCluster withClientDownloadLandingPage(String clientDownloadLandingPage)
          Provides the landing page to download the latest ElastiCache client library.
 CacheCluster withConfigurationEndpoint(Endpoint configurationEndpoint)
          Specifies a user-supplied identifier.
 CacheCluster withEngine(String engine)
          Provides the name of the cache engine to be used for this Cache Cluster.
 CacheCluster withEngineVersion(String engineVersion)
          Provides the cache engine version of the cache engine to be used for this Cache Cluster.
 CacheCluster withNotificationConfiguration(NotificationConfiguration notificationConfiguration)
          Specifies the notification details the Cache Cluster contains.
 CacheCluster withNumCacheNodes(Integer numCacheNodes)
          Specifies the number of Cache Nodes the Cache Cluster contains.
 CacheCluster withPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
          Specifies that changes to the Cache Cluster are pending.
 CacheCluster withPreferredAvailabilityZone(String preferredAvailabilityZone)
          Specifies the name of the Availability Zone the Cache Cluster is located in.
 CacheCluster withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
          Specifies the weekly time range (in UTC) during which system maintenance can occur.
 CacheCluster withSecurityGroups(Collection<SecurityGroupMembership> securityGroups)
          Specifies the VPC Security Groups associated with the Cache Cluster.
 CacheCluster withSecurityGroups(SecurityGroupMembership... securityGroups)
          Specifies the VPC Security Groups associated with the Cache Cluster.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheCluster

public CacheCluster()
Method Detail

getCacheClusterId

public String getCacheClusterId()
Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.

Returns:
Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.

setCacheClusterId

public void setCacheClusterId(String cacheClusterId)
Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.

Parameters:
cacheClusterId - Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.

withCacheClusterId

public CacheCluster withCacheClusterId(String cacheClusterId)
Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.

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

Parameters:
cacheClusterId - Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getConfigurationEndpoint

public Endpoint getConfigurationEndpoint()
Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.

Returns:
Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.

setConfigurationEndpoint

public void setConfigurationEndpoint(Endpoint configurationEndpoint)
Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.

Parameters:
configurationEndpoint - Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.

withConfigurationEndpoint

public CacheCluster withConfigurationEndpoint(Endpoint configurationEndpoint)
Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.

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

Parameters:
configurationEndpoint - Specifies a user-supplied identifier. This is the unique key that identifies a Cache Cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getClientDownloadLandingPage

public String getClientDownloadLandingPage()
Provides the landing page to download the latest ElastiCache client library.

Returns:
Provides the landing page to download the latest ElastiCache client library.

setClientDownloadLandingPage

public void setClientDownloadLandingPage(String clientDownloadLandingPage)
Provides the landing page to download the latest ElastiCache client library.

Parameters:
clientDownloadLandingPage - Provides the landing page to download the latest ElastiCache client library.

withClientDownloadLandingPage

public CacheCluster withClientDownloadLandingPage(String clientDownloadLandingPage)
Provides the landing page to download the latest ElastiCache client library.

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

Parameters:
clientDownloadLandingPage - Provides the landing page to download the latest ElastiCache client library.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheNodeType

public String getCacheNodeType()
Specifies the name of the compute and memory capacity node type for the Cache Cluster.

Returns:
Specifies the name of the compute and memory capacity node type for the Cache Cluster.

setCacheNodeType

public void setCacheNodeType(String cacheNodeType)
Specifies the name of the compute and memory capacity node type for the Cache Cluster.

Parameters:
cacheNodeType - Specifies the name of the compute and memory capacity node type for the Cache Cluster.

withCacheNodeType

public CacheCluster withCacheNodeType(String cacheNodeType)
Specifies the name of the compute and memory capacity node type for the Cache Cluster.

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

Parameters:
cacheNodeType - Specifies the name of the compute and memory capacity node type for the Cache Cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getEngine

public String getEngine()
Provides the name of the cache engine to be used for this Cache Cluster.

Returns:
Provides the name of the cache engine to be used for this Cache Cluster.

setEngine

public void setEngine(String engine)
Provides the name of the cache engine to be used for this Cache Cluster.

Parameters:
engine - Provides the name of the cache engine to be used for this Cache Cluster.

withEngine

public CacheCluster withEngine(String engine)
Provides the name of the cache engine to be used for this Cache Cluster.

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

Parameters:
engine - Provides the name of the cache engine to be used for this Cache Cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getEngineVersion

public String getEngineVersion()
Provides the cache engine version of the cache engine to be used for this Cache Cluster.

Returns:
Provides the cache engine version of the cache engine to be used for this Cache Cluster.

setEngineVersion

public void setEngineVersion(String engineVersion)
Provides the cache engine version of the cache engine to be used for this Cache Cluster.

Parameters:
engineVersion - Provides the cache engine version of the cache engine to be used for this Cache Cluster.

withEngineVersion

public CacheCluster withEngineVersion(String engineVersion)
Provides the cache engine version of the cache engine to be used for this Cache Cluster.

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

Parameters:
engineVersion - Provides the cache engine version of the cache engine to be used for this Cache Cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheClusterStatus

public String getCacheClusterStatus()
Specifies the current state of this Cache Cluster.

Returns:
Specifies the current state of this Cache Cluster.

setCacheClusterStatus

public void setCacheClusterStatus(String cacheClusterStatus)
Specifies the current state of this Cache Cluster.

Parameters:
cacheClusterStatus - Specifies the current state of this Cache Cluster.

withCacheClusterStatus

public CacheCluster withCacheClusterStatus(String cacheClusterStatus)
Specifies the current state of this Cache Cluster.

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

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

getNumCacheNodes

public Integer getNumCacheNodes()
Specifies the number of Cache Nodes the Cache Cluster contains.

Returns:
Specifies the number of Cache Nodes the Cache Cluster contains.

setNumCacheNodes

public void setNumCacheNodes(Integer numCacheNodes)
Specifies the number of Cache Nodes the Cache Cluster contains.

Parameters:
numCacheNodes - Specifies the number of Cache Nodes the Cache Cluster contains.

withNumCacheNodes

public CacheCluster withNumCacheNodes(Integer numCacheNodes)
Specifies the number of Cache Nodes the Cache Cluster contains.

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

Parameters:
numCacheNodes - Specifies the number of Cache Nodes the Cache Cluster contains.
Returns:
A reference to this updated object so that method calls can be chained together.

getPreferredAvailabilityZone

public String getPreferredAvailabilityZone()
Specifies the name of the Availability Zone the Cache Cluster is located in.

Returns:
Specifies the name of the Availability Zone the Cache Cluster is located in.

setPreferredAvailabilityZone

public void setPreferredAvailabilityZone(String preferredAvailabilityZone)
Specifies the name of the Availability Zone the Cache Cluster is located in.

Parameters:
preferredAvailabilityZone - Specifies the name of the Availability Zone the Cache Cluster is located in.

withPreferredAvailabilityZone

public CacheCluster withPreferredAvailabilityZone(String preferredAvailabilityZone)
Specifies the name of the Availability Zone the Cache Cluster is located in.

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

Parameters:
preferredAvailabilityZone - Specifies the name of the Availability Zone the Cache Cluster is located in.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheClusterCreateTime

public Date getCacheClusterCreateTime()
Provides the date and time the Cache Cluster was created.

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

setCacheClusterCreateTime

public void setCacheClusterCreateTime(Date cacheClusterCreateTime)
Provides the date and time the Cache Cluster was created.

Parameters:
cacheClusterCreateTime - Provides the date and time the Cache Cluster was created.

withCacheClusterCreateTime

public CacheCluster withCacheClusterCreateTime(Date cacheClusterCreateTime)
Provides the date and time the Cache Cluster was created.

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

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

getPreferredMaintenanceWindow

public String getPreferredMaintenanceWindow()
Specifies the weekly time range (in UTC) during which system maintenance can occur.

Returns:
Specifies the weekly time range (in UTC) during which system maintenance can occur.

setPreferredMaintenanceWindow

public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Specifies the weekly time range (in UTC) during which system maintenance can occur.

Parameters:
preferredMaintenanceWindow - Specifies the weekly time range (in UTC) during which system maintenance can occur.

withPreferredMaintenanceWindow

public CacheCluster withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
Specifies the weekly time range (in UTC) during which system maintenance can occur.

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

Parameters:
preferredMaintenanceWindow - Specifies the weekly time range (in UTC) during which system maintenance can occur.
Returns:
A reference to this updated object so that method calls can be chained together.

getPendingModifiedValues

public PendingModifiedValues getPendingModifiedValues()
Specifies that changes to the Cache Cluster are pending. This element is only included when changes are pending. Specific changes are identified by sub-elements.

Returns:
Specifies that changes to the Cache Cluster are pending. This element is only included when changes are pending. Specific changes are identified by sub-elements.

setPendingModifiedValues

public void setPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
Specifies that changes to the Cache Cluster are pending. This element is only included when changes are pending. Specific changes are identified by sub-elements.

Parameters:
pendingModifiedValues - Specifies that changes to the Cache Cluster are pending. This element is only included when changes are pending. Specific changes are identified by sub-elements.

withPendingModifiedValues

public CacheCluster withPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
Specifies that changes to the Cache Cluster are pending. This element is only included when changes are pending. Specific changes are identified by sub-elements.

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

Parameters:
pendingModifiedValues - Specifies that changes to the Cache Cluster are pending. This element is only included when changes are pending. Specific changes are identified by sub-elements.
Returns:
A reference to this updated object so that method calls can be chained together.

getNotificationConfiguration

public NotificationConfiguration getNotificationConfiguration()
Specifies the notification details the Cache Cluster contains.

Returns:
Specifies the notification details the Cache Cluster contains.

setNotificationConfiguration

public void setNotificationConfiguration(NotificationConfiguration notificationConfiguration)
Specifies the notification details the Cache Cluster contains.

Parameters:
notificationConfiguration - Specifies the notification details the Cache Cluster contains.

withNotificationConfiguration

public CacheCluster withNotificationConfiguration(NotificationConfiguration notificationConfiguration)
Specifies the notification details the Cache Cluster contains.

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

Parameters:
notificationConfiguration - Specifies the notification details the Cache Cluster contains.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheSecurityGroups

public List<CacheSecurityGroupMembership> getCacheSecurityGroups()
Provides the list of Cache Security Group elements containing CacheSecurityGroup.Name and CacheSecurityGroup.Status sub-elements.

Returns:
Provides the list of Cache Security Group elements containing CacheSecurityGroup.Name and CacheSecurityGroup.Status sub-elements.

setCacheSecurityGroups

public void setCacheSecurityGroups(Collection<CacheSecurityGroupMembership> cacheSecurityGroups)
Provides the list of Cache Security Group elements containing CacheSecurityGroup.Name and CacheSecurityGroup.Status sub-elements.

Parameters:
cacheSecurityGroups - Provides the list of Cache Security Group elements containing CacheSecurityGroup.Name and CacheSecurityGroup.Status sub-elements.

withCacheSecurityGroups

public CacheCluster withCacheSecurityGroups(CacheSecurityGroupMembership... cacheSecurityGroups)
Provides the list of Cache Security Group elements containing CacheSecurityGroup.Name and CacheSecurityGroup.Status sub-elements.

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

Parameters:
cacheSecurityGroups - Provides the list of Cache Security Group elements containing CacheSecurityGroup.Name and CacheSecurityGroup.Status sub-elements.
Returns:
A reference to this updated object so that method calls can be chained together.

withCacheSecurityGroups

public CacheCluster withCacheSecurityGroups(Collection<CacheSecurityGroupMembership> cacheSecurityGroups)
Provides the list of Cache Security Group elements containing CacheSecurityGroup.Name and CacheSecurityGroup.Status sub-elements.

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

Parameters:
cacheSecurityGroups - Provides the list of Cache Security Group elements containing CacheSecurityGroup.Name and CacheSecurityGroup.Status sub-elements.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheParameterGroup

public CacheParameterGroupStatus getCacheParameterGroup()
Provides the status of the Cache Parameter Group assigned to the Cache Cluster.

Returns:
Provides the status of the Cache Parameter Group assigned to the Cache Cluster.

setCacheParameterGroup

public void setCacheParameterGroup(CacheParameterGroupStatus cacheParameterGroup)
Provides the status of the Cache Parameter Group assigned to the Cache Cluster.

Parameters:
cacheParameterGroup - Provides the status of the Cache Parameter Group assigned to the Cache Cluster.

withCacheParameterGroup

public CacheCluster withCacheParameterGroup(CacheParameterGroupStatus cacheParameterGroup)
Provides the status of the Cache Parameter Group assigned to the Cache Cluster.

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

Parameters:
cacheParameterGroup - Provides the status of the Cache Parameter Group assigned to the Cache Cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheSubnetGroupName

public String getCacheSubnetGroupName()
Specifies the name of the Cache Subnet Group associated with the Cache Cluster.

Returns:
Specifies the name of the Cache Subnet Group associated with the Cache Cluster.

setCacheSubnetGroupName

public void setCacheSubnetGroupName(String cacheSubnetGroupName)
Specifies the name of the Cache Subnet Group associated with the Cache Cluster.

Parameters:
cacheSubnetGroupName - Specifies the name of the Cache Subnet Group associated with the Cache Cluster.

withCacheSubnetGroupName

public CacheCluster withCacheSubnetGroupName(String cacheSubnetGroupName)
Specifies the name of the Cache Subnet Group associated with the Cache Cluster.

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

Parameters:
cacheSubnetGroupName - Specifies the name of the Cache Subnet Group associated with the Cache Cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheNodes

public List<CacheNode> getCacheNodes()
Specifies the list of Cache Nodes the Cache Cluster contains.

Returns:
Specifies the list of Cache Nodes the Cache Cluster contains.

setCacheNodes

public void setCacheNodes(Collection<CacheNode> cacheNodes)
Specifies the list of Cache Nodes the Cache Cluster contains.

Parameters:
cacheNodes - Specifies the list of Cache Nodes the Cache Cluster contains.

withCacheNodes

public CacheCluster withCacheNodes(CacheNode... cacheNodes)
Specifies the list of Cache Nodes the Cache Cluster contains.

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

Parameters:
cacheNodes - Specifies the list of Cache Nodes the Cache Cluster contains.
Returns:
A reference to this updated object so that method calls can be chained together.

withCacheNodes

public CacheCluster withCacheNodes(Collection<CacheNode> cacheNodes)
Specifies the list of Cache Nodes the Cache Cluster contains.

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

Parameters:
cacheNodes - Specifies the list of Cache Nodes the Cache Cluster contains.
Returns:
A reference to this updated object so that method calls can be chained together.

isAutoMinorVersionUpgrade

public Boolean isAutoMinorVersionUpgrade()
Indicates that minor version patches are applied automatically.

Returns:
Indicates that minor version patches are applied automatically.

setAutoMinorVersionUpgrade

public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Indicates that minor version patches are applied automatically.

Parameters:
autoMinorVersionUpgrade - Indicates that minor version patches are applied automatically.

withAutoMinorVersionUpgrade

public CacheCluster withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Indicates that minor version patches are applied automatically.

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

Parameters:
autoMinorVersionUpgrade - Indicates that minor version patches are applied automatically.
Returns:
A reference to this updated object so that method calls can be chained together.

getAutoMinorVersionUpgrade

public Boolean getAutoMinorVersionUpgrade()
Indicates that minor version patches are applied automatically.

Returns:
Indicates that minor version patches are applied automatically.

getSecurityGroups

public List<SecurityGroupMembership> getSecurityGroups()
Specifies the VPC Security Groups associated with the Cache Cluster.

Returns:
Specifies the VPC Security Groups associated with the Cache Cluster.

setSecurityGroups

public void setSecurityGroups(Collection<SecurityGroupMembership> securityGroups)
Specifies the VPC Security Groups associated with the Cache Cluster.

Parameters:
securityGroups - Specifies the VPC Security Groups associated with the Cache Cluster.

withSecurityGroups

public CacheCluster withSecurityGroups(SecurityGroupMembership... securityGroups)
Specifies the VPC Security Groups associated with the Cache Cluster.

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

Parameters:
securityGroups - Specifies the VPC Security Groups associated with the Cache Cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

withSecurityGroups

public CacheCluster withSecurityGroups(Collection<SecurityGroupMembership> securityGroups)
Specifies the VPC Security Groups associated with the Cache Cluster.

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

Parameters:
securityGroups - Specifies the VPC Security Groups associated with the Cache Cluster.
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.