@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateClusterRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getACLName()
The Access Control List that is associated with the cluster
|
String |
getClusterName()
The name of the cluster to update
|
String |
getDescription()
The description of the cluster to update
|
String |
getEngineVersion()
The upgraded version of the engine to be run on the nodes.
|
String |
getMaintenanceWindow()
The maintenance window to update
|
String |
getNodeType()
A valid node type that you want to scale this cluster up or down to.
|
String |
getParameterGroupName()
The name of the parameter group to update
|
ReplicaConfigurationRequest |
getReplicaConfiguration()
The number of replicas that will reside in each shard
|
List<String> |
getSecurityGroupIds()
The SecurityGroupIds to update
|
ShardConfigurationRequest |
getShardConfiguration()
The number of shards in the cluster
|
Integer |
getSnapshotRetentionLimit()
The number of days for which MemoryDB retains automatic cluster snapshots before deleting them.
|
String |
getSnapshotWindow()
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
|
String |
getSnsTopicArn()
The SNS topic ARN to update
|
String |
getSnsTopicStatus()
The status of the Amazon SNS notification topic.
|
int |
hashCode() |
void |
setACLName(String aCLName)
The Access Control List that is associated with the cluster
|
void |
setClusterName(String clusterName)
The name of the cluster to update
|
void |
setDescription(String description)
The description of the cluster to update
|
void |
setEngineVersion(String engineVersion)
The upgraded version of the engine to be run on the nodes.
|
void |
setMaintenanceWindow(String maintenanceWindow)
The maintenance window to update
|
void |
setNodeType(String nodeType)
A valid node type that you want to scale this cluster up or down to.
|
void |
setParameterGroupName(String parameterGroupName)
The name of the parameter group to update
|
void |
setReplicaConfiguration(ReplicaConfigurationRequest replicaConfiguration)
The number of replicas that will reside in each shard
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The SecurityGroupIds to update
|
void |
setShardConfiguration(ShardConfigurationRequest shardConfiguration)
The number of shards in the cluster
|
void |
setSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which MemoryDB retains automatic cluster snapshots before deleting them.
|
void |
setSnapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
|
void |
setSnsTopicArn(String snsTopicArn)
The SNS topic ARN to update
|
void |
setSnsTopicStatus(String snsTopicStatus)
The status of the Amazon SNS notification topic.
|
String |
toString()
Returns a string representation of this object.
|
UpdateClusterRequest |
withACLName(String aCLName)
The Access Control List that is associated with the cluster
|
UpdateClusterRequest |
withClusterName(String clusterName)
The name of the cluster to update
|
UpdateClusterRequest |
withDescription(String description)
The description of the cluster to update
|
UpdateClusterRequest |
withEngineVersion(String engineVersion)
The upgraded version of the engine to be run on the nodes.
|
UpdateClusterRequest |
withMaintenanceWindow(String maintenanceWindow)
The maintenance window to update
|
UpdateClusterRequest |
withNodeType(String nodeType)
A valid node type that you want to scale this cluster up or down to.
|
UpdateClusterRequest |
withParameterGroupName(String parameterGroupName)
The name of the parameter group to update
|
UpdateClusterRequest |
withReplicaConfiguration(ReplicaConfigurationRequest replicaConfiguration)
The number of replicas that will reside in each shard
|
UpdateClusterRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
The SecurityGroupIds to update
|
UpdateClusterRequest |
withSecurityGroupIds(String... securityGroupIds)
The SecurityGroupIds to update
|
UpdateClusterRequest |
withShardConfiguration(ShardConfigurationRequest shardConfiguration)
The number of shards in the cluster
|
UpdateClusterRequest |
withSnapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which MemoryDB retains automatic cluster snapshots before deleting them.
|
UpdateClusterRequest |
withSnapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
|
UpdateClusterRequest |
withSnsTopicArn(String snsTopicArn)
The SNS topic ARN to update
|
UpdateClusterRequest |
withSnsTopicStatus(String snsTopicStatus)
The status of the Amazon SNS notification topic.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClusterName(String clusterName)
The name of the cluster to update
clusterName
- The name of the cluster to updatepublic String getClusterName()
The name of the cluster to update
public UpdateClusterRequest withClusterName(String clusterName)
The name of the cluster to update
clusterName
- The name of the cluster to updatepublic void setDescription(String description)
The description of the cluster to update
description
- The description of the cluster to updatepublic String getDescription()
The description of the cluster to update
public UpdateClusterRequest withDescription(String description)
The description of the cluster to update
description
- The description of the cluster to updatepublic List<String> getSecurityGroupIds()
The SecurityGroupIds to update
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The SecurityGroupIds to update
securityGroupIds
- The SecurityGroupIds to updatepublic UpdateClusterRequest withSecurityGroupIds(String... securityGroupIds)
The SecurityGroupIds to update
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The SecurityGroupIds to updatepublic UpdateClusterRequest withSecurityGroupIds(Collection<String> securityGroupIds)
The SecurityGroupIds to update
securityGroupIds
- The SecurityGroupIds to updatepublic void setMaintenanceWindow(String maintenanceWindow)
The maintenance window to update
maintenanceWindow
- The maintenance window to updatepublic String getMaintenanceWindow()
The maintenance window to update
public UpdateClusterRequest withMaintenanceWindow(String maintenanceWindow)
The maintenance window to update
maintenanceWindow
- The maintenance window to updatepublic void setSnsTopicArn(String snsTopicArn)
The SNS topic ARN to update
snsTopicArn
- The SNS topic ARN to updatepublic String getSnsTopicArn()
The SNS topic ARN to update
public UpdateClusterRequest withSnsTopicArn(String snsTopicArn)
The SNS topic ARN to update
snsTopicArn
- The SNS topic ARN to updatepublic void setSnsTopicStatus(String snsTopicStatus)
The status of the Amazon SNS notification topic. Notifications are sent only if the status is active.
snsTopicStatus
- The status of the Amazon SNS notification topic. Notifications are sent only if the status is active.public String getSnsTopicStatus()
The status of the Amazon SNS notification topic. Notifications are sent only if the status is active.
public UpdateClusterRequest withSnsTopicStatus(String snsTopicStatus)
The status of the Amazon SNS notification topic. Notifications are sent only if the status is active.
snsTopicStatus
- The status of the Amazon SNS notification topic. Notifications are sent only if the status is active.public void setParameterGroupName(String parameterGroupName)
The name of the parameter group to update
parameterGroupName
- The name of the parameter group to updatepublic String getParameterGroupName()
The name of the parameter group to update
public UpdateClusterRequest withParameterGroupName(String parameterGroupName)
The name of the parameter group to update
parameterGroupName
- The name of the parameter group to updatepublic void setSnapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
snapshotWindow
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.public String getSnapshotWindow()
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
public UpdateClusterRequest withSnapshotWindow(String snapshotWindow)
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
snapshotWindow
- The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.public void setSnapshotRetentionLimit(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.
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 Integer getSnapshotRetentionLimit()
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 UpdateClusterRequest withSnapshotRetentionLimit(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.
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 void setNodeType(String nodeType)
A valid node type that you want to scale this cluster up or down to.
nodeType
- A valid node type that you want to scale this cluster up or down to.public String getNodeType()
A valid node type that you want to scale this cluster up or down to.
public UpdateClusterRequest withNodeType(String nodeType)
A valid node type that you want to scale this cluster up or down to.
nodeType
- A valid node type that you want to scale this cluster up or down to.public void setEngineVersion(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.
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 String getEngineVersion()
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 UpdateClusterRequest withEngineVersion(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.
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 void setReplicaConfiguration(ReplicaConfigurationRequest replicaConfiguration)
The number of replicas that will reside in each shard
replicaConfiguration
- The number of replicas that will reside in each shardpublic ReplicaConfigurationRequest getReplicaConfiguration()
The number of replicas that will reside in each shard
public UpdateClusterRequest withReplicaConfiguration(ReplicaConfigurationRequest replicaConfiguration)
The number of replicas that will reside in each shard
replicaConfiguration
- The number of replicas that will reside in each shardpublic void setShardConfiguration(ShardConfigurationRequest shardConfiguration)
The number of shards in the cluster
shardConfiguration
- The number of shards in the clusterpublic ShardConfigurationRequest getShardConfiguration()
The number of shards in the cluster
public UpdateClusterRequest withShardConfiguration(ShardConfigurationRequest shardConfiguration)
The number of shards in the cluster
shardConfiguration
- The number of shards in the clusterpublic void setACLName(String aCLName)
The Access Control List that is associated with the cluster
aCLName
- The Access Control List that is associated with the clusterpublic String getACLName()
The Access Control List that is associated with the cluster
public UpdateClusterRequest withACLName(String aCLName)
The Access Control List that is associated with the cluster
aCLName
- The Access Control List that is associated with the clusterpublic String toString()
toString
in class Object
Object.toString()
public UpdateClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()