public static interface Cluster.Builder extends SdkPojo, CopyableBuilder<Cluster.Builder,Cluster>
| Modifier and Type | Method and Description |
|---|---|
Cluster.Builder |
aclName(String aclName)
The name of the Access Control List associated with this cluster.
|
Cluster.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the cluster.
|
Cluster.Builder |
autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
|
Cluster.Builder |
availabilityMode(AZStatus availabilityMode)
Indicates if the cluster has a Multi-AZ configuration (multiaz) or not (singleaz).
|
Cluster.Builder |
availabilityMode(String availabilityMode)
Indicates if the cluster has a Multi-AZ configuration (multiaz) or not (singleaz).
|
default Cluster.Builder |
clusterEndpoint(Consumer<Endpoint.Builder> clusterEndpoint)
The cluster's configuration endpoint
|
Cluster.Builder |
clusterEndpoint(Endpoint clusterEndpoint)
The cluster's configuration endpoint
|
Cluster.Builder |
dataTiering(DataTieringStatus dataTiering)
Enables data tiering.
|
Cluster.Builder |
dataTiering(String dataTiering)
Enables data tiering.
|
Cluster.Builder |
description(String description)
A description of the cluster
|
Cluster.Builder |
enginePatchVersion(String enginePatchVersion)
The Redis engine patch version used by the cluster
|
Cluster.Builder |
engineVersion(String engineVersion)
The Redis engine version used by the cluster
|
Cluster.Builder |
kmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the cluster
|
Cluster.Builder |
maintenanceWindow(String maintenanceWindow)
Specifies the weekly time range during which maintenance on the cluster is performed.
|
Cluster.Builder |
name(String name)
The user-supplied name of the cluster.
|
Cluster.Builder |
nodeType(String nodeType)
The cluster's node type
|
Cluster.Builder |
numberOfShards(Integer numberOfShards)
The number of shards in the cluster
|
Cluster.Builder |
parameterGroupName(String parameterGroupName)
The name of the parameter group used by the cluster
|
Cluster.Builder |
parameterGroupStatus(String parameterGroupStatus)
The status of the parameter group used by the cluster, for example 'active' or 'applying'.
|
Cluster.Builder |
pendingUpdates(ClusterPendingUpdates pendingUpdates)
A group of settings that are currently being applied.
|
default Cluster.Builder |
pendingUpdates(Consumer<ClusterPendingUpdates.Builder> pendingUpdates)
A group of settings that are currently being applied.
|
Cluster.Builder |
securityGroups(Collection<SecurityGroupMembership> securityGroups)
A list of security groups used by the cluster
|
Cluster.Builder |
securityGroups(Consumer<SecurityGroupMembership.Builder>... securityGroups)
A list of security groups used by the cluster
|
Cluster.Builder |
securityGroups(SecurityGroupMembership... securityGroups)
A list of security groups used by the cluster
|
Cluster.Builder |
shards(Collection<Shard> shards)
A list of shards that are members of the cluster.
|
Cluster.Builder |
shards(Consumer<Shard.Builder>... shards)
A list of shards that are members of the cluster.
|
Cluster.Builder |
shards(Shard... shards)
A list of shards that are members of the cluster.
|
Cluster.Builder |
snapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which MemoryDB retains automatic snapshots before deleting them.
|
Cluster.Builder |
snapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
|
Cluster.Builder |
snsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the SNS notification topic
|
Cluster.Builder |
snsTopicStatus(String snsTopicStatus)
The SNS topic must be in Active status to receive notifications
|
Cluster.Builder |
status(String status)
The status of the cluster.
|
Cluster.Builder |
subnetGroupName(String subnetGroupName)
The name of the subnet group used by the cluster
|
Cluster.Builder |
tlsEnabled(Boolean tlsEnabled)
A flag to indicate if In-transit encryption is enabled
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCluster.Builder name(String name)
The user-supplied name of the cluster. This identifier is a unique key that identifies a cluster.
name - The user-supplied name of the cluster. This identifier is a unique key that identifies a cluster.Cluster.Builder description(String description)
A description of the cluster
description - A description of the clusterCluster.Builder status(String status)
The status of the cluster. For example, Available, Updating, Creating.
status - The status of the cluster. For example, Available, Updating, Creating.Cluster.Builder pendingUpdates(ClusterPendingUpdates pendingUpdates)
A group of settings that are currently being applied.
pendingUpdates - A group of settings that are currently being applied.default Cluster.Builder pendingUpdates(Consumer<ClusterPendingUpdates.Builder> pendingUpdates)
A group of settings that are currently being applied.
This is a convenience method that creates an instance of theClusterPendingUpdates.Builder avoiding
the need to create one manually via ClusterPendingUpdates.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to pendingUpdates(ClusterPendingUpdates).
pendingUpdates - a consumer that will call methods on ClusterPendingUpdates.BuilderpendingUpdates(ClusterPendingUpdates)Cluster.Builder numberOfShards(Integer numberOfShards)
The number of shards in the cluster
numberOfShards - The number of shards in the clusterCluster.Builder shards(Collection<Shard> shards)
A list of shards that are members of the cluster.
shards - A list of shards that are members of the cluster.Cluster.Builder shards(Shard... shards)
A list of shards that are members of the cluster.
shards - A list of shards that are members of the cluster.Cluster.Builder shards(Consumer<Shard.Builder>... shards)
A list of shards that are members of the cluster.
This is a convenience method that creates an instance of theShard.Builder avoiding the need to create one manually
via Shard.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #shards(List.
shards - a consumer that will call methods on
Shard.Builder#shards(java.util.Collection) Cluster.Builder availabilityMode(String availabilityMode)
Indicates if the cluster has a Multi-AZ configuration (multiaz) or not (singleaz).
Cluster.Builder availabilityMode(AZStatus availabilityMode)
Indicates if the cluster has a Multi-AZ configuration (multiaz) or not (singleaz).
Cluster.Builder clusterEndpoint(Endpoint clusterEndpoint)
The cluster's configuration endpoint
clusterEndpoint - The cluster's configuration endpointdefault Cluster.Builder clusterEndpoint(Consumer<Endpoint.Builder> clusterEndpoint)
The cluster's configuration endpoint
This is a convenience method 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 clusterEndpoint(Endpoint).
clusterEndpoint - a consumer that will call methods on Endpoint.BuilderclusterEndpoint(Endpoint)Cluster.Builder nodeType(String nodeType)
The cluster's node type
nodeType - The cluster's node typeCluster.Builder engineVersion(String engineVersion)
The Redis engine version used by the cluster
engineVersion - The Redis engine version used by the clusterCluster.Builder enginePatchVersion(String enginePatchVersion)
The Redis engine patch version used by the cluster
enginePatchVersion - The Redis engine patch version used by the clusterCluster.Builder parameterGroupName(String parameterGroupName)
The name of the parameter group used by the cluster
parameterGroupName - The name of the parameter group used by the clusterCluster.Builder parameterGroupStatus(String parameterGroupStatus)
The status of the parameter group used by the cluster, for example 'active' or 'applying'.
parameterGroupStatus - The status of the parameter group used by the cluster, for example 'active' or 'applying'.Cluster.Builder securityGroups(Collection<SecurityGroupMembership> securityGroups)
A list of security groups used by the cluster
securityGroups - A list of security groups used by the clusterCluster.Builder securityGroups(SecurityGroupMembership... securityGroups)
A list of security groups used by the cluster
securityGroups - A list of security groups used by the clusterCluster.Builder securityGroups(Consumer<SecurityGroupMembership.Builder>... securityGroups)
A list of security groups used by the cluster
This is a convenience method that creates an instance of theSecurityGroupMembership.Builder avoiding the need to
create one manually via
SecurityGroupMembership.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #securityGroups(List.
securityGroups - a consumer that will call methods on
SecurityGroupMembership.Builder#securityGroups(java.util.Collection) Cluster.Builder subnetGroupName(String subnetGroupName)
The name of the subnet group used by the cluster
subnetGroupName - The name of the subnet group used by the clusterCluster.Builder tlsEnabled(Boolean tlsEnabled)
A flag to indicate if In-transit encryption is enabled
tlsEnabled - A flag to indicate if In-transit encryption is enabledCluster.Builder kmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the cluster
kmsKeyId - The ID of the KMS key used to encrypt the clusterCluster.Builder arn(String arn)
The Amazon Resource Name (ARN) of the cluster.
arn - The Amazon Resource Name (ARN) of the cluster.Cluster.Builder snsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the SNS notification topic
snsTopicArn - The Amazon Resource Name (ARN) of the SNS notification topicCluster.Builder snsTopicStatus(String snsTopicStatus)
The SNS topic must be in Active status to receive notifications
snsTopicStatus - The SNS topic must be in Active status to receive notificationsCluster.Builder snapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which MemoryDB retains automatic 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.
snapshotRetentionLimit - The number of days for which MemoryDB retains automatic 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.Cluster.Builder maintenanceWindow(String maintenanceWindow)
Specifies the weekly time range during which maintenance on the 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.
maintenanceWindow - Specifies the weekly time range during which maintenance on the 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.Cluster.Builder snapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: 05:00-09:00 If you do not specify this parameter, MemoryDB automatically chooses an appropriate time range.
snapshotWindow - The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
Example: 05:00-09:00 If you do not specify this parameter, MemoryDB automatically chooses an
appropriate time range.Cluster.Builder aclName(String aclName)
The name of the Access Control List associated with this cluster.
aclName - The name of the Access Control List associated with this cluster.Cluster.Builder autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
autoMinorVersionUpgrade - When set to true, the cluster will automatically receive minor engine version upgrades after launch.Cluster.Builder dataTiering(String dataTiering)
Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering.
dataTiering - Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This
parameter must be set when using r6gd nodes. For more information, see Data tiering.DataTieringStatus,
DataTieringStatusCluster.Builder dataTiering(DataTieringStatus dataTiering)
Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. For more information, see Data tiering.
dataTiering - Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This
parameter must be set when using r6gd nodes. For more information, see Data tiering.DataTieringStatus,
DataTieringStatusCopyright © 2022. All rights reserved.