public static interface CreateClusterRequest.Builder extends MemoryDbRequest.Builder, SdkPojo, CopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateClusterRequest.Builder |
aclName(String aclName)
The name of the Access Control List to associate with the cluster.
|
CreateClusterRequest.Builder |
autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
When set to true, the cluster will automatically receive minor engine version upgrades after launch.
|
CreateClusterRequest.Builder |
clusterName(String clusterName)
The name of the cluster.
|
CreateClusterRequest.Builder |
description(String description)
An optional description of the cluster.
|
CreateClusterRequest.Builder |
engineVersion(String engineVersion)
The version number of the Redis engine to be used for the cluster.
|
CreateClusterRequest.Builder |
kmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the cluster.
|
CreateClusterRequest.Builder |
maintenanceWindow(String maintenanceWindow)
Specifies the weekly time range during which maintenance on the cluster is performed.
|
CreateClusterRequest.Builder |
nodeType(String nodeType)
The compute and memory capacity of the nodes in the cluster.
|
CreateClusterRequest.Builder |
numReplicasPerShard(Integer numReplicasPerShard)
The number of replicas to apply to each shard.
|
CreateClusterRequest.Builder |
numShards(Integer numShards)
The number of shards the cluster will contain.
|
CreateClusterRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateClusterRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateClusterRequest.Builder |
parameterGroupName(String parameterGroupName)
The name of the parameter group associated with the cluster.
|
CreateClusterRequest.Builder |
port(Integer port)
The port number on which each of the nodes accepts connections.
|
CreateClusterRequest.Builder |
securityGroupIds(Collection<String> securityGroupIds)
A list of security group names to associate with this cluster.
|
CreateClusterRequest.Builder |
securityGroupIds(String... securityGroupIds)
A list of security group names to associate with this cluster.
|
CreateClusterRequest.Builder |
snapshotArns(Collection<String> snapshotArns)
A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3.
|
CreateClusterRequest.Builder |
snapshotArns(String... snapshotArns)
A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3.
|
CreateClusterRequest.Builder |
snapshotName(String snapshotName)
The name of a snapshot from which to restore data into the new cluster.
|
CreateClusterRequest.Builder |
snapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which MemoryDB retains automatic snapshots before deleting them.
|
CreateClusterRequest.Builder |
snapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard.
|
CreateClusterRequest.Builder |
snsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications
are sent.
|
CreateClusterRequest.Builder |
subnetGroupName(String subnetGroupName)
The name of the subnet group to be used for the cluster.
|
CreateClusterRequest.Builder |
tags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
CreateClusterRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags to be added to this resource.
|
CreateClusterRequest.Builder |
tags(Tag... tags)
A list of tags to be added to this resource.
|
CreateClusterRequest.Builder |
tlsEnabled(Boolean tlsEnabled)
A flag to enable in-transit encryption on the cluster.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateClusterRequest.Builder clusterName(String clusterName)
The name of the cluster. This value must be unique as it also serves as the cluster identifier.
clusterName - The name of the cluster. This value must be unique as it also serves as the cluster identifier.CreateClusterRequest.Builder nodeType(String nodeType)
The compute and memory capacity of the nodes in the cluster.
nodeType - The compute and memory capacity of the nodes in the cluster.CreateClusterRequest.Builder parameterGroupName(String parameterGroupName)
The name of the parameter group associated with the cluster.
parameterGroupName - The name of the parameter group associated with the cluster.CreateClusterRequest.Builder description(String description)
An optional description of the cluster.
description - An optional description of the cluster.CreateClusterRequest.Builder numShards(Integer numShards)
The number of shards the cluster will contain. The default value is 1.
numShards - The number of shards the cluster will contain. The default value is 1.CreateClusterRequest.Builder numReplicasPerShard(Integer numReplicasPerShard)
The number of replicas to apply to each shard. The default value is 1. The maximum is 5.
numReplicasPerShard - The number of replicas to apply to each shard. The default value is 1. The maximum is 5.CreateClusterRequest.Builder subnetGroupName(String subnetGroupName)
The name of the subnet group to be used for the cluster.
subnetGroupName - The name of the subnet group to be used for the cluster.CreateClusterRequest.Builder securityGroupIds(Collection<String> securityGroupIds)
A list of security group names to associate with this cluster.
securityGroupIds - A list of security group names to associate with this cluster.CreateClusterRequest.Builder securityGroupIds(String... securityGroupIds)
A list of security group names to associate with this cluster.
securityGroupIds - A list of security group names to associate with this cluster.CreateClusterRequest.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.CreateClusterRequest.Builder port(Integer port)
The port number on which each of the nodes accepts connections.
port - The port number on which each of the nodes accepts connections.CreateClusterRequest.Builder snsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.
snsTopicArn - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which
notifications are sent.CreateClusterRequest.Builder tlsEnabled(Boolean tlsEnabled)
A flag to enable in-transit encryption on the cluster.
tlsEnabled - A flag to enable in-transit encryption on the cluster.CreateClusterRequest.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 cluster.CreateClusterRequest.Builder snapshotArns(Collection<String> snapshotArns)
A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN cannot contain any commas.
snapshotArns - A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon
S3. The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN
cannot contain any commas.CreateClusterRequest.Builder snapshotArns(String... snapshotArns)
A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN cannot contain any commas.
snapshotArns - A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon
S3. The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN
cannot contain any commas.CreateClusterRequest.Builder snapshotName(String snapshotName)
The name of a snapshot from which to restore data into the new cluster. The snapshot status changes to restoring while the new cluster is being created.
snapshotName - The name of a snapshot from which to restore data into the new cluster. The snapshot status changes to
restoring while the new cluster is being created.CreateClusterRequest.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.CreateClusterRequest.Builder tags(Collection<Tag> tags)
A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey, Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue Key=mySecondKey, Value=mySecondKeyValue.
tags - A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey,
Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue
Key=mySecondKey, Value=mySecondKeyValue.CreateClusterRequest.Builder tags(Tag... tags)
A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey, Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue Key=mySecondKey, Value=mySecondKeyValue.
tags - A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey,
Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue
Key=mySecondKey, Value=mySecondKeyValue.CreateClusterRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to be added to this resource. Tags are comma-separated key,value pairs (e.g. Key=myKey, Value=myKeyValue. You can include multiple tags as shown following: Key=myKey, Value=myKeyValue Key=mySecondKey, Value=mySecondKeyValue.
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 #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateClusterRequest.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.
CreateClusterRequest.Builder aclName(String aclName)
The name of the Access Control List to associate with the cluster.
aclName - The name of the Access Control List to associate with the cluster.CreateClusterRequest.Builder engineVersion(String engineVersion)
The version number of the Redis engine to be used for the cluster.
engineVersion - The version number of the Redis engine to be used for the cluster.CreateClusterRequest.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.CreateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.