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 all of the attributes of a specific cache cluster.

See Also:
Serialized Form

Constructor Summary
CacheCluster()
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getAutoMinorVersionUpgrade()
          If true, then minor version patches are applied automatically; if false, then automatic minor version patches are disabled.
 Date getCacheClusterCreateTime()
          The date and time when the cache cluster was created.
 String getCacheClusterId()
          The user-supplied identifier of the cache cluster.
 String getCacheClusterStatus()
          The current state of this cache cluster - creating, available, etc.
 List<CacheNode> getCacheNodes()
          A list of cache nodes that are members of the cache cluster.
 String getCacheNodeType()
          The name of the compute and memory capacity node type for the cache cluster.
 CacheParameterGroupStatus getCacheParameterGroup()
          The status of the cache parameter group.
 List<CacheSecurityGroupMembership> getCacheSecurityGroups()
          A list of cache security group elements, composed of name and status sub-elements.
 String getCacheSubnetGroupName()
          The name of the cache subnet group associated with the cache cluster.
 String getClientDownloadLandingPage()
          The URL of the web page where you can download the latest ElastiCache client library.
 Endpoint getConfigurationEndpoint()
          Represents the information required for client programs to connect to a cache node.
 String getEngine()
          The name of the cache engine (memcached or redis) to be used for this cache cluster.
 String getEngineVersion()
          The version of the cache engine version that is used in this cache cluster.
 NotificationConfiguration getNotificationConfiguration()
          Describes a notification topic and its status.
 Integer getNumCacheNodes()
          The number of cache nodes in the cache cluster.
 PendingModifiedValues getPendingModifiedValues()
          A group of settings that will be applied to the cache cluster in the future, or that are currently being applied.
 String getPreferredAvailabilityZone()
          The name of the Availability Zone in which the cache cluster is located.
 String getPreferredMaintenanceWindow()
          The time range (in UTC) during which weekly system maintenance can occur.
 String getReplicationGroupId()
          The replication group to which this cache cluster belongs.
 List<SecurityGroupMembership> getSecurityGroups()
          A list of VPC Security Groups associated with the cache cluster.
 Integer getSnapshotRetentionLimit()
          The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them.
 String getSnapshotWindow()
          The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster.
 int hashCode()
           
 Boolean isAutoMinorVersionUpgrade()
          If true, then minor version patches are applied automatically; if false, then automatic minor version patches are disabled.
 void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
          If true, then minor version patches are applied automatically; if false, then automatic minor version patches are disabled.
 void setCacheClusterCreateTime(Date cacheClusterCreateTime)
          The date and time when the cache cluster was created.
 void setCacheClusterId(String cacheClusterId)
          The user-supplied identifier of the cache cluster.
 void setCacheClusterStatus(String cacheClusterStatus)
          The current state of this cache cluster - creating, available, etc.
 void setCacheNodes(Collection<CacheNode> cacheNodes)
          A list of cache nodes that are members of the cache cluster.
 void setCacheNodeType(String cacheNodeType)
          The name of the compute and memory capacity node type for the cache cluster.
 void setCacheParameterGroup(CacheParameterGroupStatus cacheParameterGroup)
          The status of the cache parameter group.
 void setCacheSecurityGroups(Collection<CacheSecurityGroupMembership> cacheSecurityGroups)
          A list of cache security group elements, composed of name and status sub-elements.
 void setCacheSubnetGroupName(String cacheSubnetGroupName)
          The name of the cache subnet group associated with the cache cluster.
 void setClientDownloadLandingPage(String clientDownloadLandingPage)
          The URL of the web page where you can download the latest ElastiCache client library.
 void setConfigurationEndpoint(Endpoint configurationEndpoint)
          Represents the information required for client programs to connect to a cache node.
 void setEngine(String engine)
          The name of the cache engine (memcached or redis) to be used for this cache cluster.
 void setEngineVersion(String engineVersion)
          The version of the cache engine version that is used in this cache cluster.
 void setNotificationConfiguration(NotificationConfiguration notificationConfiguration)
          Describes a notification topic and its status.
 void setNumCacheNodes(Integer numCacheNodes)
          The number of cache nodes in the cache cluster.
 void setPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
          A group of settings that will be applied to the cache cluster in the future, or that are currently being applied.
 void setPreferredAvailabilityZone(String preferredAvailabilityZone)
          The name of the Availability Zone in which the cache cluster is located.
 void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
          The time range (in UTC) during which weekly system maintenance can occur.
 void setReplicationGroupId(String replicationGroupId)
          The replication group to which this cache cluster belongs.
 void setSecurityGroups(Collection<SecurityGroupMembership> securityGroups)
          A list of VPC Security Groups associated with the cache cluster.
 void setSnapshotRetentionLimit(Integer snapshotRetentionLimit)
          The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them.
 void setSnapshotWindow(String snapshotWindow)
          The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CacheCluster withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
          If true, then minor version patches are applied automatically; if false, then automatic minor version patches are disabled.
 CacheCluster withCacheClusterCreateTime(Date cacheClusterCreateTime)
          The date and time when the cache cluster was created.
 CacheCluster withCacheClusterId(String cacheClusterId)
          The user-supplied identifier of the cache cluster.
 CacheCluster withCacheClusterStatus(String cacheClusterStatus)
          The current state of this cache cluster - creating, available, etc.
 CacheCluster withCacheNodes(CacheNode... cacheNodes)
          A list of cache nodes that are members of the cache cluster.
 CacheCluster withCacheNodes(Collection<CacheNode> cacheNodes)
          A list of cache nodes that are members of the cache cluster.
 CacheCluster withCacheNodeType(String cacheNodeType)
          The name of the compute and memory capacity node type for the cache cluster.
 CacheCluster withCacheParameterGroup(CacheParameterGroupStatus cacheParameterGroup)
          The status of the cache parameter group.
 CacheCluster withCacheSecurityGroups(CacheSecurityGroupMembership... cacheSecurityGroups)
          A list of cache security group elements, composed of name and status sub-elements.
 CacheCluster withCacheSecurityGroups(Collection<CacheSecurityGroupMembership> cacheSecurityGroups)
          A list of cache security group elements, composed of name and status sub-elements.
 CacheCluster withCacheSubnetGroupName(String cacheSubnetGroupName)
          The name of the cache subnet group associated with the cache cluster.
 CacheCluster withClientDownloadLandingPage(String clientDownloadLandingPage)
          The URL of the web page where you can download the latest ElastiCache client library.
 CacheCluster withConfigurationEndpoint(Endpoint configurationEndpoint)
          Represents the information required for client programs to connect to a cache node.
 CacheCluster withEngine(String engine)
          The name of the cache engine (memcached or redis) to be used for this cache cluster.
 CacheCluster withEngineVersion(String engineVersion)
          The version of the cache engine version that is used in this cache cluster.
 CacheCluster withNotificationConfiguration(NotificationConfiguration notificationConfiguration)
          Describes a notification topic and its status.
 CacheCluster withNumCacheNodes(Integer numCacheNodes)
          The number of cache nodes in the cache cluster.
 CacheCluster withPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
          A group of settings that will be applied to the cache cluster in the future, or that are currently being applied.
 CacheCluster withPreferredAvailabilityZone(String preferredAvailabilityZone)
          The name of the Availability Zone in which the cache cluster is located.
 CacheCluster withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
          The time range (in UTC) during which weekly system maintenance can occur.
 CacheCluster withReplicationGroupId(String replicationGroupId)
          The replication group to which this cache cluster belongs.
 CacheCluster withSecurityGroups(Collection<SecurityGroupMembership> securityGroups)
          A list of VPC Security Groups associated with the cache cluster.
 CacheCluster withSecurityGroups(SecurityGroupMembership... securityGroups)
          A list of VPC Security Groups associated with the cache cluster.
 CacheCluster withSnapshotRetentionLimit(Integer snapshotRetentionLimit)
          The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them.
 CacheCluster withSnapshotWindow(String snapshotWindow)
          The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheCluster

