JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.rds.model

Class CreateGlobalClusterRequest

    • Constructor Detail

      • CreateGlobalClusterRequest

        public CreateGlobalClusterRequest()
    • Method Detail

      • setGlobalClusterIdentifier

        public void setGlobalClusterIdentifier(String globalClusterIdentifier)

        The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.

        Parameters:
        globalClusterIdentifier - The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
      • getGlobalClusterIdentifier

        public String getGlobalClusterIdentifier()

        The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.

        Returns:
        The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
      • withGlobalClusterIdentifier

        public CreateGlobalClusterRequest withGlobalClusterIdentifier(String globalClusterIdentifier)

        The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.

        Parameters:
        globalClusterIdentifier - The cluster identifier for this global database cluster. This parameter is stored as a lowercase string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSourceDBClusterIdentifier

        public void setSourceDBClusterIdentifier(String sourceDBClusterIdentifier)

        The Amazon Resource Name (ARN) to use as the primary cluster of the global database.

        If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:

        • DatabaseName

        • Engine

        • EngineVersion

        • StorageEncrypted

        Parameters:
        sourceDBClusterIdentifier - The Amazon Resource Name (ARN) to use as the primary cluster of the global database.

        If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:

        • DatabaseName

        • Engine

        • EngineVersion

        • StorageEncrypted

      • getSourceDBClusterIdentifier

        public String getSourceDBClusterIdentifier()

        The Amazon Resource Name (ARN) to use as the primary cluster of the global database.

        If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:

        • DatabaseName

        • Engine

        • EngineVersion

        • StorageEncrypted

        Returns:
        The Amazon Resource Name (ARN) to use as the primary cluster of the global database.

        If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:

        • DatabaseName

        • Engine

        • EngineVersion

        • StorageEncrypted

      • withSourceDBClusterIdentifier

        public CreateGlobalClusterRequest withSourceDBClusterIdentifier(String sourceDBClusterIdentifier)

        The Amazon Resource Name (ARN) to use as the primary cluster of the global database.

        If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:

        • DatabaseName

        • Engine

        • EngineVersion

        • StorageEncrypted

        Parameters:
        sourceDBClusterIdentifier - The Amazon Resource Name (ARN) to use as the primary cluster of the global database.

        If you provide a value for this parameter, don't specify values for the following settings because Amazon Aurora uses the values from the specified source DB cluster:

        • DatabaseName

        • Engine

        • EngineVersion

        • StorageEncrypted

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEngine

        public void setEngine(String engine)

        The database engine to use for this global database cluster.

        Valid Values: aurora-mysql | aurora-postgresql

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the engine of the source DB cluster.

        Parameters:
        engine - The database engine to use for this global database cluster.

        Valid Values: aurora-mysql | aurora-postgresql

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the engine of the source DB cluster.

      • getEngine

        public String getEngine()

        The database engine to use for this global database cluster.

        Valid Values: aurora-mysql | aurora-postgresql

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the engine of the source DB cluster.

        Returns:
        The database engine to use for this global database cluster.

        Valid Values: aurora-mysql | aurora-postgresql

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the engine of the source DB cluster.

      • withEngine

        public CreateGlobalClusterRequest withEngine(String engine)

        The database engine to use for this global database cluster.

        Valid Values: aurora-mysql | aurora-postgresql

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the engine of the source DB cluster.

        Parameters:
        engine - The database engine to use for this global database cluster.

        Valid Values: aurora-mysql | aurora-postgresql

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the engine of the source DB cluster.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEngineVersion

        public void setEngineVersion(String engineVersion)

        The engine version to use for this global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.

        Parameters:
        engineVersion - The engine version to use for this global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.

      • getEngineVersion

        public String getEngineVersion()

        The engine version to use for this global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.

        Returns:
        The engine version to use for this global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.

      • withEngineVersion

        public CreateGlobalClusterRequest withEngineVersion(String engineVersion)

        The engine version to use for this global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.

        Parameters:
        engineVersion - The engine version to use for this global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the engine version of the source DB cluster.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEngineLifecycleSupport

        public void setEngineLifecycleSupport(String engineLifecycleSupport)

        The life cycle type for this global database cluster.

        By default, this value is set to open-source-rds-extended-support, which enrolls your global cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to open-source-rds-extended-support-disabled. In this case, creating the global cluster will fail if the DB major version is past its end of standard support date.

        This setting only applies to Aurora PostgreSQL-based global databases.

        You can use this setting to enroll your global cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your global cluster past the end of standard support for that engine version. For more information, see Using Amazon RDS Extended Support in the Amazon Aurora User Guide.

        Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled

        Default: open-source-rds-extended-support

        Parameters:
        engineLifecycleSupport - The life cycle type for this global database cluster.

        By default, this value is set to open-source-rds-extended-support, which enrolls your global cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to open-source-rds-extended-support-disabled. In this case, creating the global cluster will fail if the DB major version is past its end of standard support date.

        This setting only applies to Aurora PostgreSQL-based global databases.

        You can use this setting to enroll your global cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your global cluster past the end of standard support for that engine version. For more information, see Using Amazon RDS Extended Support in the Amazon Aurora User Guide.

        Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled

        Default: open-source-rds-extended-support

      • getEngineLifecycleSupport

        public String getEngineLifecycleSupport()

        The life cycle type for this global database cluster.

        By default, this value is set to open-source-rds-extended-support, which enrolls your global cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to open-source-rds-extended-support-disabled. In this case, creating the global cluster will fail if the DB major version is past its end of standard support date.

        This setting only applies to Aurora PostgreSQL-based global databases.

        You can use this setting to enroll your global cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your global cluster past the end of standard support for that engine version. For more information, see Using Amazon RDS Extended Support in the Amazon Aurora User Guide.

        Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled

        Default: open-source-rds-extended-support

        Returns:
        The life cycle type for this global database cluster.

        By default, this value is set to open-source-rds-extended-support, which enrolls your global cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to open-source-rds-extended-support-disabled. In this case, creating the global cluster will fail if the DB major version is past its end of standard support date.

        This setting only applies to Aurora PostgreSQL-based global databases.

        You can use this setting to enroll your global cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your global cluster past the end of standard support for that engine version. For more information, see Using Amazon RDS Extended Support in the Amazon Aurora User Guide.

        Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled

        Default: open-source-rds-extended-support

      • withEngineLifecycleSupport

        public CreateGlobalClusterRequest withEngineLifecycleSupport(String engineLifecycleSupport)

        The life cycle type for this global database cluster.

        By default, this value is set to open-source-rds-extended-support, which enrolls your global cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to open-source-rds-extended-support-disabled. In this case, creating the global cluster will fail if the DB major version is past its end of standard support date.

        This setting only applies to Aurora PostgreSQL-based global databases.

        You can use this setting to enroll your global cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your global cluster past the end of standard support for that engine version. For more information, see Using Amazon RDS Extended Support in the Amazon Aurora User Guide.

        Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled

        Default: open-source-rds-extended-support

        Parameters:
        engineLifecycleSupport - The life cycle type for this global database cluster.

        By default, this value is set to open-source-rds-extended-support, which enrolls your global cluster into Amazon RDS Extended Support. At the end of standard support, you can avoid charges for Extended Support by setting the value to open-source-rds-extended-support-disabled. In this case, creating the global cluster will fail if the DB major version is past its end of standard support date.

        This setting only applies to Aurora PostgreSQL-based global databases.

        You can use this setting to enroll your global cluster into Amazon RDS Extended Support. With RDS Extended Support, you can run the selected major engine version on your global cluster past the end of standard support for that engine version. For more information, see Using Amazon RDS Extended Support in the Amazon Aurora User Guide.

        Valid Values: open-source-rds-extended-support | open-source-rds-extended-support-disabled

        Default: open-source-rds-extended-support

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDeletionProtection

        public void setDeletionProtection(Boolean deletionProtection)

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

        Parameters:
        deletionProtection - Specifies whether to enable deletion protection for the new global database cluster. The global database can't be deleted when deletion protection is enabled.
      • getDeletionProtection

        public Boolean getDeletionProtection()

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

        Returns:
        Specifies whether to enable deletion protection for the new global database cluster. The global database can't be deleted when deletion protection is enabled.
      • withDeletionProtection

        public CreateGlobalClusterRequest withDeletionProtection(Boolean deletionProtection)

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

        Parameters:
        deletionProtection - Specifies whether to enable deletion protection for the new global database cluster. The global database can't be deleted when deletion protection is enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isDeletionProtection

        public Boolean isDeletionProtection()

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

        Returns:
        Specifies whether to enable deletion protection for the new global database cluster. The global database can't be deleted when deletion protection is enabled.
      • setDatabaseName

        public void setDatabaseName(String databaseName)

        The name for your database of up to 64 alphanumeric characters. If you don't specify a name, Amazon Aurora doesn't create a database in the global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the database name from the source DB cluster.

        Parameters:
        databaseName - The name for your database of up to 64 alphanumeric characters. If you don't specify a name, Amazon Aurora doesn't create a database in the global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the database name from the source DB cluster.

      • getDatabaseName

        public String getDatabaseName()

        The name for your database of up to 64 alphanumeric characters. If you don't specify a name, Amazon Aurora doesn't create a database in the global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the database name from the source DB cluster.

        Returns:
        The name for your database of up to 64 alphanumeric characters. If you don't specify a name, Amazon Aurora doesn't create a database in the global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the database name from the source DB cluster.

      • withDatabaseName

        public CreateGlobalClusterRequest withDatabaseName(String databaseName)

        The name for your database of up to 64 alphanumeric characters. If you don't specify a name, Amazon Aurora doesn't create a database in the global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the database name from the source DB cluster.

        Parameters:
        databaseName - The name for your database of up to 64 alphanumeric characters. If you don't specify a name, Amazon Aurora doesn't create a database in the global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the database name from the source DB cluster.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStorageEncrypted

        public void setStorageEncrypted(Boolean storageEncrypted)

        Specifies whether to enable storage encryption for the new global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.

        Parameters:
        storageEncrypted - Specifies whether to enable storage encryption for the new global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.

      • getStorageEncrypted

        public Boolean getStorageEncrypted()

        Specifies whether to enable storage encryption for the new global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.

        Returns:
        Specifies whether to enable storage encryption for the new global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.

      • withStorageEncrypted

        public CreateGlobalClusterRequest withStorageEncrypted(Boolean storageEncrypted)

        Specifies whether to enable storage encryption for the new global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.

        Parameters:
        storageEncrypted - Specifies whether to enable storage encryption for the new global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isStorageEncrypted

        public Boolean isStorageEncrypted()

        Specifies whether to enable storage encryption for the new global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.

        Returns:
        Specifies whether to enable storage encryption for the new global database cluster.

        Constraints:

        • Can't be specified if SourceDBClusterIdentifier is specified. In this case, Amazon Aurora uses the setting from the source DB cluster.

      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /