public static interface ReplicationGroup.Builder extends SdkPojo, CopyableBuilder<ReplicationGroup.Builder,ReplicationGroup>
Modifier and Type | Method and Description |
---|---|
ReplicationGroup.Builder |
atRestEncryptionEnabled(Boolean atRestEncryptionEnabled)
A flag that enables encryption at-rest when set to
true . |
ReplicationGroup.Builder |
authTokenEnabled(Boolean authTokenEnabled)
A flag that enables using an
AuthToken (password) when issuing Redis commands. |
ReplicationGroup.Builder |
automaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates the status of Multi-AZ with automatic failover for this Redis replication group.
|
ReplicationGroup.Builder |
automaticFailover(String automaticFailover)
Indicates the status of Multi-AZ with automatic failover for this Redis replication group.
|
ReplicationGroup.Builder |
cacheNodeType(String cacheNodeType)
The name of the compute and memory capacity node type for each node in the replication group.
|
ReplicationGroup.Builder |
clusterEnabled(Boolean clusterEnabled)
A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be
partitioned across multiple shards (API/CLI: node groups).
|
default ReplicationGroup.Builder |
configurationEndpoint(Consumer<Endpoint.Builder> configurationEndpoint)
The configuration endpoint for this replication group.
|
ReplicationGroup.Builder |
configurationEndpoint(Endpoint configurationEndpoint)
The configuration endpoint for this replication group.
|
ReplicationGroup.Builder |
description(String description)
The user supplied description of the replication group.
|
ReplicationGroup.Builder |
memberClusters(Collection<String> memberClusters)
The names of all the cache clusters that are part of this replication group.
|
ReplicationGroup.Builder |
memberClusters(String... memberClusters)
The names of all the cache clusters that are part of this replication group.
|
ReplicationGroup.Builder |
nodeGroups(Collection<NodeGroup> nodeGroups)
A list of node groups in this replication group.
|
ReplicationGroup.Builder |
nodeGroups(Consumer<NodeGroup.Builder>... nodeGroups)
A list of node groups in this replication group.
|
ReplicationGroup.Builder |
nodeGroups(NodeGroup... nodeGroups)
A list of node groups in this replication group.
|
default ReplicationGroup.Builder |
pendingModifiedValues(Consumer<ReplicationGroupPendingModifiedValues.Builder> pendingModifiedValues)
A group of settings to be applied to the replication group, either immediately or during the next maintenance
window.
|
ReplicationGroup.Builder |
pendingModifiedValues(ReplicationGroupPendingModifiedValues pendingModifiedValues)
A group of settings to be applied to the replication group, either immediately or during the next maintenance
window.
|
ReplicationGroup.Builder |
replicationGroupId(String replicationGroupId)
The identifier for the replication group.
|
ReplicationGroup.Builder |
snapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which ElastiCache retains automatic cluster snapshots before deleting them.
|
ReplicationGroup.Builder |
snapshottingClusterId(String snapshottingClusterId)
The cluster ID that is used as the daily snapshot source for the replication group.
|
ReplicationGroup.Builder |
snapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group
(shard).
|
ReplicationGroup.Builder |
status(String status)
The current state of this replication group -
creating , available ,
modifying , deleting , create-failed , snapshotting . |
ReplicationGroup.Builder |
transitEncryptionEnabled(Boolean transitEncryptionEnabled)
A flag that enables in-transit encryption when set to
true . |
copy
applyMutation, build
ReplicationGroup.Builder replicationGroupId(String replicationGroupId)
The identifier for the replication group.
replicationGroupId
- The identifier for the replication group.ReplicationGroup.Builder description(String description)
The user supplied description of the replication group.
description
- The user supplied description of the replication group.ReplicationGroup.Builder status(String status)
The current state of this replication group - creating
, available
,
modifying
, deleting
, create-failed
, snapshotting
.
status
- The current state of this replication group - creating
, available
,
modifying
, deleting
, create-failed
, snapshotting
.ReplicationGroup.Builder pendingModifiedValues(ReplicationGroupPendingModifiedValues pendingModifiedValues)
A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
pendingModifiedValues
- A group of settings to be applied to the replication group, either immediately or during the next
maintenance window.default ReplicationGroup.Builder pendingModifiedValues(Consumer<ReplicationGroupPendingModifiedValues.Builder> pendingModifiedValues)
A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
This is a convenience that creates an instance of theReplicationGroupPendingModifiedValues.Builder
avoiding the need to create one manually via ReplicationGroupPendingModifiedValues.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to pendingModifiedValues(ReplicationGroupPendingModifiedValues)
.pendingModifiedValues
- a consumer that will call methods on ReplicationGroupPendingModifiedValues.Builder
pendingModifiedValues(ReplicationGroupPendingModifiedValues)
ReplicationGroup.Builder memberClusters(Collection<String> memberClusters)
The names of all the cache clusters that are part of this replication group.
memberClusters
- The names of all the cache clusters that are part of this replication group.ReplicationGroup.Builder memberClusters(String... memberClusters)
The names of all the cache clusters that are part of this replication group.
memberClusters
- The names of all the cache clusters that are part of this replication group.ReplicationGroup.Builder nodeGroups(Collection<NodeGroup> nodeGroups)
A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).
nodeGroups
- A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups,
this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains
an entry for each node group (shard).ReplicationGroup.Builder nodeGroups(NodeGroup... nodeGroups)
A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).
nodeGroups
- A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups,
this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains
an entry for each node group (shard).ReplicationGroup.Builder nodeGroups(Consumer<NodeGroup.Builder>... nodeGroups)
A list of node groups in this replication group. For Redis (cluster mode disabled) replication groups, this is a single-element list. For Redis (cluster mode enabled) replication groups, the list contains an entry for each node group (shard).
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #nodeGroups(List)
.nodeGroups
- a consumer that will call methods on List.Builder
#nodeGroups(List)
ReplicationGroup.Builder snapshottingClusterId(String snapshottingClusterId)
The cluster ID that is used as the daily snapshot source for the replication group.
snapshottingClusterId
- The cluster ID that is used as the daily snapshot source for the replication group.ReplicationGroup.Builder automaticFailover(String automaticFailover)
Indicates the status of Multi-AZ with automatic failover for this Redis replication group.
Amazon ElastiCache for Redis does not support Multi-AZ with automatic failover on:
Redis versions earlier than 2.8.6.
Redis (cluster mode disabled): T1 and T2 cache node types.
Redis (cluster mode enabled): T1 node types.
automaticFailover
- Indicates the status of Multi-AZ with automatic failover for this Redis replication group.
Amazon ElastiCache for Redis does not support Multi-AZ with automatic failover on:
Redis versions earlier than 2.8.6.
Redis (cluster mode disabled): T1 and T2 cache node types.
Redis (cluster mode enabled): T1 node types.
AutomaticFailoverStatus
,
AutomaticFailoverStatus
ReplicationGroup.Builder automaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates the status of Multi-AZ with automatic failover for this Redis replication group.
Amazon ElastiCache for Redis does not support Multi-AZ with automatic failover on:
Redis versions earlier than 2.8.6.
Redis (cluster mode disabled): T1 and T2 cache node types.
Redis (cluster mode enabled): T1 node types.
automaticFailover
- Indicates the status of Multi-AZ with automatic failover for this Redis replication group.
Amazon ElastiCache for Redis does not support Multi-AZ with automatic failover on:
Redis versions earlier than 2.8.6.
Redis (cluster mode disabled): T1 and T2 cache node types.
Redis (cluster mode enabled): T1 node types.
AutomaticFailoverStatus
,
AutomaticFailoverStatus
ReplicationGroup.Builder configurationEndpoint(Endpoint configurationEndpoint)
The configuration endpoint for this replication group. Use the configuration endpoint to connect to this replication group.
configurationEndpoint
- The configuration endpoint for this replication group. Use the configuration endpoint to connect to
this replication group.default ReplicationGroup.Builder configurationEndpoint(Consumer<Endpoint.Builder> configurationEndpoint)
The configuration endpoint for this replication group. Use the configuration endpoint to connect to this replication group.
This is a convenience that creates an instance of theEndpoint.Builder
avoiding the need to create
one manually via Endpoint.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to configurationEndpoint(Endpoint)
.configurationEndpoint
- a consumer that will call methods on Endpoint.Builder
configurationEndpoint(Endpoint)
ReplicationGroup.Builder snapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which ElastiCache retains automatic cluster snapshots before deleting them. For
example, if you set SnapshotRetentionLimit
to 5, a snapshot that was taken today is retained for
5 days before being deleted.
If the value of SnapshotRetentionLimit
is set to zero (0), backups are turned off.
snapshotRetentionLimit
- The number of days for which ElastiCache retains automatic cluster snapshots before deleting them. For
example, if you set SnapshotRetentionLimit
to 5, a snapshot that was taken today is
retained for 5 days before being deleted.
If the value of SnapshotRetentionLimit
is set to zero (0), backups are turned off.
ReplicationGroup.Builder snapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).
Example: 05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
This parameter is only valid if the Engine
parameter is redis
.
snapshotWindow
- The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node
group (shard).
Example: 05:00-09:00
If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.
This parameter is only valid if the Engine
parameter is redis
.
ReplicationGroup.Builder clusterEnabled(Boolean clusterEnabled)
A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can be partitioned across multiple shards (API/CLI: node groups).
Valid values: true
| false
clusterEnabled
- A flag indicating whether or not this replication group is cluster enabled; i.e., whether its data can
be partitioned across multiple shards (API/CLI: node groups).
Valid values: true
| false
ReplicationGroup.Builder cacheNodeType(String cacheNodeType)
The name of the compute and memory capacity node type for each node in the replication group.
cacheNodeType
- The name of the compute and memory capacity node type for each node in the replication group.ReplicationGroup.Builder authTokenEnabled(Boolean authTokenEnabled)
A flag that enables using an AuthToken
(password) when issuing Redis commands.
Default: false
authTokenEnabled
- A flag that enables using an AuthToken
(password) when issuing Redis commands.
Default: false
ReplicationGroup.Builder transitEncryptionEnabled(Boolean transitEncryptionEnabled)
A flag that enables in-transit encryption when set to true
.
You cannot modify the value of TransitEncryptionEnabled
after the cluster is created. To enable
in-transit encryption on a cluster you must set TransitEncryptionEnabled
to true
when you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
or 4.x
.
Default: false
transitEncryptionEnabled
- A flag that enables in-transit encryption when set to true
.
You cannot modify the value of TransitEncryptionEnabled
after the cluster is created. To
enable in-transit encryption on a cluster you must set TransitEncryptionEnabled
to
true
when you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
or 4.x
.
Default: false
ReplicationGroup.Builder atRestEncryptionEnabled(Boolean atRestEncryptionEnabled)
A flag that enables encryption at-rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the cluster is created. To enable
encryption at-rest on a cluster you must set AtRestEncryptionEnabled
to true
when
you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
or 4.x
.
Default: false
atRestEncryptionEnabled
- A flag that enables encryption at-rest when set to true
.
You cannot modify the value of AtRestEncryptionEnabled
after the cluster is created. To
enable encryption at-rest on a cluster you must set AtRestEncryptionEnabled
to
true
when you create a cluster.
Required: Only available when creating a replication group in an Amazon VPC using redis version
3.2.6
or 4.x
.
Default: false
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.