public class CacheCluster
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains all of the attributes of a specific cache cluster.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
autoMinorVersionUpgrade
This parameter is currently disabled.
|
private java.util.Date |
cacheClusterCreateTime
The date and time when the cache cluster was created.
|
private java.lang.String |
cacheClusterId
The user-supplied identifier of the cache cluster.
|
private java.lang.String |
cacheClusterStatus
The current state of this cache cluster, one of the following values:
available, creating, deleted, deleting,
incompatible-network, modifying, rebooting cache cluster
nodes, restore-failed, or snapshotting.
|
private SdkInternalList<CacheNode> |
cacheNodes
A list of cache nodes that are members of the cache cluster.
|
private java.lang.String |
cacheNodeType
The name of the compute and memory capacity node type for the cache
cluster.
|
private CacheParameterGroupStatus |
cacheParameterGroup |
private SdkInternalList<CacheSecurityGroupMembership> |
cacheSecurityGroups
A list of cache security group elements, composed of name and status
sub-elements.
|
private java.lang.String |
cacheSubnetGroupName
The name of the cache subnet group associated with the cache cluster.
|
private java.lang.String |
clientDownloadLandingPage
The URL of the web page where you can download the latest ElastiCache
client library.
|
private Endpoint |
configurationEndpoint |
private java.lang.String |
engine
The name of the cache engine (memcached or redis) to be
used for this cache cluster.
|
private java.lang.String |
engineVersion
The version of the cache engine that is used in this cache cluster.
|
private NotificationConfiguration |
notificationConfiguration |
private java.lang.Integer |
numCacheNodes
The number of cache nodes in the cache cluster.
|
private PendingModifiedValues |
pendingModifiedValues |
private java.lang.String |
preferredAvailabilityZone
The name of the Availability Zone in which the cache cluster is located
or "Multiple" if the cache nodes are located in different
Availability Zones.
|
private java.lang.String |
preferredMaintenanceWindow
Specifies the weekly time range during which maintenance on the cache
cluster is performed.
|
private java.lang.String |
replicationGroupId
The replication group to which this cache cluster belongs.
|
private SdkInternalList<SecurityGroupMembership> |
securityGroups
A list of VPC Security Groups associated with the cache cluster.
|
private java.lang.Integer |
snapshotRetentionLimit
The number of days for which ElastiCache will retain automatic cache
cluster snapshots before deleting them.
|
private java.lang.String |
snapshotWindow
The daily time range (in UTC) during which ElastiCache will begin taking
a daily snapshot of your cache cluster.
|
Constructor and Description |
---|
CacheCluster() |
Modifier and Type | Method and Description |
---|---|
CacheCluster |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAutoMinorVersionUpgrade()
This parameter is currently disabled.
|
java.util.Date |
getCacheClusterCreateTime()
The date and time when the cache cluster was created.
|
java.lang.String |
getCacheClusterId()
The user-supplied identifier of the cache cluster.
|
java.lang.String |
getCacheClusterStatus()
The current state of this cache cluster, one of the following values:
available, creating, deleted, deleting,
incompatible-network, modifying, rebooting cache cluster
nodes, restore-failed, or snapshotting.
|
java.util.List<CacheNode> |
getCacheNodes()
A list of cache nodes that are members of the cache cluster.
|
java.lang.String |
getCacheNodeType()
The name of the compute and memory capacity node type for the cache
cluster.
|
CacheParameterGroupStatus |
getCacheParameterGroup() |
java.util.List<CacheSecurityGroupMembership> |
getCacheSecurityGroups()
A list of cache security group elements, composed of name and status
sub-elements.
|
java.lang.String |
getCacheSubnetGroupName()
The name of the cache subnet group associated with the cache cluster.
|
java.lang.String |
getClientDownloadLandingPage()
The URL of the web page where you can download the latest ElastiCache
client library.
|
Endpoint |
getConfigurationEndpoint() |
java.lang.String |
getEngine()
The name of the cache engine (memcached or redis) to be
used for this cache cluster.
|
java.lang.String |
getEngineVersion()
The version of the cache engine that is used in this cache cluster.
|
NotificationConfiguration |
getNotificationConfiguration() |
java.lang.Integer |
getNumCacheNodes()
The number of cache nodes in the cache cluster.
|
PendingModifiedValues |
getPendingModifiedValues() |
java.lang.String |
getPreferredAvailabilityZone()
The name of the Availability Zone in which the cache cluster is located
or "Multiple" if the cache nodes are located in different
Availability Zones.
|
java.lang.String |
getPreferredMaintenanceWindow()
Specifies the weekly time range during which maintenance on the cache
cluster is performed.
|
java.lang.String |
getReplicationGroupId()
The replication group to which this cache cluster belongs.
|
java.util.List<SecurityGroupMembership> |
getSecurityGroups()
A list of VPC Security Groups associated with the cache cluster.
|
java.lang.Integer |
getSnapshotRetentionLimit()
The number of days for which ElastiCache will retain automatic cache
cluster snapshots before deleting them.
|
java.lang.String |
getSnapshotWindow()
The daily time range (in UTC) during which ElastiCache will begin taking
a daily snapshot of your cache cluster.
|
int |
hashCode() |
java.lang.Boolean |
isAutoMinorVersionUpgrade()
This parameter is currently disabled.
|
void |
setAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
This parameter is currently disabled.
|
void |
setCacheClusterCreateTime(java.util.Date cacheClusterCreateTime)
The date and time when the cache cluster was created.
|
void |
setCacheClusterId(java.lang.String cacheClusterId)
The user-supplied identifier of the cache cluster.
|
void |
setCacheClusterStatus(java.lang.String cacheClusterStatus)
The current state of this cache cluster, one of the following values:
available, creating, deleted, deleting,
incompatible-network, modifying, rebooting cache cluster
nodes, restore-failed, or snapshotting.
|
void |
setCacheNodes(java.util.Collection<CacheNode> cacheNodes)
A list of cache nodes that are members of the cache cluster.
|
void |
setCacheNodeType(java.lang.String cacheNodeType)
The name of the compute and memory capacity node type for the cache
cluster.
|
void |
setCacheParameterGroup(CacheParameterGroupStatus cacheParameterGroup) |
void |
setCacheSecurityGroups(java.util.Collection<CacheSecurityGroupMembership> cacheSecurityGroups)
A list of cache security group elements, composed of name and status
sub-elements.
|
void |
setCacheSubnetGroupName(java.lang.String cacheSubnetGroupName)
The name of the cache subnet group associated with the cache cluster.
|
void |
setClientDownloadLandingPage(java.lang.String clientDownloadLandingPage)
The URL of the web page where you can download the latest ElastiCache
client library.
|
void |
setConfigurationEndpoint(Endpoint configurationEndpoint) |
void |
setEngine(java.lang.String engine)
The name of the cache engine (memcached or redis) to be
used for this cache cluster.
|
void |
setEngineVersion(java.lang.String engineVersion)
The version of the cache engine that is used in this cache cluster.
|
void |
setNotificationConfiguration(NotificationConfiguration notificationConfiguration) |
void |
setNumCacheNodes(java.lang.Integer numCacheNodes)
The number of cache nodes in the cache cluster.
|
void |
setPendingModifiedValues(PendingModifiedValues pendingModifiedValues) |
void |
setPreferredAvailabilityZone(java.lang.String preferredAvailabilityZone)
The name of the Availability Zone in which the cache cluster is located
or "Multiple" if the cache nodes are located in different
Availability Zones.
|
void |
setPreferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
Specifies the weekly time range during which maintenance on the cache
cluster is performed.
|
void |
setReplicationGroupId(java.lang.String replicationGroupId)
The replication group to which this cache cluster belongs.
|
void |
setSecurityGroups(java.util.Collection<SecurityGroupMembership> securityGroups)
A list of VPC Security Groups associated with the cache cluster.
|
void |
setSnapshotRetentionLimit(java.lang.Integer snapshotRetentionLimit)
The number of days for which ElastiCache will retain automatic cache
cluster snapshots before deleting them.
|
void |
setSnapshotWindow(java.lang.String snapshotWindow)
The daily time range (in UTC) during which ElastiCache will begin taking
a daily snapshot of your cache cluster.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CacheCluster |
withAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
This parameter is currently disabled.
|
CacheCluster |
withCacheClusterCreateTime(java.util.Date cacheClusterCreateTime)
The date and time when the cache cluster was created.
|
CacheCluster |
withCacheClusterId(java.lang.String cacheClusterId)
The user-supplied identifier of the cache cluster.
|
CacheCluster |
withCacheClusterStatus(java.lang.String cacheClusterStatus)
The current state of this cache cluster, one of the following values:
available, creating, deleted, deleting,
incompatible-network, modifying, rebooting cache cluster
nodes, restore-failed, or snapshotting.
|
CacheCluster |
withCacheNodes(CacheNode... cacheNodes)
A list of cache nodes that are members of the cache cluster.
|
CacheCluster |
withCacheNodes(java.util.Collection<CacheNode> cacheNodes)
A list of cache nodes that are members of the cache cluster.
|
CacheCluster |
withCacheNodeType(java.lang.String cacheNodeType)
The name of the compute and memory capacity node type for the cache
cluster.
|
CacheCluster |
withCacheParameterGroup(CacheParameterGroupStatus cacheParameterGroup) |
CacheCluster |
withCacheSecurityGroups(CacheSecurityGroupMembership... cacheSecurityGroups)
A list of cache security group elements, composed of name and status
sub-elements.
|
CacheCluster |
withCacheSecurityGroups(java.util.Collection<CacheSecurityGroupMembership> cacheSecurityGroups)
A list of cache security group elements, composed of name and status
sub-elements.
|
CacheCluster |
withCacheSubnetGroupName(java.lang.String cacheSubnetGroupName)
The name of the cache subnet group associated with the cache cluster.
|
CacheCluster |
withClientDownloadLandingPage(java.lang.String clientDownloadLandingPage)
The URL of the web page where you can download the latest ElastiCache
client library.
|
CacheCluster |
withConfigurationEndpoint(Endpoint configurationEndpoint) |
CacheCluster |
withEngine(java.lang.String engine)
The name of the cache engine (memcached or redis) to be
used for this cache cluster.
|
CacheCluster |
withEngineVersion(java.lang.String engineVersion)
The version of the cache engine that is used in this cache cluster.
|
CacheCluster |
withNotificationConfiguration(NotificationConfiguration notificationConfiguration) |
CacheCluster |
withNumCacheNodes(java.lang.Integer numCacheNodes)
The number of cache nodes in the cache cluster.
|
CacheCluster |
withPendingModifiedValues(PendingModifiedValues pendingModifiedValues) |
CacheCluster |
withPreferredAvailabilityZone(java.lang.String preferredAvailabilityZone)
The name of the Availability Zone in which the cache cluster is located
or "Multiple" if the cache nodes are located in different
Availability Zones.
|
CacheCluster |
withPreferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
Specifies the weekly time range during which maintenance on the cache
cluster is performed.
|
CacheCluster |
withReplicationGroupId(java.lang.String replicationGroupId)
The replication group to which this cache cluster belongs.
|
CacheCluster |
withSecurityGroups(java.util.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(java.lang.Integer snapshotRetentionLimit)
The number of days for which ElastiCache will retain automatic cache
cluster snapshots before deleting them.
|
CacheCluster |
withSnapshotWindow(java.lang.String snapshotWindow)
The daily time range (in UTC) during which ElastiCache will begin taking
a daily snapshot of your cache cluster.
|
private java.lang.String cacheClusterId
The user-supplied identifier of the cache cluster. This identifier is a unique key that identifies a cache cluster.
private Endpoint configurationEndpoint
private java.lang.String clientDownloadLandingPage
The URL of the web page where you can download the latest ElastiCache client library.
private java.lang.String cacheNodeType
The name of the compute and memory capacity node type for the cache cluster.
Valid node types are as follows:
cache.t2.micro
,
cache.t2.small
, cache.t2.medium
,
cache.m3.medium
, cache.m3.large
,
cache.m3.xlarge
, cache.m3.2xlarge
cache.t1.micro
,
cache.m1.small
, cache.m1.medium
,
cache.m1.large
, cache.m1.xlarge
cache.c1.xlarge
cache.r3.large
,
cache.r3.xlarge
, cache.r3.2xlarge
,
cache.r3.4xlarge
, cache.r3.8xlarge
cache.m2.xlarge
,
cache.m2.2xlarge
, cache.m2.4xlarge
Notes:
For a complete listing of cache node types and specifications, see Amazon ElastiCache Product Features and Details and Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
private java.lang.String engine
The name of the cache engine (memcached or redis) to be used for this cache cluster.
private java.lang.String engineVersion
The version of the cache engine that is used in this cache cluster.
private java.lang.String cacheClusterStatus
The current state of this cache cluster, one of the following values: available, creating, deleted, deleting, incompatible-network, modifying, rebooting cache cluster nodes, restore-failed, or snapshotting.
private java.lang.Integer numCacheNodes
The number of cache nodes in the cache cluster.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
private java.lang.String preferredAvailabilityZone
The name of the Availability Zone in which the cache cluster is located or "Multiple" if the cache nodes are located in different Availability Zones.
private java.util.Date cacheClusterCreateTime
The date and time when the cache cluster was created.
private java.lang.String preferredMaintenanceWindow
Specifies the weekly time range during which maintenance on the cache
cluster is performed. It is specified as a range in the format
ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window
is a 60 minute period. Valid values for ddd
are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:05:00-sun:09:00
private PendingModifiedValues pendingModifiedValues
private NotificationConfiguration notificationConfiguration
private SdkInternalList<CacheSecurityGroupMembership> cacheSecurityGroups
A list of cache security group elements, composed of name and status sub-elements.
private CacheParameterGroupStatus cacheParameterGroup
private java.lang.String cacheSubnetGroupName
The name of the cache subnet group associated with the cache cluster.
private SdkInternalList<CacheNode> cacheNodes
A list of cache nodes that are members of the cache cluster.
private java.lang.Boolean autoMinorVersionUpgrade
This parameter is currently disabled.
private SdkInternalList<SecurityGroupMembership> securityGroups
A list of VPC Security Groups associated with the cache cluster.
private java.lang.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.
private java.lang.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.
Important
If the value of SnapshotRetentionLimit is set to zero (0), backups are
turned off.
private java.lang.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
public void setCacheClusterId(java.lang.String cacheClusterId)
The user-supplied identifier of the cache cluster. This identifier is a unique key that identifies a cache cluster.
cacheClusterId
- The user-supplied identifier of the cache cluster. This identifier
is a unique key that identifies a cache cluster.public java.lang.String getCacheClusterId()
The user-supplied identifier of the cache cluster. This identifier is a unique key that identifies a cache cluster.
public CacheCluster withCacheClusterId(java.lang.String cacheClusterId)
The user-supplied identifier of the cache cluster. This identifier is a unique key that identifies a cache cluster.
cacheClusterId
- The user-supplied identifier of the cache cluster. This identifier
is a unique key that identifies a cache cluster.public void setConfigurationEndpoint(Endpoint configurationEndpoint)
configurationEndpoint
- public Endpoint getConfigurationEndpoint()
public CacheCluster withConfigurationEndpoint(Endpoint configurationEndpoint)
configurationEndpoint
- public void setClientDownloadLandingPage(java.lang.String clientDownloadLandingPage)
The URL of the web page where you can download the latest ElastiCache client library.
clientDownloadLandingPage
- The URL of the web page where you can download the latest
ElastiCache client library.public java.lang.String getClientDownloadLandingPage()
The URL of the web page where you can download the latest ElastiCache client library.
public CacheCluster withClientDownloadLandingPage(java.lang.String clientDownloadLandingPage)
The URL of the web page where you can download the latest ElastiCache client library.
clientDownloadLandingPage
- The URL of the web page where you can download the latest
ElastiCache client library.public void setCacheNodeType(java.lang.String cacheNodeType)
The name of the compute and memory capacity node type for the cache cluster.
Valid node types are as follows:
cache.t2.micro
,
cache.t2.small
, cache.t2.medium
,
cache.m3.medium
, cache.m3.large
,
cache.m3.xlarge
, cache.m3.2xlarge
cache.t1.micro
,
cache.m1.small
, cache.m1.medium
,
cache.m1.large
, cache.m1.xlarge
cache.c1.xlarge
cache.r3.large
,
cache.r3.xlarge
, cache.r3.2xlarge
,
cache.r3.4xlarge
, cache.r3.8xlarge
cache.m2.xlarge
,
cache.m2.2xlarge
, cache.m2.4xlarge
Notes:
For a complete listing of cache node types and specifications, see Amazon ElastiCache Product Features and Details and Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
cacheNodeType
- The name of the compute and memory capacity node type for the
cache cluster.
Valid node types are as follows:
cache.t2.micro
,
cache.t2.small
, cache.t2.medium
,
cache.m3.medium
, cache.m3.large
,
cache.m3.xlarge
, cache.m3.2xlarge
cache.t1.micro
,
cache.m1.small
, cache.m1.medium
,
cache.m1.large
, cache.m1.xlarge
cache.c1.xlarge
cache.r3.large
,
cache.r3.xlarge
, cache.r3.2xlarge
,
cache.r3.4xlarge
, cache.r3.8xlarge
cache.m2.xlarge
,
cache.m2.2xlarge
, cache.m2.4xlarge
Notes:
For a complete listing of cache node types and specifications, see Amazon ElastiCache Product Features and Details and Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
public java.lang.String getCacheNodeType()
The name of the compute and memory capacity node type for the cache cluster.
Valid node types are as follows:
cache.t2.micro
,
cache.t2.small
, cache.t2.medium
,
cache.m3.medium
, cache.m3.large
,
cache.m3.xlarge
, cache.m3.2xlarge
cache.t1.micro
,
cache.m1.small
, cache.m1.medium
,
cache.m1.large
, cache.m1.xlarge
cache.c1.xlarge
cache.r3.large
,
cache.r3.xlarge
, cache.r3.2xlarge
,
cache.r3.4xlarge
, cache.r3.8xlarge
cache.m2.xlarge
,
cache.m2.2xlarge
, cache.m2.4xlarge
Notes:
For a complete listing of cache node types and specifications, see Amazon ElastiCache Product Features and Details and Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
Valid node types are as follows:
cache.t2.micro
,
cache.t2.small
, cache.t2.medium
,
cache.m3.medium
, cache.m3.large
,
cache.m3.xlarge
, cache.m3.2xlarge
cache.t1.micro
,
cache.m1.small
, cache.m1.medium
,
cache.m1.large
, cache.m1.xlarge
cache.c1.xlarge
cache.r3.large
,
cache.r3.xlarge
, cache.r3.2xlarge
,
cache.r3.4xlarge
, cache.r3.8xlarge
cache.m2.xlarge
,
cache.m2.2xlarge
, cache.m2.4xlarge
Notes:
For a complete listing of cache node types and specifications, see Amazon ElastiCache Product Features and Details and Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
public CacheCluster withCacheNodeType(java.lang.String cacheNodeType)
The name of the compute and memory capacity node type for the cache cluster.
Valid node types are as follows:
cache.t2.micro
,
cache.t2.small
, cache.t2.medium
,
cache.m3.medium
, cache.m3.large
,
cache.m3.xlarge
, cache.m3.2xlarge
cache.t1.micro
,
cache.m1.small
, cache.m1.medium
,
cache.m1.large
, cache.m1.xlarge
cache.c1.xlarge
cache.r3.large
,
cache.r3.xlarge
, cache.r3.2xlarge
,
cache.r3.4xlarge
, cache.r3.8xlarge
cache.m2.xlarge
,
cache.m2.2xlarge
, cache.m2.4xlarge
Notes:
For a complete listing of cache node types and specifications, see Amazon ElastiCache Product Features and Details and Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
cacheNodeType
- The name of the compute and memory capacity node type for the
cache cluster.
Valid node types are as follows:
cache.t2.micro
,
cache.t2.small
, cache.t2.medium
,
cache.m3.medium
, cache.m3.large
,
cache.m3.xlarge
, cache.m3.2xlarge
cache.t1.micro
,
cache.m1.small
, cache.m1.medium
,
cache.m1.large
, cache.m1.xlarge
cache.c1.xlarge
cache.r3.large
,
cache.r3.xlarge
, cache.r3.2xlarge
,
cache.r3.4xlarge
, cache.r3.8xlarge
cache.m2.xlarge
,
cache.m2.2xlarge
, cache.m2.4xlarge
Notes:
For a complete listing of cache node types and specifications, see Amazon ElastiCache Product Features and Details and Cache Node Type-Specific Parameters for Memcached or Cache Node Type-Specific Parameters for Redis.
public void setEngine(java.lang.String engine)
The name of the cache engine (memcached or redis) to be used for this cache cluster.
engine
- The name of the cache engine (memcached or redis) to
be used for this cache cluster.public java.lang.String getEngine()
The name of the cache engine (memcached or redis) to be used for this cache cluster.
public CacheCluster withEngine(java.lang.String engine)
The name of the cache engine (memcached or redis) to be used for this cache cluster.
engine
- The name of the cache engine (memcached or redis) to
be used for this cache cluster.public void setEngineVersion(java.lang.String engineVersion)
The version of the cache engine that is used in this cache cluster.
engineVersion
- The version of the cache engine that is used in this cache
cluster.public java.lang.String getEngineVersion()
The version of the cache engine that is used in this cache cluster.
public CacheCluster withEngineVersion(java.lang.String engineVersion)
The version of the cache engine that is used in this cache cluster.
engineVersion
- The version of the cache engine that is used in this cache
cluster.public void setCacheClusterStatus(java.lang.String cacheClusterStatus)
The current state of this cache cluster, one of the following values: available, creating, deleted, deleting, incompatible-network, modifying, rebooting cache cluster nodes, restore-failed, or snapshotting.
cacheClusterStatus
- The current state of this cache cluster, one of the following
values: available, creating, deleted,
deleting, incompatible-network, modifying,
rebooting cache cluster nodes, restore-failed, or
snapshotting.public java.lang.String getCacheClusterStatus()
The current state of this cache cluster, one of the following values: available, creating, deleted, deleting, incompatible-network, modifying, rebooting cache cluster nodes, restore-failed, or snapshotting.
public CacheCluster withCacheClusterStatus(java.lang.String cacheClusterStatus)
The current state of this cache cluster, one of the following values: available, creating, deleted, deleting, incompatible-network, modifying, rebooting cache cluster nodes, restore-failed, or snapshotting.
cacheClusterStatus
- The current state of this cache cluster, one of the following
values: available, creating, deleted,
deleting, incompatible-network, modifying,
rebooting cache cluster nodes, restore-failed, or
snapshotting.public void setNumCacheNodes(java.lang.Integer numCacheNodes)
The number of cache nodes in the cache cluster.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
numCacheNodes
- The number of cache nodes in the cache cluster.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
public java.lang.Integer getNumCacheNodes()
The number of cache nodes in the cache cluster.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
public CacheCluster withNumCacheNodes(java.lang.Integer numCacheNodes)
The number of cache nodes in the cache cluster.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
numCacheNodes
- The number of cache nodes in the cache cluster.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
public void setPreferredAvailabilityZone(java.lang.String preferredAvailabilityZone)
The name of the Availability Zone in which the cache cluster is located or "Multiple" if the cache nodes are located in different Availability Zones.
preferredAvailabilityZone
- The name of the Availability Zone in which the cache cluster is
located or "Multiple" if the cache nodes are located in
different Availability Zones.public java.lang.String getPreferredAvailabilityZone()
The name of the Availability Zone in which the cache cluster is located or "Multiple" if the cache nodes are located in different Availability Zones.
public CacheCluster withPreferredAvailabilityZone(java.lang.String preferredAvailabilityZone)
The name of the Availability Zone in which the cache cluster is located or "Multiple" if the cache nodes are located in different Availability Zones.
preferredAvailabilityZone
- The name of the Availability Zone in which the cache cluster is
located or "Multiple" if the cache nodes are located in
different Availability Zones.public void setCacheClusterCreateTime(java.util.Date cacheClusterCreateTime)
The date and time when the cache cluster was created.
cacheClusterCreateTime
- The date and time when the cache cluster was created.public java.util.Date getCacheClusterCreateTime()
The date and time when the cache cluster was created.
public CacheCluster withCacheClusterCreateTime(java.util.Date cacheClusterCreateTime)
The date and time when the cache cluster was created.
cacheClusterCreateTime
- The date and time when the cache cluster was created.public void setPreferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
Specifies the weekly time range during which maintenance on the cache
cluster is performed. It is specified as a range in the format
ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window
is a 60 minute period. Valid values for ddd
are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:05:00-sun:09:00
preferredMaintenanceWindow
- Specifies the weekly time range during which maintenance on the
cache cluster is performed. It is specified as a range in the
format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum
maintenance window is a 60 minute period. Valid values for
ddd
are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:05:00-sun:09:00
public java.lang.String getPreferredMaintenanceWindow()
Specifies the weekly time range during which maintenance on the cache
cluster is performed. It is specified as a range in the format
ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window
is a 60 minute period. Valid values for ddd
are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:05:00-sun:09:00
ddd
are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:05:00-sun:09:00
public CacheCluster withPreferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
Specifies the weekly time range during which maintenance on the cache
cluster is performed. It is specified as a range in the format
ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window
is a 60 minute period. Valid values for ddd
are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:05:00-sun:09:00
preferredMaintenanceWindow
- Specifies the weekly time range during which maintenance on the
cache cluster is performed. It is specified as a range in the
format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum
maintenance window is a 60 minute period. Valid values for
ddd
are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:05:00-sun:09:00
public void setPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
pendingModifiedValues
- public PendingModifiedValues getPendingModifiedValues()
public CacheCluster withPendingModifiedValues(PendingModifiedValues pendingModifiedValues)
pendingModifiedValues
- public void setNotificationConfiguration(NotificationConfiguration notificationConfiguration)
notificationConfiguration
- public NotificationConfiguration getNotificationConfiguration()
public CacheCluster withNotificationConfiguration(NotificationConfiguration notificationConfiguration)
notificationConfiguration
- public java.util.List<CacheSecurityGroupMembership> getCacheSecurityGroups()
A list of cache security group elements, composed of name and status sub-elements.
public void setCacheSecurityGroups(java.util.Collection<CacheSecurityGroupMembership> cacheSecurityGroups)
A list of cache security group elements, composed of name and status sub-elements.
cacheSecurityGroups
- A list of cache security group elements, composed of name and
status sub-elements.public CacheCluster withCacheSecurityGroups(CacheSecurityGroupMembership... cacheSecurityGroups)
A list of cache security group elements, composed of name and status sub-elements.
NOTE: This method appends the values to the existing list (if
any). Use setCacheSecurityGroups(java.util.Collection)
or
withCacheSecurityGroups(java.util.Collection)
if you want to
override the existing values.
cacheSecurityGroups
- A list of cache security group elements, composed of name and
status sub-elements.public CacheCluster withCacheSecurityGroups(java.util.Collection<CacheSecurityGroupMembership> cacheSecurityGroups)
A list of cache security group elements, composed of name and status sub-elements.
cacheSecurityGroups
- A list of cache security group elements, composed of name and
status sub-elements.public void setCacheParameterGroup(CacheParameterGroupStatus cacheParameterGroup)
cacheParameterGroup
- public CacheParameterGroupStatus getCacheParameterGroup()
public CacheCluster withCacheParameterGroup(CacheParameterGroupStatus cacheParameterGroup)
cacheParameterGroup
- public void setCacheSubnetGroupName(java.lang.String cacheSubnetGroupName)
The name of the cache subnet group associated with the cache cluster.
cacheSubnetGroupName
- The name of the cache subnet group associated with the cache
cluster.public java.lang.String getCacheSubnetGroupName()
The name of the cache subnet group associated with the cache cluster.
public CacheCluster withCacheSubnetGroupName(java.lang.String cacheSubnetGroupName)
The name of the cache subnet group associated with the cache cluster.
cacheSubnetGroupName
- The name of the cache subnet group associated with the cache
cluster.public java.util.List<CacheNode> getCacheNodes()
A list of cache nodes that are members of the cache cluster.
public void setCacheNodes(java.util.Collection<CacheNode> cacheNodes)
A list of cache nodes that are members of the cache cluster.
cacheNodes
- A list of cache nodes that are members of the cache cluster.public CacheCluster withCacheNodes(CacheNode... cacheNodes)
A list of cache nodes that are members of the cache cluster.
NOTE: This method appends the values to the existing list (if
any). Use setCacheNodes(java.util.Collection)
or
withCacheNodes(java.util.Collection)
if you want to override the
existing values.
cacheNodes
- A list of cache nodes that are members of the cache cluster.public CacheCluster withCacheNodes(java.util.Collection<CacheNode> cacheNodes)
A list of cache nodes that are members of the cache cluster.
cacheNodes
- A list of cache nodes that are members of the cache cluster.public void setAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
This parameter is currently disabled.
autoMinorVersionUpgrade
- This parameter is currently disabled.public java.lang.Boolean getAutoMinorVersionUpgrade()
This parameter is currently disabled.
public CacheCluster withAutoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
This parameter is currently disabled.
autoMinorVersionUpgrade
- This parameter is currently disabled.public java.lang.Boolean isAutoMinorVersionUpgrade()
This parameter is currently disabled.
public java.util.List<SecurityGroupMembership> getSecurityGroups()
A list of VPC Security Groups associated with the cache cluster.
public void setSecurityGroups(java.util.Collection<SecurityGroupMembership> securityGroups)
A list of VPC Security Groups associated with the cache cluster.
securityGroups
- A list of VPC Security Groups associated with the cache cluster.public CacheCluster withSecurityGroups(SecurityGroupMembership... securityGroups)
A list of VPC Security Groups associated with the cache cluster.
NOTE: This method appends the values to the existing list (if
any). Use setSecurityGroups(java.util.Collection)
or
withSecurityGroups(java.util.Collection)
if you want to override
the existing values.
securityGroups
- A list of VPC Security Groups associated with the cache cluster.public CacheCluster withSecurityGroups(java.util.Collection<SecurityGroupMembership> securityGroups)
A list of VPC Security Groups associated with the cache cluster.
securityGroups
- A list of VPC Security Groups associated with the cache cluster.public void setReplicationGroupId(java.lang.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.
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.public java.lang.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.
public CacheCluster withReplicationGroupId(java.lang.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.
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.public void setSnapshotRetentionLimit(java.lang.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.
Important
If the value of SnapshotRetentionLimit is set to zero (0), backups are
turned off.
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.
Important
If the value of SnapshotRetentionLimit is set to zero (0), backups
are turned off.
public java.lang.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.
Important
If the value of SnapshotRetentionLimit is set to zero (0), backups are
turned off.
Important
If the value of SnapshotRetentionLimit is set to zero (0),
backups are turned off.
public CacheCluster withSnapshotRetentionLimit(java.lang.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.
Important
If the value of SnapshotRetentionLimit is set to zero (0), backups are
turned off.
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.
Important
If the value of SnapshotRetentionLimit is set to zero (0), backups
are turned off.
public void setSnapshotWindow(java.lang.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
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
public java.lang.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
Example: 05:00-09:00
public CacheCluster withSnapshotWindow(java.lang.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
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
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CacheCluster clone()
clone
in class java.lang.Object