public CacheCluster()
Method Detail

getCacheClusterId

public String getCacheClusterId()
The user-supplied identifier of the cache cluster. This is a unique key that identifies a cache cluster.

Returns:
The user-supplied identifier of the cache cluster. This is a unique key that identifies a cache cluster.

setCacheClusterId

public void setCacheClusterId(String cacheClusterId)
The user-supplied identifier of the cache cluster. This is a unique key that identifies a cache cluster.

Parameters:
cacheClusterId - The user-supplied identifier of the cache cluster. This is a unique key that identifies a cache cluster.

withCacheClusterId

public CacheCluster withCacheClusterId(String cacheClusterId)
The user-supplied identifier of the cache cluster. This is a unique key that identifies a cache cluster.

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

Parameters:
cacheClusterId - The user-supplied identifier of the cache cluster. This is a 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()
Represents the information required for client programs to connect to a cache node.

Returns:
Represents the information required for client programs to connect to a cache node.

setConfigurationEndpoint

public void setConfigurationEndpoint(Endpoint configurationEndpoint)
Represents the information required for client programs to connect to a cache node.

Parameters:
configurationEndpoint - Represents the information required for client programs to connect to a cache node.

withConfigurationEndpoint

public CacheCluster withConfigurationEndpoint(Endpoint configurationEndpoint)
Represents the information required for client programs to connect to a cache node.

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

