Class Snapshot
- All Implemented Interfaces:
Serializable
,Cloneable
Represents a copy of an entire cache cluster as of the time when the snapshot was taken.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
This parameter is currently disabled.The date and time when the source cache cluster was created.The user-supplied identifier of the source cache cluster.The name of the compute and memory capacity node type for the source cache cluster.The cache parameter group that is associated with the source cache cluster.The name of the cache subnet group associated with the source cache cluster.The name of the cache engine (memcached or redis) used by the source cache cluster.The version of the cache engine version that is used by the source cache cluster.A list of the cache nodes in the source cache cluster.The number of cache nodes in the source cache cluster.getPort()
The port number used by each cache nodes in the source cache cluster.The name of the Availability Zone in which the source cache cluster is located.Specifies the weekly time range during which maintenance on the cache cluster is performed.The name of a snapshot.For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.Indicates whether the snapshot is from an automatic backup (automated
) or was created manually (manual
).The status of the snapshot.The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.getVpcId()
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.int
hashCode()
This parameter is currently disabled.void
setAutoMinorVersionUpgrade
(Boolean autoMinorVersionUpgrade) This parameter is currently disabled.void
setCacheClusterCreateTime
(Date cacheClusterCreateTime) The date and time when the source cache cluster was created.void
setCacheClusterId
(String cacheClusterId) The user-supplied identifier of the source cache cluster.void
setCacheNodeType
(String cacheNodeType) The name of the compute and memory capacity node type for the source cache cluster.void
setCacheParameterGroupName
(String cacheParameterGroupName) The cache parameter group that is associated with the source cache cluster.void
setCacheSubnetGroupName
(String cacheSubnetGroupName) The name of the cache subnet group associated with the source cache cluster.void
The name of the cache engine (memcached or redis) used by the source cache cluster.void
setEngineVersion
(String engineVersion) The version of the cache engine version that is used by the source cache cluster.void
setNodeSnapshots
(Collection<NodeSnapshot> nodeSnapshots) A list of the cache nodes in the source cache cluster.void
setNumCacheNodes
(Integer numCacheNodes) The number of cache nodes in the source cache cluster.void
The port number used by each cache nodes in the source cache cluster.void
setPreferredAvailabilityZone
(String preferredAvailabilityZone) The name of the Availability Zone in which the source cache cluster is located.void
setPreferredMaintenanceWindow
(String preferredMaintenanceWindow) Specifies the weekly time range during which maintenance on the cache cluster is performed.void
setSnapshotName
(String snapshotName) The name of a snapshot.void
setSnapshotRetentionLimit
(Integer snapshotRetentionLimit) For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.void
setSnapshotSource
(String snapshotSource) Indicates whether the snapshot is from an automatic backup (automated
) or was created manually (manual
).void
setSnapshotStatus
(String snapshotStatus) The status of the snapshot.void
setSnapshotWindow
(String snapshotWindow) The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.void
setTopicArn
(String topicArn) The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.void
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.toString()
Returns a string representation of this object; useful for testing and debugging.withAutoMinorVersionUpgrade
(Boolean autoMinorVersionUpgrade) This parameter is currently disabled.withCacheClusterCreateTime
(Date cacheClusterCreateTime) The date and time when the source cache cluster was created.withCacheClusterId
(String cacheClusterId) The user-supplied identifier of the source cache cluster.withCacheNodeType
(String cacheNodeType) The name of the compute and memory capacity node type for the source cache cluster.withCacheParameterGroupName
(String cacheParameterGroupName) The cache parameter group that is associated with the source cache cluster.withCacheSubnetGroupName
(String cacheSubnetGroupName) The name of the cache subnet group associated with the source cache cluster.withEngine
(String engine) The name of the cache engine (memcached or redis) used by the source cache cluster.withEngineVersion
(String engineVersion) The version of the cache engine version that is used by the source cache cluster.withNodeSnapshots
(NodeSnapshot... nodeSnapshots) A list of the cache nodes in the source cache cluster.withNodeSnapshots
(Collection<NodeSnapshot> nodeSnapshots) A list of the cache nodes in the source cache cluster.withNumCacheNodes
(Integer numCacheNodes) The number of cache nodes in the source cache cluster.The port number used by each cache nodes in the source cache cluster.withPreferredAvailabilityZone
(String preferredAvailabilityZone) The name of the Availability Zone in which the source cache cluster is located.withPreferredMaintenanceWindow
(String preferredMaintenanceWindow) Specifies the weekly time range during which maintenance on the cache cluster is performed.withSnapshotName
(String snapshotName) The name of a snapshot.withSnapshotRetentionLimit
(Integer snapshotRetentionLimit) For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.withSnapshotSource
(String snapshotSource) Indicates whether the snapshot is from an automatic backup (automated
) or was created manually (manual
).withSnapshotStatus
(String snapshotStatus) The status of the snapshot.withSnapshotWindow
(String snapshotWindow) The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.withTopicArn
(String topicArn) The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.
-
Constructor Details
-
Snapshot
public Snapshot()
-
-
Method Details
-
setSnapshotName
The name of a snapshot. For an automatic snapshot, the name is system-generated; for a manual snapshot, this is the user-provided name.
- Parameters:
snapshotName
- The name of a snapshot. For an automatic snapshot, the name is system-generated; for a manual snapshot, this is the user-provided name.
-
getSnapshotName
The name of a snapshot. For an automatic snapshot, the name is system-generated; for a manual snapshot, this is the user-provided name.
- Returns:
- The name of a snapshot. For an automatic snapshot, the name is system-generated; for a manual snapshot, this is the user-provided name.
-
withSnapshotName
The name of a snapshot. For an automatic snapshot, the name is system-generated; for a manual snapshot, this is the user-provided name.
- Parameters:
snapshotName
- The name of a snapshot. For an automatic snapshot, the name is system-generated; for a manual snapshot, this is the user-provided name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheClusterId
The user-supplied identifier of the source cache cluster.
- Parameters:
cacheClusterId
- The user-supplied identifier of the source cache cluster.
-
getCacheClusterId
The user-supplied identifier of the source cache cluster.
- Returns:
- The user-supplied identifier of the source cache cluster.
-
withCacheClusterId
The user-supplied identifier of the source cache cluster.
- Parameters:
cacheClusterId
- The user-supplied identifier of the source cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotStatus
The status of the snapshot. Valid values:
creating
|available
|restoring
|copying
|deleting
.- Parameters:
snapshotStatus
- The status of the snapshot. Valid values:creating
|available
|restoring
|copying
|deleting
.
-
getSnapshotStatus
The status of the snapshot. Valid values:
creating
|available
|restoring
|copying
|deleting
.- Returns:
- The status of the snapshot. Valid values:
creating
|available
|restoring
|copying
|deleting
.
-
withSnapshotStatus
The status of the snapshot. Valid values:
creating
|available
|restoring
|copying
|deleting
.- Parameters:
snapshotStatus
- The status of the snapshot. Valid values:creating
|available
|restoring
|copying
|deleting
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotSource
Indicates whether the snapshot is from an automatic backup (
automated
) or was created manually (manual
).- Parameters:
snapshotSource
- Indicates whether the snapshot is from an automatic backup (automated
) or was created manually (manual
).
-
getSnapshotSource
Indicates whether the snapshot is from an automatic backup (
automated
) or was created manually (manual
).- Returns:
- Indicates whether the snapshot is from an automatic backup (
automated
) or was created manually (manual
).
-
withSnapshotSource
Indicates whether the snapshot is from an automatic backup (
automated
) or was created manually (manual
).- Parameters:
snapshotSource
- Indicates whether the snapshot is from an automatic backup (automated
) or was created manually (manual
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheNodeType
The name of the compute and memory capacity node type for the source cache cluster.
Valid node types are as follows:
- General purpose:
- Current generation:
cache.t2.micro
,cache.t2.small
,cache.t2.medium
,cache.m3.medium
,cache.m3.large
,cache.m3.xlarge
,cache.m3.2xlarge
- Previous generation:
cache.t1.micro
,cache.m1.small
,cache.m1.medium
,cache.m1.large
,cache.m1.xlarge
- Current generation:
- Compute optimized:
cache.c1.xlarge
- Memory optimized
- Current generation:
cache.r3.large
,cache.r3.xlarge
,cache.r3.2xlarge
,cache.r3.4xlarge
,cache.r3.8xlarge
- Previous generation:
cache.m2.xlarge
,cache.m2.2xlarge
,cache.m2.4xlarge
- Current generation:
Notes:
- All t2 instances are created in an Amazon Virtual Private Cloud (VPC).
- Redis backup/restore is not supported for t2 instances.
- Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances.
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.
- Parameters:
cacheNodeType
- The name of the compute and memory capacity node type for the source cache cluster.Valid node types are as follows:
- General purpose:
- Current generation:
cache.t2.micro
,cache.t2.small
,cache.t2.medium
,cache.m3.medium
,cache.m3.large
,cache.m3.xlarge
,cache.m3.2xlarge
- Previous generation:
cache.t1.micro
,cache.m1.small
,cache.m1.medium
,cache.m1.large
,cache.m1.xlarge
- Current generation:
- Compute optimized:
cache.c1.xlarge
- Memory optimized
- Current generation:
cache.r3.large
,cache.r3.xlarge
,cache.r3.2xlarge
,cache.r3.4xlarge
,cache.r3.8xlarge
- Previous generation:
cache.m2.xlarge
,cache.m2.2xlarge
,cache.m2.4xlarge
- Current generation:
Notes:
- All t2 instances are created in an Amazon Virtual Private Cloud (VPC).
- Redis backup/restore is not supported for t2 instances.
- Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances.
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.
- General purpose:
- General purpose:
-
getCacheNodeType
The name of the compute and memory capacity node type for the source cache cluster.
Valid node types are as follows:
- General purpose:
- Current generation:
cache.t2.micro
,cache.t2.small
,cache.t2.medium
,cache.m3.medium
,cache.m3.large
,cache.m3.xlarge
,cache.m3.2xlarge
- Previous generation:
cache.t1.micro
,cache.m1.small
,cache.m1.medium
,cache.m1.large
,cache.m1.xlarge
- Current generation:
- Compute optimized:
cache.c1.xlarge
- Memory optimized
- Current generation:
cache.r3.large
,cache.r3.xlarge
,cache.r3.2xlarge
,cache.r3.4xlarge
,cache.r3.8xlarge
- Previous generation:
cache.m2.xlarge
,cache.m2.2xlarge
,cache.m2.4xlarge
- Current generation:
Notes:
- All t2 instances are created in an Amazon Virtual Private Cloud (VPC).
- Redis backup/restore is not supported for t2 instances.
- Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances.
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.
- Returns:
- The name of the compute and memory capacity node type for the
source cache cluster.
Valid node types are as follows:
- General purpose:
- Current generation:
cache.t2.micro
,cache.t2.small
,cache.t2.medium
,cache.m3.medium
,cache.m3.large
,cache.m3.xlarge
,cache.m3.2xlarge
- Previous generation:
cache.t1.micro
,cache.m1.small
,cache.m1.medium
,cache.m1.large
,cache.m1.xlarge
- Current generation:
- Compute optimized:
cache.c1.xlarge
- Memory optimized
- Current generation:
cache.r3.large
,cache.r3.xlarge
,cache.r3.2xlarge
,cache.r3.4xlarge
,cache.r3.8xlarge
- Previous generation:
cache.m2.xlarge
,cache.m2.2xlarge
,cache.m2.4xlarge
- Current generation:
Notes:
- All t2 instances are created in an Amazon Virtual Private Cloud (VPC).
- Redis backup/restore is not supported for t2 instances.
- Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances.
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.
- General purpose:
- General purpose:
-
withCacheNodeType
The name of the compute and memory capacity node type for the source cache cluster.
Valid node types are as follows:
- General purpose:
- Current generation:
cache.t2.micro
,cache.t2.small
,cache.t2.medium
,cache.m3.medium
,cache.m3.large
,cache.m3.xlarge
,cache.m3.2xlarge
- Previous generation:
cache.t1.micro
,cache.m1.small
,cache.m1.medium
,cache.m1.large
,cache.m1.xlarge
- Current generation:
- Compute optimized:
cache.c1.xlarge
- Memory optimized
- Current generation:
cache.r3.large
,cache.r3.xlarge
,cache.r3.2xlarge
,cache.r3.4xlarge
,cache.r3.8xlarge
- Previous generation:
cache.m2.xlarge
,cache.m2.2xlarge
,cache.m2.4xlarge
- Current generation:
Notes:
- All t2 instances are created in an Amazon Virtual Private Cloud (VPC).
- Redis backup/restore is not supported for t2 instances.
- Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances.
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.
- Parameters:
cacheNodeType
- The name of the compute and memory capacity node type for the source cache cluster.Valid node types are as follows:
- General purpose:
- Current generation:
cache.t2.micro
,cache.t2.small
,cache.t2.medium
,cache.m3.medium
,cache.m3.large
,cache.m3.xlarge
,cache.m3.2xlarge
- Previous generation:
cache.t1.micro
,cache.m1.small
,cache.m1.medium
,cache.m1.large
,cache.m1.xlarge
- Current generation:
- Compute optimized:
cache.c1.xlarge
- Memory optimized
- Current generation:
cache.r3.large
,cache.r3.xlarge
,cache.r3.2xlarge
,cache.r3.4xlarge
,cache.r3.8xlarge
- Previous generation:
cache.m2.xlarge
,cache.m2.2xlarge
,cache.m2.4xlarge
- Current generation:
Notes:
- All t2 instances are created in an Amazon Virtual Private Cloud (VPC).
- Redis backup/restore is not supported for t2 instances.
- Redis Append-only files (AOF) functionality is not supported for t1 or t2 instances.
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.
- General purpose:
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- General purpose:
-
setEngine
The name of the cache engine (memcached or redis) used by the source cache cluster.
- Parameters:
engine
- The name of the cache engine (memcached or redis) used by the source cache cluster.
-
getEngine
The name of the cache engine (memcached or redis) used by the source cache cluster.
- Returns:
- The name of the cache engine (memcached or redis) used by the source cache cluster.
-
withEngine
The name of the cache engine (memcached or redis) used by the source cache cluster.
- Parameters:
engine
- The name of the cache engine (memcached or redis) used by the source cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEngineVersion
The version of the cache engine version that is used by the source cache cluster.
- Parameters:
engineVersion
- The version of the cache engine version that is used by the source cache cluster.
-
getEngineVersion
The version of the cache engine version that is used by the source cache cluster.
- Returns:
- The version of the cache engine version that is used by the source cache cluster.
-
withEngineVersion
The version of the cache engine version that is used by the source cache cluster.
- Parameters:
engineVersion
- The version of the cache engine version that is used by the source cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNumCacheNodes
The number of cache nodes in the source cache cluster.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
- Parameters:
numCacheNodes
- The number of cache nodes in the source cache cluster.For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
-
getNumCacheNodes
The number of cache nodes in the source cache cluster.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
- Returns:
- The number of cache nodes in the source cache cluster.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
-
withNumCacheNodes
The number of cache nodes in the source cache cluster.
For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
- Parameters:
numCacheNodes
- The number of cache nodes in the source cache cluster.For clusters running Redis, this value must be 1. For clusters running Memcached, this value must be between 1 and 20.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPreferredAvailabilityZone
The name of the Availability Zone in which the source cache cluster is located.
- Parameters:
preferredAvailabilityZone
- The name of the Availability Zone in which the source cache cluster is located.
-
getPreferredAvailabilityZone
The name of the Availability Zone in which the source cache cluster is located.
- Returns:
- The name of the Availability Zone in which the source cache cluster is located.
-
withPreferredAvailabilityZone
The name of the Availability Zone in which the source cache cluster is located.
- Parameters:
preferredAvailabilityZone
- The name of the Availability Zone in which the source cache cluster is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheClusterCreateTime
The date and time when the source cache cluster was created.
- Parameters:
cacheClusterCreateTime
- The date and time when the source cache cluster was created.
-
getCacheClusterCreateTime
The date and time when the source cache cluster was created.
- Returns:
- The date and time when the source cache cluster was created.
-
withCacheClusterCreateTime
The date and time when the source cache cluster was created.
- Parameters:
cacheClusterCreateTime
- The date and time when the source cache cluster was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPreferredMaintenanceWindow
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
- Parameters:
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 forddd
are:sun
mon
tue
wed
thu
fri
sat
Example:
sun:05:00-sun:09:00
-
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
- Returns:
- 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
-
withPreferredMaintenanceWindow
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
- Parameters:
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 forddd
are:sun
mon
tue
wed
thu
fri
sat
Example:
sun:05:00-sun:09:00
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTopicArn
The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.
- Parameters:
topicArn
- The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.
-
getTopicArn
The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.
- Returns:
- The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.
-
withTopicArn
The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.
- Parameters:
topicArn
- The Amazon Resource Name (ARN) for the topic used by the source cache cluster for publishing notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPort
The port number used by each cache nodes in the source cache cluster.
- Parameters:
port
- The port number used by each cache nodes in the source cache cluster.
-
getPort
The port number used by each cache nodes in the source cache cluster.
- Returns:
- The port number used by each cache nodes in the source cache cluster.
-
withPort
The port number used by each cache nodes in the source cache cluster.
- Parameters:
port
- The port number used by each cache nodes in the source cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheParameterGroupName
The cache parameter group that is associated with the source cache cluster.
- Parameters:
cacheParameterGroupName
- The cache parameter group that is associated with the source cache cluster.
-
getCacheParameterGroupName
The cache parameter group that is associated with the source cache cluster.
- Returns:
- The cache parameter group that is associated with the source cache cluster.
-
withCacheParameterGroupName
The cache parameter group that is associated with the source cache cluster.
- Parameters:
cacheParameterGroupName
- The cache parameter group that is associated with the source cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheSubnetGroupName
The name of the cache subnet group associated with the source cache cluster.
- Parameters:
cacheSubnetGroupName
- The name of the cache subnet group associated with the source cache cluster.
-
getCacheSubnetGroupName
The name of the cache subnet group associated with the source cache cluster.
- Returns:
- The name of the cache subnet group associated with the source cache cluster.
-
withCacheSubnetGroupName
The name of the cache subnet group associated with the source cache cluster.
- Parameters:
cacheSubnetGroupName
- The name of the cache subnet group associated with the source cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcId
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.
- Parameters:
vpcId
- The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.
-
getVpcId
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.
- Returns:
- The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.
-
withVpcId
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.
- Parameters:
vpcId
- The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group for the source cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAutoMinorVersionUpgrade
This parameter is currently disabled.
- Parameters:
autoMinorVersionUpgrade
- This parameter is currently disabled.
-
getAutoMinorVersionUpgrade
This parameter is currently disabled.
- Returns:
- This parameter is currently disabled.
-
withAutoMinorVersionUpgrade
This parameter is currently disabled.
- Parameters:
autoMinorVersionUpgrade
- This parameter is currently disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAutoMinorVersionUpgrade
This parameter is currently disabled.
- Returns:
- This parameter is currently disabled.
-
setSnapshotRetentionLimit
For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.
For manual snapshots, this field reflects the SnapshotRetentionLimit for the source cache cluster when the snapshot was created. This field is otherwise ignored: Manual snapshots do not expire, and can only be deleted using the DeleteSnapshot action.
Important
If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.- Parameters:
snapshotRetentionLimit
- For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.For manual snapshots, this field reflects the SnapshotRetentionLimit for the source cache cluster when the snapshot was created. This field is otherwise ignored: Manual snapshots do not expire, and can only be deleted using the DeleteSnapshot action.
Important
If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.
-
getSnapshotRetentionLimit
For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.
For manual snapshots, this field reflects the SnapshotRetentionLimit for the source cache cluster when the snapshot was created. This field is otherwise ignored: Manual snapshots do not expire, and can only be deleted using the DeleteSnapshot action.
Important
If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.- Returns:
- For an automatic snapshot, the number of days for which
ElastiCache will retain the snapshot before deleting it.
For manual snapshots, this field reflects the SnapshotRetentionLimit for the source cache cluster when the snapshot was created. This field is otherwise ignored: Manual snapshots do not expire, and can only be deleted using the DeleteSnapshot action.
Important
If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.
-
withSnapshotRetentionLimit
For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.
For manual snapshots, this field reflects the SnapshotRetentionLimit for the source cache cluster when the snapshot was created. This field is otherwise ignored: Manual snapshots do not expire, and can only be deleted using the DeleteSnapshot action.
Important
If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.- Parameters:
snapshotRetentionLimit
- For an automatic snapshot, the number of days for which ElastiCache will retain the snapshot before deleting it.For manual snapshots, this field reflects the SnapshotRetentionLimit for the source cache cluster when the snapshot was created. This field is otherwise ignored: Manual snapshots do not expire, and can only be deleted using the DeleteSnapshot action.
Important
If the value of SnapshotRetentionLimit is set to zero (0), backups are turned off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotWindow
The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.
- Parameters:
snapshotWindow
- The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.
-
getSnapshotWindow
The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.
- Returns:
- The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.
-
withSnapshotWindow
The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.
- Parameters:
snapshotWindow
- The daily time range during which ElastiCache takes daily snapshots of the source cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getNodeSnapshots
A list of the cache nodes in the source cache cluster.
- Returns:
- A list of the cache nodes in the source cache cluster.
-
setNodeSnapshots
A list of the cache nodes in the source cache cluster.
- Parameters:
nodeSnapshots
- A list of the cache nodes in the source cache cluster.
-
withNodeSnapshots
A list of the cache nodes in the source cache cluster.
NOTE: This method appends the values to the existing list (if any). Use
setNodeSnapshots(java.util.Collection)
orwithNodeSnapshots(java.util.Collection)
if you want to override the existing values.- Parameters:
nodeSnapshots
- A list of the cache nodes in the source cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withNodeSnapshots
A list of the cache nodes in the source cache cluster.
- Parameters:
nodeSnapshots
- A list of the cache nodes in the source cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-