Interface UpdateClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateClusterRequest.Builder,
,UpdateClusterRequest> MemoryDbRequest.Builder
,SdkBuilder<UpdateClusterRequest.Builder,
,UpdateClusterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateClusterRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Access Control List that is associated with the clusterclusterName
(String clusterName) The name of the cluster to updatedescription
(String description) The description of the cluster to updateengineVersion
(String engineVersion) The upgraded version of the engine to be run on the nodes.maintenanceWindow
(String maintenanceWindow) Specifies the weekly time range during which maintenance on the cluster is performed.A valid node type that you want to scale this cluster up or down to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameterGroupName
(String parameterGroupName) The name of the parameter group to updatedefault UpdateClusterRequest.Builder
replicaConfiguration
(Consumer<ReplicaConfigurationRequest.Builder> replicaConfiguration) The number of replicas that will reside in each shardreplicaConfiguration
(ReplicaConfigurationRequest replicaConfiguration) The number of replicas that will reside in each shardsecurityGroupIds
(String... securityGroupIds) The SecurityGroupIds to updatesecurityGroupIds
(Collection<String> securityGroupIds) The SecurityGroupIds to updatedefault UpdateClusterRequest.Builder
shardConfiguration
(Consumer<ShardConfigurationRequest.Builder> shardConfiguration) The number of shards in the clustershardConfiguration
(ShardConfigurationRequest shardConfiguration) The number of shards in the clustersnapshotRetentionLimit
(Integer snapshotRetentionLimit) The number of days for which MemoryDB retains automatic cluster snapshots before deleting them.snapshotWindow
(String snapshotWindow) The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.snsTopicArn
(String snsTopicArn) The SNS topic ARN to updatesnsTopicStatus
(String snsTopicStatus) The status of the Amazon SNS notification topic.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.memorydb.model.MemoryDbRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clusterName
The name of the cluster to update
- Parameters:
clusterName
- The name of the cluster to update- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the cluster to update
- Parameters:
description
- The description of the cluster to update- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The SecurityGroupIds to update
- Parameters:
securityGroupIds
- The SecurityGroupIds to update- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
The SecurityGroupIds to update
- Parameters:
securityGroupIds
- The SecurityGroupIds to update- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
Valid values for
ddd
are:-
sun
-
mon
-
tue
-
wed
-
thu
-
fri
-
sat
Example:
sun:23:00-mon:01:30
- Parameters:
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.Valid values for
ddd
are:-
sun
-
mon
-
tue
-
wed
-
thu
-
fri
-
sat
Example:
sun:23:00-mon:01:30
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
snsTopicArn
The SNS topic ARN to update
- Parameters:
snsTopicArn
- The SNS topic ARN to update- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsTopicStatus
The status of the Amazon SNS notification topic. Notifications are sent only if the status is active.
- Parameters:
snsTopicStatus
- The status of the Amazon SNS notification topic. Notifications are sent only if the status is active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterGroupName
The name of the parameter group to update
- Parameters:
parameterGroupName
- The name of the parameter group to update- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotWindow
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
- Parameters:
snapshotWindow
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotRetentionLimit
The number of days for which MemoryDB 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.
- Parameters:
snapshotRetentionLimit
- The number of days for which MemoryDB 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeType
A valid node type that you want to scale this cluster up or down to.
- Parameters:
nodeType
- A valid node type that you want to scale this cluster up or down to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The upgraded version of the engine to be run on the nodes. You can upgrade to a newer engine version, but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster and create it anew with the earlier engine version.
- Parameters:
engineVersion
- The upgraded version of the engine to be run on the nodes. You can upgrade to a newer engine version, but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster and create it anew with the earlier engine version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaConfiguration
The number of replicas that will reside in each shard
- Parameters:
replicaConfiguration
- The number of replicas that will reside in each shard- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaConfiguration
default UpdateClusterRequest.Builder replicaConfiguration(Consumer<ReplicaConfigurationRequest.Builder> replicaConfiguration) The number of replicas that will reside in each shard
This is a convenience method that creates an instance of theReplicaConfigurationRequest.Builder
avoiding the need to create one manually viaReplicaConfigurationRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicaConfiguration(ReplicaConfigurationRequest)
.- Parameters:
replicaConfiguration
- a consumer that will call methods onReplicaConfigurationRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
shardConfiguration
The number of shards in the cluster
- Parameters:
shardConfiguration
- The number of shards in the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shardConfiguration
default UpdateClusterRequest.Builder shardConfiguration(Consumer<ShardConfigurationRequest.Builder> shardConfiguration) The number of shards in the cluster
This is a convenience method that creates an instance of theShardConfigurationRequest.Builder
avoiding the need to create one manually viaShardConfigurationRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toshardConfiguration(ShardConfigurationRequest)
.- Parameters:
shardConfiguration
- a consumer that will call methods onShardConfigurationRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aclName
The Access Control List that is associated with the cluster
- Parameters:
aclName
- The Access Control List that is associated with the cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-