Parameters:
configurationEndpoint - Represents the information required for client programs to connect to a cache node.
Returns:
A reference to this updated object so that method calls can be chained together.

getClientDownloadLandingPage

public String getClientDownloadLandingPage()
The URL of the web page where you can download the latest ElastiCache client library.

Returns:
The URL of the web page where you can download the latest ElastiCache client library.

setClientDownloadLandingPage

public void setClientDownloadLandingPage(String clientDownloadLandingPage)
The URL of the web page where you can download the latest ElastiCache client library.

Parameters:
clientDownloadLandingPage - The URL of the web page where you can download the latest ElastiCache client library.

withClientDownloadLandingPage

public CacheCluster withClientDownloadLandingPage(String clientDownloadLandingPage)
The URL of the web page where you can download the latest ElastiCache client library.

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

Parameters:
clientDownloadLandingPage - The URL of the web page where you can 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()
The name of the compute and memory capacity node type for the cache cluster.

Returns:
The name of the compute and memory capacity node type for the cache cluster.

setCacheNodeType

public void setCacheNodeType(String cacheNodeType)
The name of the compute and memory capacity node type for the cache cluster.

Parameters:
cacheNodeType - The name of the compute and memory capacity node type for the cache cluster.

withCacheNodeType

public CacheCluster withCacheNodeType(String cacheNodeType)
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 - 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()
The name of the cache engine (memcached or redis) to be used for this cache cluster.

Returns:
The name of the cache engine (memcached or redis) to be used for this cache cluster.

setEngine

public void setEngine(String engine)
The name of the cache engine (memcached or redis) to be used for this cache cluster.

Parameters:
engine - The name of the cache engine (memcached or redis) to be used for this cache cluster.

withEngine

public CacheCluster withEngine(String engine)
The name of the cache engine (memcached or redis) to be used for this cache cluster.

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

Parameters:
engine - The name of the cache engine (memcached or redis) 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()
The version of the cache engine version that is used in this cache cluster.

Returns:
The version of the cache engine version that is used in this cache cluster.

setEngineVersion

public void setEngineVersion(String engineVersion)
The version of the cache engine version that is used in this cache cluster.

Parameters:
engineVersion - The version of the cache engine version that is used in this cache cluster.

withEngineVersion

public CacheCluster withEngineVersion(String engineVersion)
The version of the cache engine version that is used in this cache cluster.

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

Parameters:
engineVersion - The version of the cache engine version that is used in this cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheClusterStatus

