@Generated(value="software.amazon.awssdk:codegen") public final class UpdateClusterRequest extends MemoryDbRequest implements ToCopyableBuilder<UpdateClusterRequest.Builder,UpdateClusterRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateClusterRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
aclName()
The Access Control List that is associated with the cluster
|
static UpdateClusterRequest.Builder |
builder() |
String |
clusterName()
The name of the cluster to update
|
String |
description()
The description of the cluster to update
|
String |
engineVersion()
The upgraded version of the engine to be run on the nodes.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSecurityGroupIds()
For responses, this returns true if the service returned a value for the SecurityGroupIds property.
|
String |
maintenanceWindow()
Specifies the weekly time range during which maintenance on the cluster is performed.
|
String |
nodeType()
A valid node type that you want to scale this cluster up or down to.
|
String |
parameterGroupName()
The name of the parameter group to update
|
ReplicaConfigurationRequest |
replicaConfiguration()
The number of replicas that will reside in each shard
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroupIds()
The SecurityGroupIds to update
|
static Class<? extends UpdateClusterRequest.Builder> |
serializableBuilderClass() |
ShardConfigurationRequest |
shardConfiguration()
The number of shards in the cluster
|
Integer |
snapshotRetentionLimit()
The number of days for which MemoryDB retains automatic cluster snapshots before deleting them.
|
String |
snapshotWindow()
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
|
String |
snsTopicArn()
The SNS topic ARN to update
|
String |
snsTopicStatus()
The status of the Amazon SNS notification topic.
|
UpdateClusterRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clusterName()
The name of the cluster to update
public final String description()
The description of the cluster to update
public final boolean hasSecurityGroupIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> securityGroupIds()
The SecurityGroupIds to update
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSecurityGroupIds() method.
public final 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.
Valid values for ddd are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:23:00-mon:01:30
Valid values for ddd are:
sun
mon
tue
wed
thu
fri
sat
Example: sun:23:00-mon:01:30
public final String snsTopicArn()
The SNS topic ARN to update
public final String snsTopicStatus()
The status of the Amazon SNS notification topic. Notifications are sent only if the status is active.
public final String parameterGroupName()
The name of the parameter group to update
public final String snapshotWindow()
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
public final Integer 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.
public final String nodeType()
A valid node type that you want to scale this cluster up or down to.
public final String 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.
public final ReplicaConfigurationRequest replicaConfiguration()
The number of replicas that will reside in each shard
public final ShardConfigurationRequest shardConfiguration()
The number of shards in the cluster
public final String aclName()
The Access Control List that is associated with the cluster
public UpdateClusterRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateClusterRequest.Builder,UpdateClusterRequest>toBuilder in class MemoryDbRequestpublic static UpdateClusterRequest.Builder builder()
public static Class<? extends UpdateClusterRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.