@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyDBClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyDBClusterRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyDBClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAllowMajorVersionUpgrade()
A value that indicates whether upgrades between different major versions are allowed.
|
Boolean |
getApplyImmediately()
A value that specifies whether the modifications in this request and any pending modifications are asynchronously
applied as soon as possible, regardless of the
PreferredMaintenanceWindow setting for the DB
cluster. |
Integer |
getBackupRetentionPeriod()
The number of days for which automated backups are retained.
|
CloudwatchLogsExportConfiguration |
getCloudwatchLogsExportConfiguration()
The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB
cluster.
|
Boolean |
getCopyTagsToSnapshot()
If set to
true , tags are copied to any snapshot of the DB cluster that is created. |
String |
getDBClusterIdentifier()
The DB cluster identifier for the cluster being modified.
|
String |
getDBClusterParameterGroupName()
The name of the DB cluster parameter group to use for the DB cluster.
|
String |
getDBInstanceParameterGroupName()
The name of the DB parameter group to apply to all instances of the DB cluster.
|
Boolean |
getDeletionProtection()
A value that indicates whether the DB cluster has deletion protection enabled.
|
Boolean |
getEnableIAMDatabaseAuthentication()
True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and
otherwise false.
|
String |
getEngineVersion()
The version number of the database engine to which you want to upgrade.
|
String |
getMasterUserPassword()
Not supported by Neptune.
|
String |
getNewDBClusterIdentifier()
The new DB cluster identifier for the DB cluster when renaming a DB cluster.
|
String |
getOptionGroupName()
Not supported by Neptune.
|
Integer |
getPort()
The port number on which the DB cluster accepts connections.
|
String |
getPreferredBackupWindow()
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod parameter. |
String |
getPreferredMaintenanceWindow()
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
ServerlessV2ScalingConfiguration |
getServerlessV2ScalingConfiguration()
Contains the scaling configuration of a Neptune Serverless DB cluster.
|
String |
getStorageType()
The storage type to associate with the DB cluster.
|
List<String> |
getVpcSecurityGroupIds()
A list of VPC security groups that the DB cluster will belong to.
|
int |
hashCode() |
Boolean |
isAllowMajorVersionUpgrade()
A value that indicates whether upgrades between different major versions are allowed.
|
Boolean |
isApplyImmediately()
A value that specifies whether the modifications in this request and any pending modifications are asynchronously
applied as soon as possible, regardless of the
PreferredMaintenanceWindow setting for the DB
cluster. |
Boolean |
isCopyTagsToSnapshot()
If set to
true , tags are copied to any snapshot of the DB cluster that is created. |
Boolean |
isDeletionProtection()
A value that indicates whether the DB cluster has deletion protection enabled.
|
Boolean |
isEnableIAMDatabaseAuthentication()
True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and
otherwise false.
|
void |
setAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
A value that indicates whether upgrades between different major versions are allowed.
|
void |
setApplyImmediately(Boolean applyImmediately)
A value that specifies whether the modifications in this request and any pending modifications are asynchronously
applied as soon as possible, regardless of the
PreferredMaintenanceWindow setting for the DB
cluster. |
void |
setBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained.
|
void |
setCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration cloudwatchLogsExportConfiguration)
The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB
cluster.
|
void |
setCopyTagsToSnapshot(Boolean copyTagsToSnapshot)
If set to
true , tags are copied to any snapshot of the DB cluster that is created. |
void |
setDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the cluster being modified.
|
void |
setDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to use for the DB cluster.
|
void |
setDBInstanceParameterGroupName(String dBInstanceParameterGroupName)
The name of the DB parameter group to apply to all instances of the DB cluster.
|
void |
setDeletionProtection(Boolean deletionProtection)
A value that indicates whether the DB cluster has deletion protection enabled.
|
void |
setEnableIAMDatabaseAuthentication(Boolean enableIAMDatabaseAuthentication)
True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and
otherwise false.
|
void |
setEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade.
|
void |
setMasterUserPassword(String masterUserPassword)
Not supported by Neptune.
|
void |
setNewDBClusterIdentifier(String newDBClusterIdentifier)
The new DB cluster identifier for the DB cluster when renaming a DB cluster.
|
void |
setOptionGroupName(String optionGroupName)
Not supported by Neptune.
|
void |
setPort(Integer port)
The port number on which the DB cluster accepts connections.
|
void |
setPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod parameter. |
void |
setPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
void |
setServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration serverlessV2ScalingConfiguration)
Contains the scaling configuration of a Neptune Serverless DB cluster.
|
void |
setStorageType(String storageType)
The storage type to associate with the DB cluster.
|
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of VPC security groups that the DB cluster will belong to.
|
String |
toString()
Returns a string representation of this object.
|
ModifyDBClusterRequest |
withAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
A value that indicates whether upgrades between different major versions are allowed.
|
ModifyDBClusterRequest |
withApplyImmediately(Boolean applyImmediately)
A value that specifies whether the modifications in this request and any pending modifications are asynchronously
applied as soon as possible, regardless of the
PreferredMaintenanceWindow setting for the DB
cluster. |
ModifyDBClusterRequest |
withBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained.
|
ModifyDBClusterRequest |
withCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration cloudwatchLogsExportConfiguration)
The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB
cluster.
|
ModifyDBClusterRequest |
withCopyTagsToSnapshot(Boolean copyTagsToSnapshot)
If set to
true , tags are copied to any snapshot of the DB cluster that is created. |
ModifyDBClusterRequest |
withDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the cluster being modified.
|
ModifyDBClusterRequest |
withDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to use for the DB cluster.
|
ModifyDBClusterRequest |
withDBInstanceParameterGroupName(String dBInstanceParameterGroupName)
The name of the DB parameter group to apply to all instances of the DB cluster.
|
ModifyDBClusterRequest |
withDeletionProtection(Boolean deletionProtection)
A value that indicates whether the DB cluster has deletion protection enabled.
|
ModifyDBClusterRequest |
withEnableIAMDatabaseAuthentication(Boolean enableIAMDatabaseAuthentication)
True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and
otherwise false.
|
ModifyDBClusterRequest |
withEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade.
|
ModifyDBClusterRequest |
withMasterUserPassword(String masterUserPassword)
Not supported by Neptune.
|
ModifyDBClusterRequest |
withNewDBClusterIdentifier(String newDBClusterIdentifier)
The new DB cluster identifier for the DB cluster when renaming a DB cluster.
|
ModifyDBClusterRequest |
withOptionGroupName(String optionGroupName)
Not supported by Neptune.
|
ModifyDBClusterRequest |
withPort(Integer port)
The port number on which the DB cluster accepts connections.
|
ModifyDBClusterRequest |
withPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod parameter. |
ModifyDBClusterRequest |
withPreferredMaintenanceWindow(String preferredMaintenanceWindow)
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
ModifyDBClusterRequest |
withServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration serverlessV2ScalingConfiguration)
Contains the scaling configuration of a Neptune Serverless DB cluster.
|
ModifyDBClusterRequest |
withStorageType(String storageType)
The storage type to associate with the DB cluster.
|
ModifyDBClusterRequest |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of VPC security groups that the DB cluster will belong to.
|
ModifyDBClusterRequest |
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of VPC security groups that the DB cluster will belong to.
|
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 setDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
dBClusterIdentifier
- The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
public String getDBClusterIdentifier()
The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
Constraints:
Must match the identifier of an existing DBCluster.
public ModifyDBClusterRequest withDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
dBClusterIdentifier
- The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
public void setNewDBClusterIdentifier(String newDBClusterIdentifier)
The new DB cluster identifier for the DB cluster when renaming a DB cluster. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens
The first character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-cluster2
newDBClusterIdentifier
- The new DB cluster identifier for the DB cluster when renaming a DB cluster. This value is stored as a
lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens
The first character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-cluster2
public String getNewDBClusterIdentifier()
The new DB cluster identifier for the DB cluster when renaming a DB cluster. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens
The first character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-cluster2
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens
The first character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-cluster2
public ModifyDBClusterRequest withNewDBClusterIdentifier(String newDBClusterIdentifier)
The new DB cluster identifier for the DB cluster when renaming a DB cluster. This value is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens
The first character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-cluster2
newDBClusterIdentifier
- The new DB cluster identifier for the DB cluster when renaming a DB cluster. This value is stored as a
lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens
The first character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-cluster2
public void setApplyImmediately(Boolean applyImmediately)
A value that specifies whether the modifications in this request and any pending modifications are asynchronously
applied as soon as possible, regardless of the PreferredMaintenanceWindow
setting for the DB
cluster. If this parameter is set to false
, changes to the DB cluster are applied during the next
maintenance window.
The ApplyImmediately
parameter only affects NewDBClusterIdentifier
values. If you set
the ApplyImmediately
parameter value to false, then changes to NewDBClusterIdentifier
values are applied during the next maintenance window. All other changes are applied immediately, regardless of
the value of the ApplyImmediately
parameter.
Default: false
applyImmediately
- A value that specifies whether the modifications in this request and any pending modifications are
asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow
setting for the DB cluster. If this parameter is set to false
, changes to the DB cluster are
applied during the next maintenance window.
The ApplyImmediately
parameter only affects NewDBClusterIdentifier
values. If
you set the ApplyImmediately
parameter value to false, then changes to
NewDBClusterIdentifier
values are applied during the next maintenance window. All other
changes are applied immediately, regardless of the value of the ApplyImmediately
parameter.
Default: false
public Boolean getApplyImmediately()
A value that specifies whether the modifications in this request and any pending modifications are asynchronously
applied as soon as possible, regardless of the PreferredMaintenanceWindow
setting for the DB
cluster. If this parameter is set to false
, changes to the DB cluster are applied during the next
maintenance window.
The ApplyImmediately
parameter only affects NewDBClusterIdentifier
values. If you set
the ApplyImmediately
parameter value to false, then changes to NewDBClusterIdentifier
values are applied during the next maintenance window. All other changes are applied immediately, regardless of
the value of the ApplyImmediately
parameter.
Default: false
PreferredMaintenanceWindow
setting for the DB cluster. If this parameter is set to false
, changes to the DB cluster are
applied during the next maintenance window.
The ApplyImmediately
parameter only affects NewDBClusterIdentifier
values. If
you set the ApplyImmediately
parameter value to false, then changes to
NewDBClusterIdentifier
values are applied during the next maintenance window. All other
changes are applied immediately, regardless of the value of the ApplyImmediately
parameter.
Default: false
public ModifyDBClusterRequest withApplyImmediately(Boolean applyImmediately)
A value that specifies whether the modifications in this request and any pending modifications are asynchronously
applied as soon as possible, regardless of the PreferredMaintenanceWindow
setting for the DB
cluster. If this parameter is set to false
, changes to the DB cluster are applied during the next
maintenance window.
The ApplyImmediately
parameter only affects NewDBClusterIdentifier
values. If you set
the ApplyImmediately
parameter value to false, then changes to NewDBClusterIdentifier
values are applied during the next maintenance window. All other changes are applied immediately, regardless of
the value of the ApplyImmediately
parameter.
Default: false
applyImmediately
- A value that specifies whether the modifications in this request and any pending modifications are
asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow
setting for the DB cluster. If this parameter is set to false
, changes to the DB cluster are
applied during the next maintenance window.
The ApplyImmediately
parameter only affects NewDBClusterIdentifier
values. If
you set the ApplyImmediately
parameter value to false, then changes to
NewDBClusterIdentifier
values are applied during the next maintenance window. All other
changes are applied immediately, regardless of the value of the ApplyImmediately
parameter.
Default: false
public Boolean isApplyImmediately()
A value that specifies whether the modifications in this request and any pending modifications are asynchronously
applied as soon as possible, regardless of the PreferredMaintenanceWindow
setting for the DB
cluster. If this parameter is set to false
, changes to the DB cluster are applied during the next
maintenance window.
The ApplyImmediately
parameter only affects NewDBClusterIdentifier
values. If you set
the ApplyImmediately
parameter value to false, then changes to NewDBClusterIdentifier
values are applied during the next maintenance window. All other changes are applied immediately, regardless of
the value of the ApplyImmediately
parameter.
Default: false
PreferredMaintenanceWindow
setting for the DB cluster. If this parameter is set to false
, changes to the DB cluster are
applied during the next maintenance window.
The ApplyImmediately
parameter only affects NewDBClusterIdentifier
values. If
you set the ApplyImmediately
parameter value to false, then changes to
NewDBClusterIdentifier
values are applied during the next maintenance window. All other
changes are applied immediately, regardless of the value of the ApplyImmediately
parameter.
Default: false
public void setBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35
backupRetentionPeriod
- The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35
public Integer getBackupRetentionPeriod()
The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35
Default: 1
Constraints:
Must be a value from 1 to 35
public ModifyDBClusterRequest withBackupRetentionPeriod(Integer backupRetentionPeriod)
The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35
backupRetentionPeriod
- The number of days for which automated backups are retained. You must specify a minimum value of 1.
Default: 1
Constraints:
Must be a value from 1 to 35
public void setDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to use for the DB cluster.
dBClusterParameterGroupName
- The name of the DB cluster parameter group to use for the DB cluster.public String getDBClusterParameterGroupName()
The name of the DB cluster parameter group to use for the DB cluster.
public ModifyDBClusterRequest withDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group to use for the DB cluster.
dBClusterParameterGroupName
- The name of the DB cluster parameter group to use for the DB cluster.public List<String> getVpcSecurityGroupIds()
A list of VPC security groups that the DB cluster will belong to.
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of VPC security groups that the DB cluster will belong to.
vpcSecurityGroupIds
- A list of VPC security groups that the DB cluster will belong to.public ModifyDBClusterRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of VPC security groups that the DB cluster will belong to.
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 VPC security groups that the DB cluster will belong to.public ModifyDBClusterRequest withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of VPC security groups that the DB cluster will belong to.
vpcSecurityGroupIds
- A list of VPC security groups that the DB cluster will belong to.public void setPort(Integer port)
The port number on which the DB cluster accepts connections.
Constraints: Value must be 1150-65535
Default: The same port as the original DB cluster.
port
- The port number on which the DB cluster accepts connections.
Constraints: Value must be 1150-65535
Default: The same port as the original DB cluster.
public Integer getPort()
The port number on which the DB cluster accepts connections.
Constraints: Value must be 1150-65535
Default: The same port as the original DB cluster.
Constraints: Value must be 1150-65535
Default: The same port as the original DB cluster.
public ModifyDBClusterRequest withPort(Integer port)
The port number on which the DB cluster accepts connections.
Constraints: Value must be 1150-65535
Default: The same port as the original DB cluster.
port
- The port number on which the DB cluster accepts connections.
Constraints: Value must be 1150-65535
Default: The same port as the original DB cluster.
public void setMasterUserPassword(String masterUserPassword)
Not supported by Neptune.
masterUserPassword
- Not supported by Neptune.public String getMasterUserPassword()
Not supported by Neptune.
public ModifyDBClusterRequest withMasterUserPassword(String masterUserPassword)
Not supported by Neptune.
masterUserPassword
- Not supported by Neptune.public void setOptionGroupName(String optionGroupName)
Not supported by Neptune.
optionGroupName
- Not supported by Neptune.public String getOptionGroupName()
Not supported by Neptune.
public ModifyDBClusterRequest withOptionGroupName(String optionGroupName)
Not supported by Neptune.
optionGroupName
- Not supported by Neptune.public void setPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
preferredBackupWindow
- The daily time range during which automated backups are created if automated backups are enabled, using
the BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
public String getPreferredBackupWindow()
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
public ModifyDBClusterRequest withPreferredBackupWindow(String preferredBackupWindow)
The daily time range during which automated backups are created if automated backups are enabled, using the
BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
preferredBackupWindow
- The daily time range during which automated backups are created if automated backups are enabled, using
the BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region.
Constraints:
Must be in the format hh24:mi-hh24:mi
.
Must be in Universal Coordinated Time (UTC).
Must not conflict with the preferred maintenance window.
Must be at least 30 minutes.
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
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon 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
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon 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
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon 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
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region, occurring on a random day of the week.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Constraints: Minimum 30-minute window.
public ModifyDBClusterRequest 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
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon 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
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon 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 setEnableIAMDatabaseAuthentication(Boolean enableIAMDatabaseAuthentication)
True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and otherwise false.
Default: false
enableIAMDatabaseAuthentication
- True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and
otherwise false.
Default: false
public Boolean getEnableIAMDatabaseAuthentication()
True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and otherwise false.
Default: false
Default: false
public ModifyDBClusterRequest withEnableIAMDatabaseAuthentication(Boolean enableIAMDatabaseAuthentication)
True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and otherwise false.
Default: false
enableIAMDatabaseAuthentication
- True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and
otherwise false.
Default: false
public Boolean isEnableIAMDatabaseAuthentication()
True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and otherwise false.
Default: false
Default: false
public void setCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration cloudwatchLogsExportConfiguration)
The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB cluster. See Using the CLI to publish Neptune audit logs to CloudWatch Logs.
cloudwatchLogsExportConfiguration
- The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB
cluster. See Using
the CLI to publish Neptune audit logs to CloudWatch Logs.public CloudwatchLogsExportConfiguration getCloudwatchLogsExportConfiguration()
The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB cluster. See Using the CLI to publish Neptune audit logs to CloudWatch Logs.
public ModifyDBClusterRequest withCloudwatchLogsExportConfiguration(CloudwatchLogsExportConfiguration cloudwatchLogsExportConfiguration)
The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB cluster. See Using the CLI to publish Neptune audit logs to CloudWatch Logs.
cloudwatchLogsExportConfiguration
- The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB
cluster. See Using
the CLI to publish Neptune audit logs to CloudWatch Logs.public void setEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade. Changing this parameter results in an
outage. The change is applied during the next maintenance window unless the ApplyImmediately
parameter is set to true.
For a list of valid engine versions, see Engine Releases for Amazon Neptune, or call DescribeDBEngineVersions.
engineVersion
- The version number of the database engine to which you want to upgrade. Changing this parameter results in
an outage. The change is applied during the next maintenance window unless the
ApplyImmediately
parameter is set to true.
For a list of valid engine versions, see Engine Releases for Amazon Neptune, or call DescribeDBEngineVersions.
public String getEngineVersion()
The version number of the database engine to which you want to upgrade. Changing this parameter results in an
outage. The change is applied during the next maintenance window unless the ApplyImmediately
parameter is set to true.
For a list of valid engine versions, see Engine Releases for Amazon Neptune, or call DescribeDBEngineVersions.
ApplyImmediately
parameter is set to true.
For a list of valid engine versions, see Engine Releases for Amazon Neptune, or call DescribeDBEngineVersions.
public ModifyDBClusterRequest withEngineVersion(String engineVersion)
The version number of the database engine to which you want to upgrade. Changing this parameter results in an
outage. The change is applied during the next maintenance window unless the ApplyImmediately
parameter is set to true.
For a list of valid engine versions, see Engine Releases for Amazon Neptune, or call DescribeDBEngineVersions.
engineVersion
- The version number of the database engine to which you want to upgrade. Changing this parameter results in
an outage. The change is applied during the next maintenance window unless the
ApplyImmediately
parameter is set to true.
For a list of valid engine versions, see Engine Releases for Amazon Neptune, or call DescribeDBEngineVersions.
public void setAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
A value that indicates whether upgrades between different major versions are allowed.
Constraints: You must set the allow-major-version-upgrade flag when providing an EngineVersion
parameter that uses a different major version than the DB cluster's current version.
allowMajorVersionUpgrade
- A value that indicates whether upgrades between different major versions are allowed.
Constraints: You must set the allow-major-version-upgrade flag when providing an
EngineVersion
parameter that uses a different major version than the DB cluster's current
version.
public Boolean getAllowMajorVersionUpgrade()
A value that indicates whether upgrades between different major versions are allowed.
Constraints: You must set the allow-major-version-upgrade flag when providing an EngineVersion
parameter that uses a different major version than the DB cluster's current version.
Constraints: You must set the allow-major-version-upgrade flag when providing an
EngineVersion
parameter that uses a different major version than the DB cluster's current
version.
public ModifyDBClusterRequest withAllowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
A value that indicates whether upgrades between different major versions are allowed.
Constraints: You must set the allow-major-version-upgrade flag when providing an EngineVersion
parameter that uses a different major version than the DB cluster's current version.
allowMajorVersionUpgrade
- A value that indicates whether upgrades between different major versions are allowed.
Constraints: You must set the allow-major-version-upgrade flag when providing an
EngineVersion
parameter that uses a different major version than the DB cluster's current
version.
public Boolean isAllowMajorVersionUpgrade()
A value that indicates whether upgrades between different major versions are allowed.
Constraints: You must set the allow-major-version-upgrade flag when providing an EngineVersion
parameter that uses a different major version than the DB cluster's current version.
Constraints: You must set the allow-major-version-upgrade flag when providing an
EngineVersion
parameter that uses a different major version than the DB cluster's current
version.
public void setDBInstanceParameterGroupName(String dBInstanceParameterGroupName)
The name of the DB parameter group to apply to all instances of the DB cluster.
When you apply a parameter group using DBInstanceParameterGroupName
, parameter changes aren't
applied during the next maintenance window but instead are applied immediately.
Default: The existing name setting
Constraints:
The DB parameter group must be in the same DB parameter group family as the target DB cluster version.
The DBInstanceParameterGroupName
parameter is only valid in combination with the
AllowMajorVersionUpgrade
parameter.
dBInstanceParameterGroupName
- The name of the DB parameter group to apply to all instances of the DB cluster.
When you apply a parameter group using DBInstanceParameterGroupName
, parameter changes aren't
applied during the next maintenance window but instead are applied immediately.
Default: The existing name setting
Constraints:
The DB parameter group must be in the same DB parameter group family as the target DB cluster version.
The DBInstanceParameterGroupName
parameter is only valid in combination with the
AllowMajorVersionUpgrade
parameter.
public String getDBInstanceParameterGroupName()
The name of the DB parameter group to apply to all instances of the DB cluster.
When you apply a parameter group using DBInstanceParameterGroupName
, parameter changes aren't
applied during the next maintenance window but instead are applied immediately.
Default: The existing name setting
Constraints:
The DB parameter group must be in the same DB parameter group family as the target DB cluster version.
The DBInstanceParameterGroupName
parameter is only valid in combination with the
AllowMajorVersionUpgrade
parameter.
When you apply a parameter group using DBInstanceParameterGroupName
, parameter changes
aren't applied during the next maintenance window but instead are applied immediately.
Default: The existing name setting
Constraints:
The DB parameter group must be in the same DB parameter group family as the target DB cluster version.
The DBInstanceParameterGroupName
parameter is only valid in combination with the
AllowMajorVersionUpgrade
parameter.
public ModifyDBClusterRequest withDBInstanceParameterGroupName(String dBInstanceParameterGroupName)
The name of the DB parameter group to apply to all instances of the DB cluster.
When you apply a parameter group using DBInstanceParameterGroupName
, parameter changes aren't
applied during the next maintenance window but instead are applied immediately.
Default: The existing name setting
Constraints:
The DB parameter group must be in the same DB parameter group family as the target DB cluster version.
The DBInstanceParameterGroupName
parameter is only valid in combination with the
AllowMajorVersionUpgrade
parameter.
dBInstanceParameterGroupName
- The name of the DB parameter group to apply to all instances of the DB cluster.
When you apply a parameter group using DBInstanceParameterGroupName
, parameter changes aren't
applied during the next maintenance window but instead are applied immediately.
Default: The existing name setting
Constraints:
The DB parameter group must be in the same DB parameter group family as the target DB cluster version.
The DBInstanceParameterGroupName
parameter is only valid in combination with the
AllowMajorVersionUpgrade
parameter.
public void setDeletionProtection(Boolean deletionProtection)
A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.
deletionProtection
- A value that indicates whether the DB cluster has deletion protection enabled. The database can't be
deleted when deletion protection is enabled. By default, deletion protection is disabled.public Boolean getDeletionProtection()
A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.
public ModifyDBClusterRequest withDeletionProtection(Boolean deletionProtection)
A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.
deletionProtection
- A value that indicates whether the DB cluster has deletion protection enabled. The database can't be
deleted when deletion protection is enabled. By default, deletion protection is disabled.public Boolean isDeletionProtection()
A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled.
public void setCopyTagsToSnapshot(Boolean copyTagsToSnapshot)
If set to true
, tags are copied to any snapshot of the DB cluster that is created.
copyTagsToSnapshot
- If set to true
, tags are copied to any snapshot of the DB cluster that is created.public Boolean getCopyTagsToSnapshot()
If set to true
, tags are copied to any snapshot of the DB cluster that is created.
true
, tags are copied to any snapshot of the DB cluster that is created.public ModifyDBClusterRequest withCopyTagsToSnapshot(Boolean copyTagsToSnapshot)
If set to true
, tags are copied to any snapshot of the DB cluster that is created.
copyTagsToSnapshot
- If set to true
, tags are copied to any snapshot of the DB cluster that is created.public Boolean isCopyTagsToSnapshot()
If set to true
, tags are copied to any snapshot of the DB cluster that is created.
true
, tags are copied to any snapshot of the DB cluster that is created.public void setServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration serverlessV2ScalingConfiguration)
Contains the scaling configuration of a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
serverlessV2ScalingConfiguration
- Contains the scaling configuration of a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
public ServerlessV2ScalingConfiguration getServerlessV2ScalingConfiguration()
Contains the scaling configuration of a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
public ModifyDBClusterRequest withServerlessV2ScalingConfiguration(ServerlessV2ScalingConfiguration serverlessV2ScalingConfiguration)
Contains the scaling configuration of a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
serverlessV2ScalingConfiguration
- Contains the scaling configuration of a Neptune Serverless DB cluster.
For more information, see Using Amazon Neptune Serverless in the Amazon Neptune User Guide.
public void setStorageType(String storageType)
The storage type to associate with the DB cluster.
Valid Values:
standard | iopt1
Default:
standard
storageType
- The storage type to associate with the DB cluster.
Valid Values:
standard | iopt1
Default:
standard
public String getStorageType()
The storage type to associate with the DB cluster.
Valid Values:
standard | iopt1
Default:
standard
Valid Values:
standard | iopt1
Default:
standard
public ModifyDBClusterRequest withStorageType(String storageType)
The storage type to associate with the DB cluster.
Valid Values:
standard | iopt1
Default:
standard
storageType
- The storage type to associate with the DB cluster.
Valid Values:
standard | iopt1
Default:
standard
public String toString()
toString
in class Object
Object.toString()
public ModifyDBClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()