public String getCacheClusterStatus()
The current state of this cache cluster - creating, available, etc.

Returns:
The current state of this cache cluster - creating, available, etc.

setCacheClusterStatus

public void setCacheClusterStatus(String cacheClusterStatus)
The current state of this cache cluster - creating, available, etc.

Parameters:
cacheClusterStatus - The current state of this cache cluster - creating, available, etc.

withCacheClusterStatus

public CacheCluster withCacheClusterStatus(String cacheClusterStatus)
The current state of this cache cluster - creating, available, etc.

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

Parameters:
cacheClusterStatus - The current state of this cache cluster - creating, available, etc.
Returns:
A reference to this updated object so that method calls can be chained together.

getNumCacheNodes

public Integer getNumCacheNodes()
The number of cache nodes in the cache cluster.

Returns:
The number of cache nodes in the cache cluster.

setNumCacheNodes

public void setNumCacheNodes(Integer numCacheNodes)
The number of cache nodes in the cache cluster.

Parameters:
numCacheNodes - The number of cache nodes in the cache cluster.

withNumCacheNodes

public CacheCluster withNumCacheNodes(Integer numCacheNodes)
The number of cache nodes in the cache cluster.

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

Parameters:
numCacheNodes - The number of cache nodes in the cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getPreferredAvailabilityZone

public String getPreferredAvailabilityZone()
The name of the Availability Zone in which the cache cluster is located.

Returns:
The name of the Availability Zone in which the cache cluster is located.

setPreferredAvailabilityZone

public void setPreferredAvailabilityZone(String preferredAvailabilityZone)
The name of the Availability Zone in which the cache cluster is located.

Parameters:
preferredAvailabilityZone - The name of the Availability Zone in which the cache cluster is located.

withPreferredAvailabilityZone

public CacheCluster withPreferredAvailabilityZone(String preferredAvailabilityZone)
The name of the Availability Zone in which the cache cluster is located.

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

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

getCacheClusterCreateTime

public Date getCacheClusterCreateTime()
The date and time when the cache cluster was created.

Returns:
The date and time when the cache cluster was created.

setCacheClusterCreateTime

public void setCacheClusterCreateTime(Date cacheClusterCreateTime)
The date and time when the cache cluster was created.

Parameters:
cacheClusterCreateTime - The date and time when the cache cluster was created.

withCacheClusterCreateTime

public CacheCluster withCacheClusterCreateTime(Date cacheClusterCreateTime)
The date and time when the cache cluster was created.

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

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

getPreferredMaintenanceWindow

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

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

setPreferredMaintenanceWindow

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

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

withPreferredMaintenanceWindow

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

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

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

getPendingModifiedValues

public PendingModifiedValues getPendingModifiedValues()
A group of settings that will be applied to the cache cluster in the future, or that are currently being applied.

Returns:
A group of settings that will be applied to the cache cluster in the future, or that are currently being applied.

setPendingModifiedValues

public void setPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
A group of settings that will be applied to the cache cluster in the future, or that are currently being applied.

Parameters:
pendingModifiedValues - A group of settings that will be applied to the cache cluster in the future, or that are currently being applied.

withPendingModifiedValues

public CacheCluster withPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
A group of settings that will be applied to the cache cluster in the future, or that are currently being applied.

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

Parameters:
pendingModifiedValues - A group of settings that will be applied to the cache cluster in the future, or that are currently being applied.
Returns:
A reference to this updated object so that method calls can be chained together.

getNotificationConfiguration

public NotificationConfiguration getNotificationConfiguration()
Describes a notification topic and its status. Notification topics are used for publishing ElastiCache events to subscribers using Amazon Simple Notification Service (SNS).

Returns:
Describes a notification topic and its status. Notification topics are used for publishing ElastiCache events to subscribers using Amazon Simple Notification Service (SNS).

setNotificationConfiguration

