/* * 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.rds.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 ModifyGlobalClusterRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The cluster identifier for the global cluster to modify. This parameter isn't case-sensitive. *

*

* Constraints: *

* */ private String globalClusterIdentifier; /** *

* The new cluster identifier for the global database cluster. This value is stored as a lowercase string. *

*

* Constraints: *

* *

* Example: my-cluster2 *

*/ private String newGlobalClusterIdentifier; /** *

* Specifies whether to enable deletion protection for the global database cluster. The global database cluster * can't be deleted when deletion protection is enabled. *

*/ private Boolean deletionProtection; /** *

* The version number of the database engine to which you want to upgrade. *

*

* To list all of the available engine versions for aurora-mysql (for MySQL-based Aurora global * databases), use the following command: *

*

* aws rds describe-db-engine-versions --engine aurora-mysql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]' *

*

* To list all of the available engine versions for aurora-postgresql (for PostgreSQL-based Aurora * global databases), use the following command: *

*

* aws rds describe-db-engine-versions --engine aurora-postgresql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]' *

*/ private String engineVersion; /** *

* Specifies whether to allow major version upgrades. *

*

* Constraints: Must be enabled if you specify a value for the EngineVersion parameter that's a * different major version than the global cluster's current version. *

*

* If you upgrade the major version of a global database, the cluster and DB instance parameter groups are set to * the default parameter groups for the new version. Apply any custom parameter groups after completing the upgrade. *

*/ private Boolean allowMajorVersionUpgrade; /** *

* The cluster identifier for the global cluster to modify. This parameter isn't case-sensitive. *

*

* Constraints: *

* * * @param globalClusterIdentifier * The cluster identifier for the global cluster to modify. This parameter isn't case-sensitive.

*

* Constraints: *

*