public static interface ReplicationGroup.Builder extends SdkPojo, CopyableBuilder<ReplicationGroup.Builder,ReplicationGroup>
| Modifier and Type | Method and Description |
|---|---|
ReplicationGroup.Builder |
arn(String arn)
The ARN (Amazon Resource Name) of the replication group.
|
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 |
authTokenLastModifiedDate(Instant authTokenLastModifiedDate)
The date the auth token was last modified
|
ReplicationGroup.Builder |
automaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates the status of automatic failover for this Redis replication group.
|
ReplicationGroup.Builder |
automaticFailover(String automaticFailover)
Indicates the status of 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.
|
default ReplicationGroup.Builder |
globalReplicationGroupInfo(Consumer<GlobalReplicationGroupInfo.Builder> globalReplicationGroupInfo)
The name of the Global datastore and role of this replication group in the Global datastore.
|
ReplicationGroup.Builder |
globalReplicationGroupInfo(GlobalReplicationGroupInfo globalReplicationGroupInfo)
The name of the Global datastore and role of this replication group in the Global datastore.
|
ReplicationGroup.Builder |
kmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the disk in the cluster.
|
ReplicationGroup.Builder |
logDeliveryConfigurations(Collection<LogDeliveryConfiguration> logDeliveryConfigurations)
Returns the destination, format and type of the logs.
|
ReplicationGroup.Builder |
logDeliveryConfigurations(Consumer<LogDeliveryConfiguration.Builder>... logDeliveryConfigurations)
Returns the destination, format and type of the logs.
|
ReplicationGroup.Builder |
logDeliveryConfigurations(LogDeliveryConfiguration... logDeliveryConfigurations)
Returns the destination, format and type of the logs.
|
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 |
memberClustersOutpostArns(Collection<String> memberClustersOutpostArns)
The outpost ARNs of the replication group's member clusters.
|
ReplicationGroup.Builder |
memberClustersOutpostArns(String... memberClustersOutpostArns)
The outpost ARNs of the replication group's member clusters.
|
ReplicationGroup.Builder |
multiAZ(MultiAZStatus multiAZ)
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance.
|
ReplicationGroup.Builder |
multiAZ(String multiAZ)
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance.
|
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. |
ReplicationGroup.Builder |
userGroupIds(Collection<String> userGroupIds)
The list of user group IDs that have access to the replication group.
|
ReplicationGroup.Builder |
userGroupIds(String... userGroupIds)
The list of user group IDs that have access to the replication group.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildReplicationGroup.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 globalReplicationGroupInfo(GlobalReplicationGroupInfo globalReplicationGroupInfo)
The name of the Global datastore and role of this replication group in the Global datastore.
globalReplicationGroupInfo - The name of the Global datastore and role of this replication group in the Global datastore.default ReplicationGroup.Builder globalReplicationGroupInfo(Consumer<GlobalReplicationGroupInfo.Builder> globalReplicationGroupInfo)
The name of the Global datastore and role of this replication group in the Global datastore.
This is a convenience that creates an instance of theGlobalReplicationGroupInfo.Builder avoiding the
need to create one manually via GlobalReplicationGroupInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to globalReplicationGroupInfo(GlobalReplicationGroupInfo).globalReplicationGroupInfo - a consumer that will call methods on GlobalReplicationGroupInfo.BuilderglobalReplicationGroupInfo(GlobalReplicationGroupInfo)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.BuilderpendingModifiedValues(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 automatic failover for this Redis replication group.
automaticFailover - Indicates the status of automatic failover for this Redis replication group.AutomaticFailoverStatus,
AutomaticFailoverStatusReplicationGroup.Builder automaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates the status of automatic failover for this Redis replication group.
automaticFailover - Indicates the status of automatic failover for this Redis replication group.AutomaticFailoverStatus,
AutomaticFailoverStatusReplicationGroup.Builder multiAZ(String multiAZ)
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ
multiAZ - A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see
Minimizing
Downtime: Multi-AZMultiAZStatus,
MultiAZStatusReplicationGroup.Builder multiAZ(MultiAZStatus multiAZ)
A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see Minimizing Downtime: Multi-AZ
multiAZ - A flag indicating if you have Multi-AZ enabled to enhance fault tolerance. For more information, see
Minimizing
Downtime: Multi-AZMultiAZStatus,
MultiAZStatusReplicationGroup.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.BuilderconfigurationEndpoint(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 authTokenLastModifiedDate(Instant authTokenLastModifiedDate)
The date the auth token was last modified
authTokenLastModifiedDate - The date the auth token was last modifiedReplicationGroup.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, 4.x or later.
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, 4.x or later.
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, 4.x or later.
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, 4.x or later.
Default: false
ReplicationGroup.Builder memberClustersOutpostArns(Collection<String> memberClustersOutpostArns)
The outpost ARNs of the replication group's member clusters.
memberClustersOutpostArns - The outpost ARNs of the replication group's member clusters.ReplicationGroup.Builder memberClustersOutpostArns(String... memberClustersOutpostArns)
The outpost ARNs of the replication group's member clusters.
memberClustersOutpostArns - The outpost ARNs of the replication group's member clusters.ReplicationGroup.Builder kmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the disk in the cluster.
kmsKeyId - The ID of the KMS key used to encrypt the disk in the cluster.ReplicationGroup.Builder arn(String arn)
The ARN (Amazon Resource Name) of the replication group.
arn - The ARN (Amazon Resource Name) of the replication group.ReplicationGroup.Builder userGroupIds(Collection<String> userGroupIds)
The list of user group IDs that have access to the replication group.
userGroupIds - The list of user group IDs that have access to the replication group.ReplicationGroup.Builder userGroupIds(String... userGroupIds)
The list of user group IDs that have access to the replication group.
userGroupIds - The list of user group IDs that have access to the replication group.ReplicationGroup.Builder logDeliveryConfigurations(Collection<LogDeliveryConfiguration> logDeliveryConfigurations)
Returns the destination, format and type of the logs.
logDeliveryConfigurations - Returns the destination, format and type of the logs.ReplicationGroup.Builder logDeliveryConfigurations(LogDeliveryConfiguration... logDeliveryConfigurations)
Returns the destination, format and type of the logs.
logDeliveryConfigurations - Returns the destination, format and type of the logs.ReplicationGroup.Builder logDeliveryConfigurations(Consumer<LogDeliveryConfiguration.Builder>... logDeliveryConfigurations)
Returns the destination, format and type of the logs.
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 #logDeliveryConfigurations(List) .logDeliveryConfigurations - a consumer that will call methods on List.Builder #logDeliveryConfigurations(List) Copyright © 2021. All rights reserved.