public void setNotificationConfiguration(NotificationConfiguration notificationConfiguration)
Describes a notification topic and its status. Notification topics are used for publishing ElastiCache events to subscribers using Amazon Simple Notification Service (SNS).

Parameters:
notificationConfiguration - Describes a notification topic and its status. Notification topics are used for publishing ElastiCache events to subscribers using Amazon Simple Notification Service (SNS).

withNotificationConfiguration

public CacheCluster withNotificationConfiguration(NotificationConfiguration notificationConfiguration)
Describes a notification topic and its status. Notification topics are used for publishing ElastiCache events to subscribers using Amazon Simple Notification Service (SNS).

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

Parameters:
notificationConfiguration - Describes a notification topic and its status. Notification topics are used for publishing ElastiCache events to subscribers using Amazon Simple Notification Service (SNS).
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheSecurityGroups

public List<CacheSecurityGroupMembership> getCacheSecurityGroups()
A list of cache security group elements, composed of name and status sub-elements.

Returns:
A list of cache security group elements, composed of name and status sub-elements.

setCacheSecurityGroups

public void setCacheSecurityGroups(Collection<CacheSecurityGroupMembership> cacheSecurityGroups)
A list of cache security group elements, composed of name and status sub-elements.

Parameters:
cacheSecurityGroups - A list of cache security group elements, composed of name and status sub-elements.

withCacheSecurityGroups

public CacheCluster withCacheSecurityGroups(CacheSecurityGroupMembership... cacheSecurityGroups)
A list of cache security group elements, composed of name and status sub-elements.

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

Parameters:
cacheSecurityGroups - A list of cache security group elements, composed of name and 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)
A list of cache security group elements, composed of name and status sub-elements.

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

Parameters:
cacheSecurityGroups - A list of cache security group elements, composed of name and status sub-elements.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheParameterGroup

public CacheParameterGroupStatus getCacheParameterGroup()
The status of the cache parameter group.

Returns:
The status of the cache parameter group.

setCacheParameterGroup

public void setCacheParameterGroup(CacheParameterGroupStatus cacheParameterGroup)
The status of the cache parameter group.

Parameters:
cacheParameterGroup - The status of the cache parameter group.

withCacheParameterGroup

public CacheCluster withCacheParameterGroup(CacheParameterGroupStatus cacheParameterGroup)
The status of the cache parameter group.

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

Parameters:
cacheParameterGroup - The status of the cache parameter group.
Returns:
A reference to this updated object so that method calls can be chained together.

getCacheSubnetGroupName

public String getCacheSubnetGroupName()
The name of the cache subnet group associated with the cache cluster.

Returns:
The name of the cache subnet group associated with the cache cluster.

setCacheSubnetGroupName

public void setCacheSubnetGroupName(String cacheSubnetGroupName)
The name of the cache subnet group associated with the cache cluster.

Parameters:
cacheSubnetGroupName - The name of the cache subnet group associated with the cache cluster.

withCacheSubnetGroupName

public CacheCluster withCacheSubnetGroupName(String cacheSubnetGroupName)
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 - 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()
A list of cache nodes that are members of the cache cluster.

Returns:
A list of cache nodes that are members of the cache cluster.

setCacheNodes

public void setCacheNodes(Collection<CacheNode> cacheNodes)
A list of cache nodes that are members of the cache cluster.

Parameters:
cacheNodes - A list of cache nodes that are members of the cache cluster.

withCacheNodes

public CacheCluster withCacheNodes(CacheNode... cacheNodes)
A list of cache nodes that are members of the cache cluster.

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

Parameters:
cacheNodes - A list of cache nodes that are members of the cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

withCacheNodes

public CacheCluster withCacheNodes(Collection<CacheNode> cacheNodes)
A list of cache nodes that are members of the cache cluster.

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

Parameters:
cacheNodes - A list of cache nodes that are members of the cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

isAutoMinorVersionUpgrade

public Boolean isAutoMinorVersionUpgrade()
If true, then minor version patches are applied automatically; if false, then automatic minor version patches are disabled.

