@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 associated with the elastic cluster administrator.
|
String |
getAuthType()
The authentication type used to determine where to fetch the password used for accessing the elastic cluster.
|
Integer |
getBackupRetentionPeriod()
The number of days for which automatic snapshots are retained.
|
String |
getClientToken()
The client token for the elastic cluster.
|
String |
getClusterArn()
The ARN identifier of the elastic cluster.
|
String |
getPreferredBackupWindow()
The daily time range during which automated backups are created if automated backups are enabled, as determined
by the
backupRetentionPeriod . |
String |
getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
Integer |
getShardCapacity()
The number of vCPUs assigned to each elastic cluster shard.
|
Integer |
getShardCount()
The number of shards assigned to the elastic cluster.
|
Integer |
getShardInstanceCount()
The number of replica instances applying to all shards in the elastic cluster.
|
List<String> |
getSubnetIds()
The Amazon EC2 subnet IDs for the elastic cluster.
|
List<String> |
getVpcSecurityGroupIds()
A list of EC2 VPC security groups to associate with the elastic cluster.
|
int |
hashCode() |
void |
setAdminUserPassword(String adminUserPassword)
The password associated with the elastic cluster administrator.
|
void |
setAuthType(String authType)
The authentication type used to determine where to fetch the password used for accessing the elastic cluster.
|
void |
setBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automatic snapshots are retained.
|
void |
setClientToken(String clientToken)
The client token for the elastic cluster.
|
void |
setClusterArn(String clusterArn)
The ARN identifier of the elastic cluster.
|
void |
setPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, as determined
by the
backupRetentionPeriod . |
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
void |
setShardCapacity(Integer shardCapacity)
The number of vCPUs assigned to each elastic cluster shard.
|
void |
setShardCount(Integer shardCount)
The number of shards assigned to the elastic cluster.
|
void |
setShardInstanceCount(Integer shardInstanceCount)
The number of replica instances applying to all shards in the elastic cluster.
|
void |
setSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the elastic cluster.
|
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the elastic cluster.
|
String |
toString()
Returns a string representation of this object.
|
UpdateClusterRequest |
withAdminUserPassword(String adminUserPassword)
The password associated with the elastic cluster administrator.
|
UpdateClusterRequest |
withAuthType(Auth authType)
The authentication type used to determine where to fetch the password used for accessing the elastic cluster.
|
UpdateClusterRequest |
withAuthType(String authType)
The authentication type used to determine where to fetch the password used for accessing the elastic cluster.
|
UpdateClusterRequest |
withBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automatic snapshots are retained.
|
UpdateClusterRequest |
withClientToken(String clientToken)
The client token for the elastic cluster.
|
UpdateClusterRequest |
withClusterArn(String clusterArn)
The ARN identifier of the elastic cluster.
|
UpdateClusterRequest |
withPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, as determined
by the
backupRetentionPeriod . |
UpdateClusterRequest |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
UpdateClusterRequest |
withShardCapacity(Integer shardCapacity)
The number of vCPUs assigned to each elastic cluster shard.
|
UpdateClusterRequest |
withShardCount(Integer shardCount)
The number of shards assigned to the elastic cluster.
|
UpdateClusterRequest |
withShardInstanceCount(Integer shardInstanceCount)
The number of replica instances applying to all shards in the elastic cluster.
|
UpdateClusterRequest |
withSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the elastic cluster.
|
UpdateClusterRequest |
withSubnetIds(String... subnetIds)
The Amazon EC2 subnet IDs for the elastic cluster.
|
UpdateClusterRequest |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the elastic cluster.
|
UpdateClusterRequest |
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the elastic 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 associated with the elastic 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 associated with the elastic 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 associated with the elastic 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 associated with the elastic 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 associated with the elastic 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 used to determine where to fetch the password used for accessing the elastic cluster.
Valid types are PLAIN_TEXT
or SECRET_ARN
.
authType
- The authentication type used to determine where to fetch the password used for accessing the elastic
cluster. Valid types are PLAIN_TEXT
or SECRET_ARN
.Auth
public String getAuthType()
The authentication type used to determine where to fetch the password used for accessing the elastic cluster.
Valid types are PLAIN_TEXT
or SECRET_ARN
.
PLAIN_TEXT
or SECRET_ARN
.Auth
public UpdateClusterRequest withAuthType(String authType)
The authentication type used to determine where to fetch the password used for accessing the elastic cluster.
Valid types are PLAIN_TEXT
or SECRET_ARN
.
authType
- The authentication type used to determine where to fetch the password used for accessing the elastic
cluster. Valid types are PLAIN_TEXT
or SECRET_ARN
.Auth
public UpdateClusterRequest withAuthType(Auth authType)
The authentication type used to determine where to fetch the password used for accessing the elastic cluster.
Valid types are PLAIN_TEXT
or SECRET_ARN
.
authType
- The authentication type used to determine where to fetch the password used for accessing the elastic
cluster. Valid types are PLAIN_TEXT
or SECRET_ARN
.Auth
public void setBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automatic snapshots are retained.
backupRetentionPeriod
- The number of days for which automatic snapshots are retained.public Integer getBackupRetentionPeriod()
The number of days for which automatic snapshots are retained.
public UpdateClusterRequest withBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automatic snapshots are retained.
backupRetentionPeriod
- The number of days for which automatic snapshots are retained.public void setClientToken(String clientToken)
The client token for the elastic cluster.
clientToken
- The client token for the elastic cluster.public String getClientToken()
The client token for the elastic cluster.
public UpdateClusterRequest withClientToken(String clientToken)
The client token for the elastic cluster.
clientToken
- The client token for the elastic cluster.public void setClusterArn(String clusterArn)
The ARN identifier of the elastic cluster.
clusterArn
- The ARN identifier of the elastic cluster.public String getClusterArn()
The ARN identifier of the elastic cluster.
public UpdateClusterRequest withClusterArn(String clusterArn)
The ARN identifier of the elastic cluster.
clusterArn
- The ARN identifier of the elastic cluster.public void setPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, as determined
by the backupRetentionPeriod
.
preferredBackupWindow
- The daily time range during which automated backups are created if automated backups are enabled, as
determined by the backupRetentionPeriod
.public String getPreferredBackupWindow()
The daily time range during which automated backups are created if automated backups are enabled, as determined
by the backupRetentionPeriod
.
backupRetentionPeriod
.public UpdateClusterRequest withPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, as determined
by the backupRetentionPeriod
.
preferredBackupWindow
- The daily time range during which automated backups are created if automated backups are enabled, as
determined by the backupRetentionPeriod
.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 number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.
shardCapacity
- The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16,
32, 64.public Integer getShardCapacity()
The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.
public UpdateClusterRequest withShardCapacity(Integer shardCapacity)
The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.
shardCapacity
- The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16,
32, 64.public void setShardCount(Integer shardCount)
The number of shards assigned to the elastic cluster. Maximum is 32.
shardCount
- The number of shards assigned to the elastic cluster. Maximum is 32.public Integer getShardCount()
The number of shards assigned to the elastic cluster. Maximum is 32.
public UpdateClusterRequest withShardCount(Integer shardCount)
The number of shards assigned to the elastic cluster. Maximum is 32.
shardCount
- The number of shards assigned to the elastic cluster. Maximum is 32.public void setShardInstanceCount(Integer shardInstanceCount)
The number of replica instances applying to all shards in the elastic cluster. A shardInstanceCount
value of 1 means there is one writer instance, and any additional instances are replicas that can be used for
reads and to improve availability.
shardInstanceCount
- The number of replica instances applying to all shards in the elastic cluster. A
shardInstanceCount
value of 1 means there is one writer instance, and any additional
instances are replicas that can be used for reads and to improve availability.public Integer getShardInstanceCount()
The number of replica instances applying to all shards in the elastic cluster. A shardInstanceCount
value of 1 means there is one writer instance, and any additional instances are replicas that can be used for
reads and to improve availability.
shardInstanceCount
value of 1 means there is one writer instance, and any additional
instances are replicas that can be used for reads and to improve availability.public UpdateClusterRequest withShardInstanceCount(Integer shardInstanceCount)
The number of replica instances applying to all shards in the elastic cluster. A shardInstanceCount
value of 1 means there is one writer instance, and any additional instances are replicas that can be used for
reads and to improve availability.
shardInstanceCount
- The number of replica instances applying to all shards in the elastic cluster. A
shardInstanceCount
value of 1 means there is one writer instance, and any additional
instances are replicas that can be used for reads and to improve availability.public List<String> getSubnetIds()
The Amazon EC2 subnet IDs for the elastic cluster.
public void setSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the elastic cluster.
subnetIds
- The Amazon EC2 subnet IDs for the elastic cluster.public UpdateClusterRequest withSubnetIds(String... subnetIds)
The Amazon EC2 subnet IDs for the elastic 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 Amazon EC2 subnet IDs for the elastic cluster.public UpdateClusterRequest withSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the elastic cluster.
subnetIds
- The Amazon EC2 subnet IDs for the elastic cluster.public List<String> getVpcSecurityGroupIds()
A list of EC2 VPC security groups to associate with the elastic cluster.
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the elastic cluster.
vpcSecurityGroupIds
- A list of EC2 VPC security groups to associate with the elastic cluster.public UpdateClusterRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the elastic 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 elastic cluster.public UpdateClusterRequest withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the elastic cluster.
vpcSecurityGroupIds
- A list of EC2 VPC security groups to associate with the elastic cluster.public String toString()
toString
in class Object
Object.toString()
public UpdateClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()