/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.neptune.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ModifyDBClusterRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive. *

*

* Constraints: *

* */ private String dBClusterIdentifier; /** *

* The new DB cluster identifier for the DB cluster when renaming a DB cluster. This value is stored as a lowercase * string. *

*

* Constraints: *

* *

* Example: my-cluster2 *

*/ private String newDBClusterIdentifier; /** *

* 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 *

*/ private Boolean applyImmediately; /** *

* The number of days for which automated backups are retained. You must specify a minimum value of 1. *

*

* Default: 1 *

*

* Constraints: *

* */ private Integer backupRetentionPeriod; /** *

* The name of the DB cluster parameter group to use for the DB cluster. *

*/ private String dBClusterParameterGroupName; /** *

* A list of VPC security groups that the DB cluster will belong to. *

*/ private java.util.List vpcSecurityGroupIds; /** *

* 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. *

*/ private Integer port; /** *

* Not supported by Neptune. *

*/ private String masterUserPassword; /** *

* Not supported by Neptune. *

*/ private String optionGroupName; /** *

* 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: *

* */ private String preferredBackupWindow; /** *

* 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. *

*/ private String preferredMaintenanceWindow; /** *

* True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and * otherwise false. *

*

* Default: false *

*/ private Boolean enableIAMDatabaseAuthentication; /** *

* The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB * cluster. *

*/ private CloudwatchLogsExportConfiguration cloudwatchLogsExportConfiguration; /** *

* 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. *

*/ private String engineVersion; /** *

* 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. *

*/ private Boolean allowMajorVersionUpgrade; /** *

* 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: *

* */ private String dBInstanceParameterGroupName; /** *

* 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. *

*/ private Boolean deletionProtection; /** *

* If set to true, tags are copied to any snapshot of the DB cluster that is created. *

*/ private Boolean copyTagsToSnapshot; private ServerlessV2ScalingConfiguration serverlessV2ScalingConfiguration; /** *

* The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive. *

*

* Constraints: *

* * * @param dBClusterIdentifier * The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.

*

* Constraints: *

*