Returns:
If true, then minor version patches are applied automatically; if false, then automatic minor version patches are disabled.

setAutoMinorVersionUpgrade

public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
If true, then minor version patches are applied automatically; if false, then automatic minor version patches are disabled.

Parameters:
autoMinorVersionUpgrade - If true, then minor version patches are applied automatically; if false, then automatic minor version patches are disabled.

withAutoMinorVersionUpgrade

public CacheCluster withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
If true, then minor version patches are applied automatically; if false, then automatic minor version patches are disabled.

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

Parameters:
autoMinorVersionUpgrade - If true, then minor version patches are applied automatically; if false, then automatic minor version patches are disabled.
Returns:
A reference to this updated object so that method calls can be chained together.

getAutoMinorVersionUpgrade

public Boolean getAutoMinorVersionUpgrade()
If true, then minor version patches are applied automatically; if false, then automatic minor version patches are disabled.

Returns:
If true, then minor version patches are applied automatically; if false, then automatic minor version patches are disabled.

getSecurityGroups

public List<SecurityGroupMembership> getSecurityGroups()
A list of VPC Security Groups associated with the cache cluster.

Returns:
A list of VPC Security Groups associated with the cache cluster.

setSecurityGroups

public void setSecurityGroups(Collection<SecurityGroupMembership> securityGroups)
A list of VPC Security Groups associated with the cache cluster.

Parameters:
securityGroups - A list of VPC Security Groups associated with the cache cluster.

withSecurityGroups

public CacheCluster withSecurityGroups(SecurityGroupMembership... securityGroups)
A list of VPC Security Groups associated with the cache cluster.

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

Parameters:
securityGroups - A list of 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)
A list of VPC Security Groups associated with the cache cluster.

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

Parameters:
securityGroups - A list of VPC Security Groups associated with the cache cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getReplicationGroupId

public String getReplicationGroupId()
The replication group to which this cache cluster belongs. If this field is empty, the cache cluster is not associated with any replication group.

Returns:
The replication group to which this cache cluster belongs. If this field is empty, the cache cluster is not associated with any replication group.

setReplicationGroupId

public void setReplicationGroupId(String replicationGroupId)
The replication group to which this cache cluster belongs. If this field is empty, the cache cluster is not associated with any replication group.

Parameters:
replicationGroupId - The replication group to which this cache cluster belongs. If this field is empty, the cache cluster is not associated with any replication group.

withReplicationGroupId

public CacheCluster withReplicationGroupId(String replicationGroupId)
The replication group to which this cache cluster belongs. If this field is empty, the cache cluster is not associated with any replication group.

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

Parameters:
replicationGroupId - The replication group to which this cache cluster belongs. If this field is empty, the cache cluster is not associated with any replication group.
Returns:
A reference to this updated object so that method calls can be chained together.

getSnapshotRetentionLimit

public Integer getSnapshotRetentionLimit()
The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted.

Returns:
The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted.

setSnapshotRetentionLimit

public void setSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted.

Parameters:
snapshotRetentionLimit - The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted.

withSnapshotRetentionLimit

public CacheCluster withSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted.

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

Parameters:
snapshotRetentionLimit - The number of days for which ElastiCache will retain automatic cache cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, then a snapshot that was taken today will be retained for 5 days before being deleted.
Returns:
A reference to this updated object so that method calls can be chained together.

getSnapshotWindow

public String getSnapshotWindow()
The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster.

Example: 05:00-09:00

Returns:
The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster.

Example: 05:00-09:00


setSnapshotWindow

public void setSnapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster.

Example: 05:00-09:00

Parameters:
snapshotWindow - The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster.

Example: 05:00-09:00


withSnapshotWindow

public CacheCluster withSnapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster.

Example: 05:00-09:00

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

Parameters:
snapshotWindow - The daily time range (in UTC) during which ElastiCache will begin taking a daily snapshot of your cache cluster.

Example: 05:00-09:00

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.