@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 |
getAdminUserPassword()
The password for the Elastic DocumentDB cluster administrator.
|
String |
getAuthType()
The authentication type for the Elastic DocumentDB cluster.
|
String |
getClientToken()
The client token for the Elastic DocumentDB cluster.
|
String |
getClusterArn()
The arn of the Elastic DocumentDB cluster.
|
String |
getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
Integer |
getShardCapacity()
The capacity of each shard in the Elastic DocumentDB cluster.
|
Integer |
getShardCount()
The number of shards to create in the Elastic DocumentDB cluster.
|
List<String> |
getSubnetIds()
The number of shards to create in the Elastic DocumentDB cluster.
|
List<String> |
getVpcSecurityGroupIds()
A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.
|
int |
hashCode() |
void |
setAdminUserPassword(String adminUserPassword)
The password for the Elastic DocumentDB cluster administrator.
|
void |
setAuthType(String authType)
The authentication type for the Elastic DocumentDB cluster.
|
void |
setClientToken(String clientToken)
The client token for the Elastic DocumentDB cluster.
|
void |
setClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster.
|
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
void |
setShardCapacity(Integer shardCapacity)
The capacity of each shard in the Elastic DocumentDB cluster.
|
void |
setShardCount(Integer shardCount)
The number of shards to create in the Elastic DocumentDB cluster.
|
void |
setSubnetIds(Collection<String> subnetIds)
The number of shards to create in the Elastic DocumentDB cluster.
|
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.
|
String |
toString()
Returns a string representation of this object.
|
UpdateClusterRequest |
withAdminUserPassword(String adminUserPassword)
The password for the Elastic DocumentDB cluster administrator.
|
UpdateClusterRequest |
withAuthType(Auth authType)
The authentication type for the Elastic DocumentDB cluster.
|
UpdateClusterRequest |
withAuthType(String authType)
The authentication type for the Elastic DocumentDB cluster.
|
UpdateClusterRequest |
withClientToken(String clientToken)
The client token for the Elastic DocumentDB cluster.
|
UpdateClusterRequest |
withClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster.
|
UpdateClusterRequest |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
UpdateClusterRequest |
withShardCapacity(Integer shardCapacity)
The capacity of each shard in the Elastic DocumentDB cluster.
|
UpdateClusterRequest |
withShardCount(Integer shardCount)
The number of shards to create in the Elastic DocumentDB cluster.
|
UpdateClusterRequest |
withSubnetIds(Collection<String> subnetIds)
The number of shards to create in the Elastic DocumentDB cluster.
|
UpdateClusterRequest |
withSubnetIds(String... subnetIds)
The number of shards to create in the Elastic DocumentDB cluster.
|
UpdateClusterRequest |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.
|
UpdateClusterRequest |
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.
|
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 setAdminUserPassword(String adminUserPassword)
The password for the Elastic DocumentDB cluster administrator. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
adminUserPassword
- The password for the Elastic DocumentDB cluster administrator. This password can contain any printable
ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
public String getAdminUserPassword()
The password for the Elastic DocumentDB cluster administrator. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
Constraints: Must contain from 8 to 100 characters.
public UpdateClusterRequest withAdminUserPassword(String adminUserPassword)
The password for the Elastic DocumentDB cluster administrator. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
adminUserPassword
- The password for the Elastic DocumentDB cluster administrator. This password can contain any printable
ASCII character except forward slash (/), double quote ("), or the "at" symbol (@).
Constraints: Must contain from 8 to 100 characters.
public void setAuthType(String authType)
The authentication type for the Elastic DocumentDB cluster.
authType
- The authentication type for the Elastic DocumentDB cluster.Auth
public String getAuthType()
The authentication type for the Elastic DocumentDB cluster.
Auth
public UpdateClusterRequest withAuthType(String authType)
The authentication type for the Elastic DocumentDB cluster.
authType
- The authentication type for the Elastic DocumentDB cluster.Auth
public UpdateClusterRequest withAuthType(Auth authType)
The authentication type for the Elastic DocumentDB cluster.
authType
- The authentication type for the Elastic DocumentDB cluster.Auth
public void setClientToken(String clientToken)
The client token for the Elastic DocumentDB cluster.
clientToken
- The client token for the Elastic DocumentDB cluster.public String getClientToken()
The client token for the Elastic DocumentDB cluster.
public UpdateClusterRequest withClientToken(String clientToken)
The client token for the Elastic DocumentDB cluster.
clientToken
- The client token for the Elastic DocumentDB cluster.public void setClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster.
clusterArn
- The arn of the Elastic DocumentDB cluster.public String getClusterArn()
The arn of the Elastic DocumentDB cluster.
public UpdateClusterRequest withClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster.
clusterArn
- The arn of the Elastic DocumentDB cluster.public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
public String getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
Format: ddd:hh24:mi-ddd:hh24:mi
Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
public UpdateClusterRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
public void setShardCapacity(Integer shardCapacity)
The capacity of each shard in the Elastic DocumentDB cluster.
shardCapacity
- The capacity of each shard in the Elastic DocumentDB cluster.public Integer getShardCapacity()
The capacity of each shard in the Elastic DocumentDB cluster.
public UpdateClusterRequest withShardCapacity(Integer shardCapacity)
The capacity of each shard in the Elastic DocumentDB cluster.
shardCapacity
- The capacity of each shard in the Elastic DocumentDB cluster.public void setShardCount(Integer shardCount)
The number of shards to create in the Elastic DocumentDB cluster.
shardCount
- The number of shards to create in the Elastic DocumentDB cluster.public Integer getShardCount()
The number of shards to create in the Elastic DocumentDB cluster.
public UpdateClusterRequest withShardCount(Integer shardCount)
The number of shards to create in the Elastic DocumentDB cluster.
shardCount
- The number of shards to create in the Elastic DocumentDB cluster.public List<String> getSubnetIds()
The number of shards to create in the Elastic DocumentDB cluster.
public void setSubnetIds(Collection<String> subnetIds)
The number of shards to create in the Elastic DocumentDB cluster.
subnetIds
- The number of shards to create in the Elastic DocumentDB cluster.public UpdateClusterRequest withSubnetIds(String... subnetIds)
The number of shards to create in the Elastic DocumentDB cluster.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- The number of shards to create in the Elastic DocumentDB cluster.public UpdateClusterRequest withSubnetIds(Collection<String> subnetIds)
The number of shards to create in the Elastic DocumentDB cluster.
subnetIds
- The number of shards to create in the Elastic DocumentDB cluster.public List<String> getVpcSecurityGroupIds()
A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.
vpcSecurityGroupIds
- A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.public UpdateClusterRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSecurityGroupIds(java.util.Collection)
or withVpcSecurityGroupIds(java.util.Collection)
if you want to override the existing values.
vpcSecurityGroupIds
- A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.public UpdateClusterRequest withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.
vpcSecurityGroupIds
- A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.public String toString()
toString
in class Object
Object.toString()
public UpdateClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()