All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.securityhub.model.AwsRdsDbInstanceDetails Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS SecurityHub module holds the client classes that are used for communicating with AWS SecurityHub Service

There is a newer version: 1.12.780
Show newest version
/*
 * 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.securityhub.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* Contains the details of an Amazon RDS DB instance. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AwsRdsDbInstanceDetails implements Serializable, Cloneable, StructuredPojo { /** *

* The IAM roles associated with the DB instance. *

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

* The identifier of the CA certificate for this DB instance. *

*/ private String cACertificateIdentifier; /** *

* If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a * member of. *

*/ private String dBClusterIdentifier; /** *

* Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance. *

*/ private String dBInstanceIdentifier; /** *

* Contains the name of the compute and memory capacity class of the DB instance. *

*/ private String dBInstanceClass; /** *

* Specifies the port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a * different port than the DB cluster port. *

*/ private Integer dbInstancePort; /** *

* The Amazon Web Services Region-unique, immutable identifier for the DB instance. This identifier is found in * CloudTrail log entries whenever the KMS key for the DB instance is accessed. *

*/ private String dbiResourceId; /** *

* The meaning of this parameter differs according to the database engine you use. *

*

* MySQL, MariaDB, SQL Server, PostgreSQL *

*

* Contains the name of the initial database of this instance that was provided at create time, if one was specified * when the DB instance was created. This same name is returned for the life of the DB instance. *

*

* Oracle *

*

* Contains the Oracle System ID (SID) of the created DB instance. Not shown when the returned parameters do not * apply to an Oracle DB instance. *

*/ private String dBName; /** *

* Indicates whether the DB instance has deletion protection enabled. *

*

* When deletion protection is enabled, the database cannot be deleted. *

*/ private Boolean deletionProtection; /** *

* Specifies the connection endpoint. *

*/ private AwsRdsDbInstanceEndpoint endpoint; /** *

* Provides the name of the database engine to use for this DB instance. *

*/ private String engine; /** *

* Indicates the database engine version. *

*/ private String engineVersion; /** *

* True if mapping of IAM accounts to database accounts is enabled, and otherwise false. *

*

* IAM database authentication can be enabled for the following database engines. *

*
    *
  • *

    * For MySQL 5.6, minor version 5.6.34 or higher *

    *
  • *
  • *

    * For MySQL 5.7, minor version 5.7.16 or higher *

    *
  • *
  • *

    * Aurora 5.6 or higher *

    *
  • *
*/ private Boolean iAMDatabaseAuthenticationEnabled; /** *

* Indicates when the DB instance was created. *

*

* Uses the date-time format specified in RFC * 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be * separated by T. For example, 2020-03-22T13:22:13.933Z. *

*/ private String instanceCreateTime; /** *

* If StorageEncrypted is true, the KMS key identifier for the encrypted DB instance. *

*/ private String kmsKeyId; /** *

* Specifies the accessibility options for the DB instance. *

*

* A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a * public IP address. *

*

* A value of false specifies an internal instance with a DNS name that resolves to a private IP address. *

*/ private Boolean publiclyAccessible; /** *

* Specifies whether the DB instance is encrypted. *

*/ private Boolean storageEncrypted; /** *

* The ARN from the key store with which the instance is associated for TDE encryption. *

*/ private String tdeCredentialArn; /** *

* A list of VPC security groups that the DB instance belongs to. *

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

* Whether the DB instance is a multiple Availability Zone deployment. *

*/ private Boolean multiAz; /** *

* The ARN of the CloudWatch Logs log stream that receives the enhanced monitoring metrics data for the DB instance. *

*/ private String enhancedMonitoringResourceArn; /** *

* The current status of the DB instance. *

*/ private String dbInstanceStatus; /** *

* The master user name of the DB instance. *

*/ private String masterUsername; /** *

* The amount of storage (in gigabytes) to initially allocate for the DB instance. *

*/ private Integer allocatedStorage; /** *

* The range of time each day when automated backups are created, if automated backups are enabled. *

*

* Uses the format HH:MM-HH:MM. For example, 04:52-05:22. *

*/ private String preferredBackupWindow; /** *

* The number of days for which to retain automated backups. *

*/ private Integer backupRetentionPeriod; /** *

* A list of the DB security groups to assign to the DB instance. *

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

* A list of the DB parameter groups to assign to the DB instance. *

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

* The Availability Zone where the DB instance will be created. *

*/ private String availabilityZone; /** *

* Information about the subnet group that is associated with the DB instance. *

*/ private AwsRdsDbSubnetGroup dbSubnetGroup; /** *

* The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). *

*

* Uses the format <day>:HH:MM-<day>:HH:MM. *

*

* For the day values, use mon|tue|wed|thu|fri| * sat|sun. *

*

* For example, sun:09:32-sun:10:02. *

*/ private String preferredMaintenanceWindow; /** *

* Changes to the DB instance that are currently pending. *

*/ private AwsRdsDbPendingModifiedValues pendingModifiedValues; /** *

* Specifies the latest time to which a database can be restored with point-in-time restore. *

*

* Uses the date-time format specified in RFC * 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be * separated by T. For example, 2020-03-22T13:22:13.933Z. *

*/ private String latestRestorableTime; /** *

* Indicates whether minor version patches are applied automatically. *

*/ private Boolean autoMinorVersionUpgrade; /** *

* If this DB instance is a read replica, contains the identifier of the source DB instance. *

*/ private String readReplicaSourceDBInstanceIdentifier; /** *

* List of identifiers of the read replicas associated with this DB instance. *

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

* List of identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. *

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

* License model information for this DB instance. *

*/ private String licenseModel; /** *

* Specifies the provisioned IOPS (I/O operations per second) for this DB instance. *

*/ private Integer iops; /** *

* The list of option group memberships for this DB instance. *

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

* The name of the character set that this DB instance is associated with. *

*/ private String characterSetName; /** *

* For a DB instance with multi-Availability Zone support, the name of the secondary Availability Zone. *

*/ private String secondaryAvailabilityZone; /** *

* The status of a read replica. If the instance isn't a read replica, this is empty. *

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

* The storage type for the DB instance. *

*/ private String storageType; /** *

* The Active Directory domain membership records associated with the DB instance. *

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

* Whether to copy resource tags to snapshots of the DB instance. *

*/ private Boolean copyTagsToSnapshot; /** *

* The interval, in seconds, between points when enhanced monitoring metrics are collected for the DB instance. *

*/ private Integer monitoringInterval; /** *

* The ARN for the IAM role that permits Amazon RDS to send enhanced monitoring metrics to CloudWatch Logs. *

*/ private String monitoringRoleArn; /** *

* The order in which to promote an Aurora replica to the primary instance after a failure of the existing primary * instance. *

*/ private Integer promotionTier; /** *

* The time zone of the DB instance. *

*/ private String timezone; /** *

* Indicates whether Performance Insights is enabled for the DB instance. *

*/ private Boolean performanceInsightsEnabled; /** *

* The identifier of the KMS key used to encrypt the Performance Insights data. *

*/ private String performanceInsightsKmsKeyId; /** *

* The number of days to retain Performance Insights data. *

*/ private Integer performanceInsightsRetentionPeriod; /** *

* A list of log types that this DB instance is configured to export to CloudWatch Logs. *

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

* The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. *

*/ private java.util.List processorFeatures; private AwsRdsDbInstanceEndpoint listenerEndpoint; /** *

* The upper limit to which Amazon RDS can automatically scale the storage of the DB instance. *

*/ private Integer maxAllocatedStorage; /** *

* The IAM roles associated with the DB instance. *

* * @return The IAM roles associated with the DB instance. */ public java.util.List getAssociatedRoles() { return associatedRoles; } /** *

* The IAM roles associated with the DB instance. *

* * @param associatedRoles * The IAM roles associated with the DB instance. */ public void setAssociatedRoles(java.util.Collection associatedRoles) { if (associatedRoles == null) { this.associatedRoles = null; return; } this.associatedRoles = new java.util.ArrayList(associatedRoles); } /** *

* The IAM roles associated with the DB instance. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setAssociatedRoles(java.util.Collection)} or {@link #withAssociatedRoles(java.util.Collection)} if you * want to override the existing values. *

* * @param associatedRoles * The IAM roles associated with the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withAssociatedRoles(AwsRdsDbInstanceAssociatedRole... associatedRoles) { if (this.associatedRoles == null) { setAssociatedRoles(new java.util.ArrayList(associatedRoles.length)); } for (AwsRdsDbInstanceAssociatedRole ele : associatedRoles) { this.associatedRoles.add(ele); } return this; } /** *

* The IAM roles associated with the DB instance. *

* * @param associatedRoles * The IAM roles associated with the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withAssociatedRoles(java.util.Collection associatedRoles) { setAssociatedRoles(associatedRoles); return this; } /** *

* The identifier of the CA certificate for this DB instance. *

* * @param cACertificateIdentifier * The identifier of the CA certificate for this DB instance. */ public void setCACertificateIdentifier(String cACertificateIdentifier) { this.cACertificateIdentifier = cACertificateIdentifier; } /** *

* The identifier of the CA certificate for this DB instance. *

* * @return The identifier of the CA certificate for this DB instance. */ public String getCACertificateIdentifier() { return this.cACertificateIdentifier; } /** *

* The identifier of the CA certificate for this DB instance. *

* * @param cACertificateIdentifier * The identifier of the CA certificate for this DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withCACertificateIdentifier(String cACertificateIdentifier) { setCACertificateIdentifier(cACertificateIdentifier); return this; } /** *

* If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a * member of. *

* * @param dBClusterIdentifier * If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance * is a member of. */ public void setDBClusterIdentifier(String dBClusterIdentifier) { this.dBClusterIdentifier = dBClusterIdentifier; } /** *

* If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a * member of. *

* * @return If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance * is a member of. */ public String getDBClusterIdentifier() { return this.dBClusterIdentifier; } /** *

* If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a * member of. *

* * @param dBClusterIdentifier * If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance * is a member of. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDBClusterIdentifier(String dBClusterIdentifier) { setDBClusterIdentifier(dBClusterIdentifier); return this; } /** *

* Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance. *

* * @param dBInstanceIdentifier * Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB * instance. */ public void setDBInstanceIdentifier(String dBInstanceIdentifier) { this.dBInstanceIdentifier = dBInstanceIdentifier; } /** *

* Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance. *

* * @return Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB * instance. */ public String getDBInstanceIdentifier() { return this.dBInstanceIdentifier; } /** *

* Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance. *

* * @param dBInstanceIdentifier * Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB * instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDBInstanceIdentifier(String dBInstanceIdentifier) { setDBInstanceIdentifier(dBInstanceIdentifier); return this; } /** *

* Contains the name of the compute and memory capacity class of the DB instance. *

* * @param dBInstanceClass * Contains the name of the compute and memory capacity class of the DB instance. */ public void setDBInstanceClass(String dBInstanceClass) { this.dBInstanceClass = dBInstanceClass; } /** *

* Contains the name of the compute and memory capacity class of the DB instance. *

* * @return Contains the name of the compute and memory capacity class of the DB instance. */ public String getDBInstanceClass() { return this.dBInstanceClass; } /** *

* Contains the name of the compute and memory capacity class of the DB instance. *

* * @param dBInstanceClass * Contains the name of the compute and memory capacity class of the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDBInstanceClass(String dBInstanceClass) { setDBInstanceClass(dBInstanceClass); return this; } /** *

* Specifies the port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a * different port than the DB cluster port. *

* * @param dbInstancePort * Specifies the port that the DB instance listens on. If the DB instance is part of a DB cluster, this can * be a different port than the DB cluster port. */ public void setDbInstancePort(Integer dbInstancePort) { this.dbInstancePort = dbInstancePort; } /** *

* Specifies the port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a * different port than the DB cluster port. *

* * @return Specifies the port that the DB instance listens on. If the DB instance is part of a DB cluster, this can * be a different port than the DB cluster port. */ public Integer getDbInstancePort() { return this.dbInstancePort; } /** *

* Specifies the port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a * different port than the DB cluster port. *

* * @param dbInstancePort * Specifies the port that the DB instance listens on. If the DB instance is part of a DB cluster, this can * be a different port than the DB cluster port. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDbInstancePort(Integer dbInstancePort) { setDbInstancePort(dbInstancePort); return this; } /** *

* The Amazon Web Services Region-unique, immutable identifier for the DB instance. This identifier is found in * CloudTrail log entries whenever the KMS key for the DB instance is accessed. *

* * @param dbiResourceId * The Amazon Web Services Region-unique, immutable identifier for the DB instance. This identifier is found * in CloudTrail log entries whenever the KMS key for the DB instance is accessed. */ public void setDbiResourceId(String dbiResourceId) { this.dbiResourceId = dbiResourceId; } /** *

* The Amazon Web Services Region-unique, immutable identifier for the DB instance. This identifier is found in * CloudTrail log entries whenever the KMS key for the DB instance is accessed. *

* * @return The Amazon Web Services Region-unique, immutable identifier for the DB instance. This identifier is found * in CloudTrail log entries whenever the KMS key for the DB instance is accessed. */ public String getDbiResourceId() { return this.dbiResourceId; } /** *

* The Amazon Web Services Region-unique, immutable identifier for the DB instance. This identifier is found in * CloudTrail log entries whenever the KMS key for the DB instance is accessed. *

* * @param dbiResourceId * The Amazon Web Services Region-unique, immutable identifier for the DB instance. This identifier is found * in CloudTrail log entries whenever the KMS key for the DB instance is accessed. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDbiResourceId(String dbiResourceId) { setDbiResourceId(dbiResourceId); return this; } /** *

* The meaning of this parameter differs according to the database engine you use. *

*

* MySQL, MariaDB, SQL Server, PostgreSQL *

*

* Contains the name of the initial database of this instance that was provided at create time, if one was specified * when the DB instance was created. This same name is returned for the life of the DB instance. *

*

* Oracle *

*

* Contains the Oracle System ID (SID) of the created DB instance. Not shown when the returned parameters do not * apply to an Oracle DB instance. *

* * @param dBName * The meaning of this parameter differs according to the database engine you use.

*

* MySQL, MariaDB, SQL Server, PostgreSQL *

*

* Contains the name of the initial database of this instance that was provided at create time, if one was * specified when the DB instance was created. This same name is returned for the life of the DB instance. *

*

* Oracle *

*

* Contains the Oracle System ID (SID) of the created DB instance. Not shown when the returned parameters do * not apply to an Oracle DB instance. */ public void setDBName(String dBName) { this.dBName = dBName; } /** *

* The meaning of this parameter differs according to the database engine you use. *

*

* MySQL, MariaDB, SQL Server, PostgreSQL *

*

* Contains the name of the initial database of this instance that was provided at create time, if one was specified * when the DB instance was created. This same name is returned for the life of the DB instance. *

*

* Oracle *

*

* Contains the Oracle System ID (SID) of the created DB instance. Not shown when the returned parameters do not * apply to an Oracle DB instance. *

* * @return The meaning of this parameter differs according to the database engine you use.

*

* MySQL, MariaDB, SQL Server, PostgreSQL *

*

* Contains the name of the initial database of this instance that was provided at create time, if one was * specified when the DB instance was created. This same name is returned for the life of the DB instance. *

*

* Oracle *

*

* Contains the Oracle System ID (SID) of the created DB instance. Not shown when the returned parameters do * not apply to an Oracle DB instance. */ public String getDBName() { return this.dBName; } /** *

* The meaning of this parameter differs according to the database engine you use. *

*

* MySQL, MariaDB, SQL Server, PostgreSQL *

*

* Contains the name of the initial database of this instance that was provided at create time, if one was specified * when the DB instance was created. This same name is returned for the life of the DB instance. *

*

* Oracle *

*

* Contains the Oracle System ID (SID) of the created DB instance. Not shown when the returned parameters do not * apply to an Oracle DB instance. *

* * @param dBName * The meaning of this parameter differs according to the database engine you use.

*

* MySQL, MariaDB, SQL Server, PostgreSQL *

*

* Contains the name of the initial database of this instance that was provided at create time, if one was * specified when the DB instance was created. This same name is returned for the life of the DB instance. *

*

* Oracle *

*

* Contains the Oracle System ID (SID) of the created DB instance. Not shown when the returned parameters do * not apply to an Oracle DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDBName(String dBName) { setDBName(dBName); return this; } /** *

* Indicates whether the DB instance has deletion protection enabled. *

*

* When deletion protection is enabled, the database cannot be deleted. *

* * @param deletionProtection * Indicates whether the DB instance has deletion protection enabled.

*

* When deletion protection is enabled, the database cannot be deleted. */ public void setDeletionProtection(Boolean deletionProtection) { this.deletionProtection = deletionProtection; } /** *

* Indicates whether the DB instance has deletion protection enabled. *

*

* When deletion protection is enabled, the database cannot be deleted. *

* * @return Indicates whether the DB instance has deletion protection enabled.

*

* When deletion protection is enabled, the database cannot be deleted. */ public Boolean getDeletionProtection() { return this.deletionProtection; } /** *

* Indicates whether the DB instance has deletion protection enabled. *

*

* When deletion protection is enabled, the database cannot be deleted. *

* * @param deletionProtection * Indicates whether the DB instance has deletion protection enabled.

*

* When deletion protection is enabled, the database cannot be deleted. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDeletionProtection(Boolean deletionProtection) { setDeletionProtection(deletionProtection); return this; } /** *

* Indicates whether the DB instance has deletion protection enabled. *

*

* When deletion protection is enabled, the database cannot be deleted. *

* * @return Indicates whether the DB instance has deletion protection enabled.

*

* When deletion protection is enabled, the database cannot be deleted. */ public Boolean isDeletionProtection() { return this.deletionProtection; } /** *

* Specifies the connection endpoint. *

* * @param endpoint * Specifies the connection endpoint. */ public void setEndpoint(AwsRdsDbInstanceEndpoint endpoint) { this.endpoint = endpoint; } /** *

* Specifies the connection endpoint. *

* * @return Specifies the connection endpoint. */ public AwsRdsDbInstanceEndpoint getEndpoint() { return this.endpoint; } /** *

* Specifies the connection endpoint. *

* * @param endpoint * Specifies the connection endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withEndpoint(AwsRdsDbInstanceEndpoint endpoint) { setEndpoint(endpoint); return this; } /** *

* Provides the name of the database engine to use for this DB instance. *

* * @param engine * Provides the name of the database engine to use for this DB instance. */ public void setEngine(String engine) { this.engine = engine; } /** *

* Provides the name of the database engine to use for this DB instance. *

* * @return Provides the name of the database engine to use for this DB instance. */ public String getEngine() { return this.engine; } /** *

* Provides the name of the database engine to use for this DB instance. *

* * @param engine * Provides the name of the database engine to use for this DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withEngine(String engine) { setEngine(engine); return this; } /** *

* Indicates the database engine version. *

* * @param engineVersion * Indicates the database engine version. */ public void setEngineVersion(String engineVersion) { this.engineVersion = engineVersion; } /** *

* Indicates the database engine version. *

* * @return Indicates the database engine version. */ public String getEngineVersion() { return this.engineVersion; } /** *

* Indicates the database engine version. *

* * @param engineVersion * Indicates the database engine version. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withEngineVersion(String engineVersion) { setEngineVersion(engineVersion); return this; } /** *

* True if mapping of IAM accounts to database accounts is enabled, and otherwise false. *

*

* IAM database authentication can be enabled for the following database engines. *

*
    *
  • *

    * For MySQL 5.6, minor version 5.6.34 or higher *

    *
  • *
  • *

    * For MySQL 5.7, minor version 5.7.16 or higher *

    *
  • *
  • *

    * Aurora 5.6 or higher *

    *
  • *
* * @param iAMDatabaseAuthenticationEnabled * True if mapping of IAM accounts to database accounts is enabled, and otherwise false.

*

* IAM database authentication can be enabled for the following database engines. *

*
    *
  • *

    * For MySQL 5.6, minor version 5.6.34 or higher *

    *
  • *
  • *

    * For MySQL 5.7, minor version 5.7.16 or higher *

    *
  • *
  • *

    * Aurora 5.6 or higher *

    *
  • */ public void setIAMDatabaseAuthenticationEnabled(Boolean iAMDatabaseAuthenticationEnabled) { this.iAMDatabaseAuthenticationEnabled = iAMDatabaseAuthenticationEnabled; } /** *

    * True if mapping of IAM accounts to database accounts is enabled, and otherwise false. *

    *

    * IAM database authentication can be enabled for the following database engines. *

    *
      *
    • *

      * For MySQL 5.6, minor version 5.6.34 or higher *

      *
    • *
    • *

      * For MySQL 5.7, minor version 5.7.16 or higher *

      *
    • *
    • *

      * Aurora 5.6 or higher *

      *
    • *
    * * @return True if mapping of IAM accounts to database accounts is enabled, and otherwise false.

    *

    * IAM database authentication can be enabled for the following database engines. *

    *
      *
    • *

      * For MySQL 5.6, minor version 5.6.34 or higher *

      *
    • *
    • *

      * For MySQL 5.7, minor version 5.7.16 or higher *

      *
    • *
    • *

      * Aurora 5.6 or higher *

      *
    • */ public Boolean getIAMDatabaseAuthenticationEnabled() { return this.iAMDatabaseAuthenticationEnabled; } /** *

      * True if mapping of IAM accounts to database accounts is enabled, and otherwise false. *

      *

      * IAM database authentication can be enabled for the following database engines. *

      *
        *
      • *

        * For MySQL 5.6, minor version 5.6.34 or higher *

        *
      • *
      • *

        * For MySQL 5.7, minor version 5.7.16 or higher *

        *
      • *
      • *

        * Aurora 5.6 or higher *

        *
      • *
      * * @param iAMDatabaseAuthenticationEnabled * True if mapping of IAM accounts to database accounts is enabled, and otherwise false.

      *

      * IAM database authentication can be enabled for the following database engines. *

      *
        *
      • *

        * For MySQL 5.6, minor version 5.6.34 or higher *

        *
      • *
      • *

        * For MySQL 5.7, minor version 5.7.16 or higher *

        *
      • *
      • *

        * Aurora 5.6 or higher *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withIAMDatabaseAuthenticationEnabled(Boolean iAMDatabaseAuthenticationEnabled) { setIAMDatabaseAuthenticationEnabled(iAMDatabaseAuthenticationEnabled); return this; } /** *

        * True if mapping of IAM accounts to database accounts is enabled, and otherwise false. *

        *

        * IAM database authentication can be enabled for the following database engines. *

        *
          *
        • *

          * For MySQL 5.6, minor version 5.6.34 or higher *

          *
        • *
        • *

          * For MySQL 5.7, minor version 5.7.16 or higher *

          *
        • *
        • *

          * Aurora 5.6 or higher *

          *
        • *
        * * @return True if mapping of IAM accounts to database accounts is enabled, and otherwise false.

        *

        * IAM database authentication can be enabled for the following database engines. *

        *
          *
        • *

          * For MySQL 5.6, minor version 5.6.34 or higher *

          *
        • *
        • *

          * For MySQL 5.7, minor version 5.7.16 or higher *

          *
        • *
        • *

          * Aurora 5.6 or higher *

          *
        • */ public Boolean isIAMDatabaseAuthenticationEnabled() { return this.iAMDatabaseAuthenticationEnabled; } /** *

          * Indicates when the DB instance was created. *

          *

          * Uses the date-time format specified in RFC * 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be * separated by T. For example, 2020-03-22T13:22:13.933Z. *

          * * @param instanceCreateTime * Indicates when the DB instance was created.

          *

          * Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time * Format. The value cannot contain spaces, and date and time should be separated by T. For * example, 2020-03-22T13:22:13.933Z. */ public void setInstanceCreateTime(String instanceCreateTime) { this.instanceCreateTime = instanceCreateTime; } /** *

          * Indicates when the DB instance was created. *

          *

          * Uses the date-time format specified in RFC * 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be * separated by T. For example, 2020-03-22T13:22:13.933Z. *

          * * @return Indicates when the DB instance was created.

          *

          * Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time * Format. The value cannot contain spaces, and date and time should be separated by T. For * example, 2020-03-22T13:22:13.933Z. */ public String getInstanceCreateTime() { return this.instanceCreateTime; } /** *

          * Indicates when the DB instance was created. *

          *

          * Uses the date-time format specified in RFC * 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be * separated by T. For example, 2020-03-22T13:22:13.933Z. *

          * * @param instanceCreateTime * Indicates when the DB instance was created.

          *

          * Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time * Format. The value cannot contain spaces, and date and time should be separated by T. For * example, 2020-03-22T13:22:13.933Z. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withInstanceCreateTime(String instanceCreateTime) { setInstanceCreateTime(instanceCreateTime); return this; } /** *

          * If StorageEncrypted is true, the KMS key identifier for the encrypted DB instance. *

          * * @param kmsKeyId * If StorageEncrypted is true, the KMS key identifier for the encrypted DB instance. */ public void setKmsKeyId(String kmsKeyId) { this.kmsKeyId = kmsKeyId; } /** *

          * If StorageEncrypted is true, the KMS key identifier for the encrypted DB instance. *

          * * @return If StorageEncrypted is true, the KMS key identifier for the encrypted DB instance. */ public String getKmsKeyId() { return this.kmsKeyId; } /** *

          * If StorageEncrypted is true, the KMS key identifier for the encrypted DB instance. *

          * * @param kmsKeyId * If StorageEncrypted is true, the KMS key identifier for the encrypted DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withKmsKeyId(String kmsKeyId) { setKmsKeyId(kmsKeyId); return this; } /** *

          * Specifies the accessibility options for the DB instance. *

          *

          * A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a * public IP address. *

          *

          * A value of false specifies an internal instance with a DNS name that resolves to a private IP address. *

          * * @param publiclyAccessible * Specifies the accessibility options for the DB instance.

          *

          * A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves * to a public IP address. *

          *

          * A value of false specifies an internal instance with a DNS name that resolves to a private IP address. */ public void setPubliclyAccessible(Boolean publiclyAccessible) { this.publiclyAccessible = publiclyAccessible; } /** *

          * Specifies the accessibility options for the DB instance. *

          *

          * A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a * public IP address. *

          *

          * A value of false specifies an internal instance with a DNS name that resolves to a private IP address. *

          * * @return Specifies the accessibility options for the DB instance.

          *

          * A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves * to a public IP address. *

          *

          * A value of false specifies an internal instance with a DNS name that resolves to a private IP address. */ public Boolean getPubliclyAccessible() { return this.publiclyAccessible; } /** *

          * Specifies the accessibility options for the DB instance. *

          *

          * A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a * public IP address. *

          *

          * A value of false specifies an internal instance with a DNS name that resolves to a private IP address. *

          * * @param publiclyAccessible * Specifies the accessibility options for the DB instance.

          *

          * A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves * to a public IP address. *

          *

          * A value of false specifies an internal instance with a DNS name that resolves to a private IP address. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withPubliclyAccessible(Boolean publiclyAccessible) { setPubliclyAccessible(publiclyAccessible); return this; } /** *

          * Specifies the accessibility options for the DB instance. *

          *

          * A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a * public IP address. *

          *

          * A value of false specifies an internal instance with a DNS name that resolves to a private IP address. *

          * * @return Specifies the accessibility options for the DB instance.

          *

          * A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves * to a public IP address. *

          *

          * A value of false specifies an internal instance with a DNS name that resolves to a private IP address. */ public Boolean isPubliclyAccessible() { return this.publiclyAccessible; } /** *

          * Specifies whether the DB instance is encrypted. *

          * * @param storageEncrypted * Specifies whether the DB instance is encrypted. */ public void setStorageEncrypted(Boolean storageEncrypted) { this.storageEncrypted = storageEncrypted; } /** *

          * Specifies whether the DB instance is encrypted. *

          * * @return Specifies whether the DB instance is encrypted. */ public Boolean getStorageEncrypted() { return this.storageEncrypted; } /** *

          * Specifies whether the DB instance is encrypted. *

          * * @param storageEncrypted * Specifies whether the DB instance is encrypted. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withStorageEncrypted(Boolean storageEncrypted) { setStorageEncrypted(storageEncrypted); return this; } /** *

          * Specifies whether the DB instance is encrypted. *

          * * @return Specifies whether the DB instance is encrypted. */ public Boolean isStorageEncrypted() { return this.storageEncrypted; } /** *

          * The ARN from the key store with which the instance is associated for TDE encryption. *

          * * @param tdeCredentialArn * The ARN from the key store with which the instance is associated for TDE encryption. */ public void setTdeCredentialArn(String tdeCredentialArn) { this.tdeCredentialArn = tdeCredentialArn; } /** *

          * The ARN from the key store with which the instance is associated for TDE encryption. *

          * * @return The ARN from the key store with which the instance is associated for TDE encryption. */ public String getTdeCredentialArn() { return this.tdeCredentialArn; } /** *

          * The ARN from the key store with which the instance is associated for TDE encryption. *

          * * @param tdeCredentialArn * The ARN from the key store with which the instance is associated for TDE encryption. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withTdeCredentialArn(String tdeCredentialArn) { setTdeCredentialArn(tdeCredentialArn); return this; } /** *

          * A list of VPC security groups that the DB instance belongs to. *

          * * @return A list of VPC security groups that the DB instance belongs to. */ public java.util.List getVpcSecurityGroups() { return vpcSecurityGroups; } /** *

          * A list of VPC security groups that the DB instance belongs to. *

          * * @param vpcSecurityGroups * A list of VPC security groups that the DB instance belongs to. */ public void setVpcSecurityGroups(java.util.Collection vpcSecurityGroups) { if (vpcSecurityGroups == null) { this.vpcSecurityGroups = null; return; } this.vpcSecurityGroups = new java.util.ArrayList(vpcSecurityGroups); } /** *

          * A list of VPC security groups that the DB instance belongs to. *

          *

          * NOTE: This method appends the values to the existing list (if any). Use * {@link #setVpcSecurityGroups(java.util.Collection)} or {@link #withVpcSecurityGroups(java.util.Collection)} if * you want to override the existing values. *

          * * @param vpcSecurityGroups * A list of VPC security groups that the DB instance belongs to. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withVpcSecurityGroups(AwsRdsDbInstanceVpcSecurityGroup... vpcSecurityGroups) { if (this.vpcSecurityGroups == null) { setVpcSecurityGroups(new java.util.ArrayList(vpcSecurityGroups.length)); } for (AwsRdsDbInstanceVpcSecurityGroup ele : vpcSecurityGroups) { this.vpcSecurityGroups.add(ele); } return this; } /** *

          * A list of VPC security groups that the DB instance belongs to. *

          * * @param vpcSecurityGroups * A list of VPC security groups that the DB instance belongs to. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withVpcSecurityGroups(java.util.Collection vpcSecurityGroups) { setVpcSecurityGroups(vpcSecurityGroups); return this; } /** *

          * Whether the DB instance is a multiple Availability Zone deployment. *

          * * @param multiAz * Whether the DB instance is a multiple Availability Zone deployment. */ public void setMultiAz(Boolean multiAz) { this.multiAz = multiAz; } /** *

          * Whether the DB instance is a multiple Availability Zone deployment. *

          * * @return Whether the DB instance is a multiple Availability Zone deployment. */ public Boolean getMultiAz() { return this.multiAz; } /** *

          * Whether the DB instance is a multiple Availability Zone deployment. *

          * * @param multiAz * Whether the DB instance is a multiple Availability Zone deployment. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withMultiAz(Boolean multiAz) { setMultiAz(multiAz); return this; } /** *

          * Whether the DB instance is a multiple Availability Zone deployment. *

          * * @return Whether the DB instance is a multiple Availability Zone deployment. */ public Boolean isMultiAz() { return this.multiAz; } /** *

          * The ARN of the CloudWatch Logs log stream that receives the enhanced monitoring metrics data for the DB instance. *

          * * @param enhancedMonitoringResourceArn * The ARN of the CloudWatch Logs log stream that receives the enhanced monitoring metrics data for the DB * instance. */ public void setEnhancedMonitoringResourceArn(String enhancedMonitoringResourceArn) { this.enhancedMonitoringResourceArn = enhancedMonitoringResourceArn; } /** *

          * The ARN of the CloudWatch Logs log stream that receives the enhanced monitoring metrics data for the DB instance. *

          * * @return The ARN of the CloudWatch Logs log stream that receives the enhanced monitoring metrics data for the DB * instance. */ public String getEnhancedMonitoringResourceArn() { return this.enhancedMonitoringResourceArn; } /** *

          * The ARN of the CloudWatch Logs log stream that receives the enhanced monitoring metrics data for the DB instance. *

          * * @param enhancedMonitoringResourceArn * The ARN of the CloudWatch Logs log stream that receives the enhanced monitoring metrics data for the DB * instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withEnhancedMonitoringResourceArn(String enhancedMonitoringResourceArn) { setEnhancedMonitoringResourceArn(enhancedMonitoringResourceArn); return this; } /** *

          * The current status of the DB instance. *

          * * @param dbInstanceStatus * The current status of the DB instance. */ public void setDbInstanceStatus(String dbInstanceStatus) { this.dbInstanceStatus = dbInstanceStatus; } /** *

          * The current status of the DB instance. *

          * * @return The current status of the DB instance. */ public String getDbInstanceStatus() { return this.dbInstanceStatus; } /** *

          * The current status of the DB instance. *

          * * @param dbInstanceStatus * The current status of the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDbInstanceStatus(String dbInstanceStatus) { setDbInstanceStatus(dbInstanceStatus); return this; } /** *

          * The master user name of the DB instance. *

          * * @param masterUsername * The master user name of the DB instance. */ public void setMasterUsername(String masterUsername) { this.masterUsername = masterUsername; } /** *

          * The master user name of the DB instance. *

          * * @return The master user name of the DB instance. */ public String getMasterUsername() { return this.masterUsername; } /** *

          * The master user name of the DB instance. *

          * * @param masterUsername * The master user name of the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withMasterUsername(String masterUsername) { setMasterUsername(masterUsername); return this; } /** *

          * The amount of storage (in gigabytes) to initially allocate for the DB instance. *

          * * @param allocatedStorage * The amount of storage (in gigabytes) to initially allocate for the DB instance. */ public void setAllocatedStorage(Integer allocatedStorage) { this.allocatedStorage = allocatedStorage; } /** *

          * The amount of storage (in gigabytes) to initially allocate for the DB instance. *

          * * @return The amount of storage (in gigabytes) to initially allocate for the DB instance. */ public Integer getAllocatedStorage() { return this.allocatedStorage; } /** *

          * The amount of storage (in gigabytes) to initially allocate for the DB instance. *

          * * @param allocatedStorage * The amount of storage (in gigabytes) to initially allocate for the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withAllocatedStorage(Integer allocatedStorage) { setAllocatedStorage(allocatedStorage); return this; } /** *

          * The range of time each day when automated backups are created, if automated backups are enabled. *

          *

          * Uses the format HH:MM-HH:MM. For example, 04:52-05:22. *

          * * @param preferredBackupWindow * The range of time each day when automated backups are created, if automated backups are enabled.

          *

          * Uses the format HH:MM-HH:MM. For example, 04:52-05:22. */ public void setPreferredBackupWindow(String preferredBackupWindow) { this.preferredBackupWindow = preferredBackupWindow; } /** *

          * The range of time each day when automated backups are created, if automated backups are enabled. *

          *

          * Uses the format HH:MM-HH:MM. For example, 04:52-05:22. *

          * * @return The range of time each day when automated backups are created, if automated backups are enabled.

          *

          * Uses the format HH:MM-HH:MM. For example, 04:52-05:22. */ public String getPreferredBackupWindow() { return this.preferredBackupWindow; } /** *

          * The range of time each day when automated backups are created, if automated backups are enabled. *

          *

          * Uses the format HH:MM-HH:MM. For example, 04:52-05:22. *

          * * @param preferredBackupWindow * The range of time each day when automated backups are created, if automated backups are enabled.

          *

          * Uses the format HH:MM-HH:MM. For example, 04:52-05:22. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withPreferredBackupWindow(String preferredBackupWindow) { setPreferredBackupWindow(preferredBackupWindow); return this; } /** *

          * The number of days for which to retain automated backups. *

          * * @param backupRetentionPeriod * The number of days for which to retain automated backups. */ public void setBackupRetentionPeriod(Integer backupRetentionPeriod) { this.backupRetentionPeriod = backupRetentionPeriod; } /** *

          * The number of days for which to retain automated backups. *

          * * @return The number of days for which to retain automated backups. */ public Integer getBackupRetentionPeriod() { return this.backupRetentionPeriod; } /** *

          * The number of days for which to retain automated backups. *

          * * @param backupRetentionPeriod * The number of days for which to retain automated backups. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withBackupRetentionPeriod(Integer backupRetentionPeriod) { setBackupRetentionPeriod(backupRetentionPeriod); return this; } /** *

          * A list of the DB security groups to assign to the DB instance. *

          * * @return A list of the DB security groups to assign to the DB instance. */ public java.util.List getDbSecurityGroups() { return dbSecurityGroups; } /** *

          * A list of the DB security groups to assign to the DB instance. *

          * * @param dbSecurityGroups * A list of the DB security groups to assign to the DB instance. */ public void setDbSecurityGroups(java.util.Collection dbSecurityGroups) { if (dbSecurityGroups == null) { this.dbSecurityGroups = null; return; } this.dbSecurityGroups = new java.util.ArrayList(dbSecurityGroups); } /** *

          * A list of the DB security groups to assign to the DB instance. *

          *

          * NOTE: This method appends the values to the existing list (if any). Use * {@link #setDbSecurityGroups(java.util.Collection)} or {@link #withDbSecurityGroups(java.util.Collection)} if you * want to override the existing values. *

          * * @param dbSecurityGroups * A list of the DB security groups to assign to the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDbSecurityGroups(String... dbSecurityGroups) { if (this.dbSecurityGroups == null) { setDbSecurityGroups(new java.util.ArrayList(dbSecurityGroups.length)); } for (String ele : dbSecurityGroups) { this.dbSecurityGroups.add(ele); } return this; } /** *

          * A list of the DB security groups to assign to the DB instance. *

          * * @param dbSecurityGroups * A list of the DB security groups to assign to the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDbSecurityGroups(java.util.Collection dbSecurityGroups) { setDbSecurityGroups(dbSecurityGroups); return this; } /** *

          * A list of the DB parameter groups to assign to the DB instance. *

          * * @return A list of the DB parameter groups to assign to the DB instance. */ public java.util.List getDbParameterGroups() { return dbParameterGroups; } /** *

          * A list of the DB parameter groups to assign to the DB instance. *

          * * @param dbParameterGroups * A list of the DB parameter groups to assign to the DB instance. */ public void setDbParameterGroups(java.util.Collection dbParameterGroups) { if (dbParameterGroups == null) { this.dbParameterGroups = null; return; } this.dbParameterGroups = new java.util.ArrayList(dbParameterGroups); } /** *

          * A list of the DB parameter groups to assign to the DB instance. *

          *

          * NOTE: This method appends the values to the existing list (if any). Use * {@link #setDbParameterGroups(java.util.Collection)} or {@link #withDbParameterGroups(java.util.Collection)} if * you want to override the existing values. *

          * * @param dbParameterGroups * A list of the DB parameter groups to assign to the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDbParameterGroups(AwsRdsDbParameterGroup... dbParameterGroups) { if (this.dbParameterGroups == null) { setDbParameterGroups(new java.util.ArrayList(dbParameterGroups.length)); } for (AwsRdsDbParameterGroup ele : dbParameterGroups) { this.dbParameterGroups.add(ele); } return this; } /** *

          * A list of the DB parameter groups to assign to the DB instance. *

          * * @param dbParameterGroups * A list of the DB parameter groups to assign to the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDbParameterGroups(java.util.Collection dbParameterGroups) { setDbParameterGroups(dbParameterGroups); return this; } /** *

          * The Availability Zone where the DB instance will be created. *

          * * @param availabilityZone * The Availability Zone where the DB instance will be created. */ public void setAvailabilityZone(String availabilityZone) { this.availabilityZone = availabilityZone; } /** *

          * The Availability Zone where the DB instance will be created. *

          * * @return The Availability Zone where the DB instance will be created. */ public String getAvailabilityZone() { return this.availabilityZone; } /** *

          * The Availability Zone where the DB instance will be created. *

          * * @param availabilityZone * The Availability Zone where the DB instance will be created. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withAvailabilityZone(String availabilityZone) { setAvailabilityZone(availabilityZone); return this; } /** *

          * Information about the subnet group that is associated with the DB instance. *

          * * @param dbSubnetGroup * Information about the subnet group that is associated with the DB instance. */ public void setDbSubnetGroup(AwsRdsDbSubnetGroup dbSubnetGroup) { this.dbSubnetGroup = dbSubnetGroup; } /** *

          * Information about the subnet group that is associated with the DB instance. *

          * * @return Information about the subnet group that is associated with the DB instance. */ public AwsRdsDbSubnetGroup getDbSubnetGroup() { return this.dbSubnetGroup; } /** *

          * Information about the subnet group that is associated with the DB instance. *

          * * @param dbSubnetGroup * Information about the subnet group that is associated with the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDbSubnetGroup(AwsRdsDbSubnetGroup dbSubnetGroup) { setDbSubnetGroup(dbSubnetGroup); return this; } /** *

          * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). *

          *

          * Uses the format <day>:HH:MM-<day>:HH:MM. *

          *

          * For the day values, use mon|tue|wed|thu|fri| * sat|sun. *

          *

          * For example, sun:09:32-sun:10:02. *

          * * @param preferredMaintenanceWindow * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

          *

          * Uses the format <day>:HH:MM-<day>:HH:MM. *

          *

          * For the day values, use mon|tue|wed|thu| * fri|sat|sun. *

          *

          * For example, sun:09:32-sun:10:02. */ public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow) { this.preferredMaintenanceWindow = preferredMaintenanceWindow; } /** *

          * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). *

          *

          * Uses the format <day>:HH:MM-<day>:HH:MM. *

          *

          * For the day values, use mon|tue|wed|thu|fri| * sat|sun. *

          *

          * For example, sun:09:32-sun:10:02. *

          * * @return The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

          *

          * Uses the format <day>:HH:MM-<day>:HH:MM. *

          *

          * For the day values, use mon|tue|wed|thu| * fri|sat|sun. *

          *

          * For example, sun:09:32-sun:10:02. */ public String getPreferredMaintenanceWindow() { return this.preferredMaintenanceWindow; } /** *

          * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). *

          *

          * Uses the format <day>:HH:MM-<day>:HH:MM. *

          *

          * For the day values, use mon|tue|wed|thu|fri| * sat|sun. *

          *

          * For example, sun:09:32-sun:10:02. *

          * * @param preferredMaintenanceWindow * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

          *

          * Uses the format <day>:HH:MM-<day>:HH:MM. *

          *

          * For the day values, use mon|tue|wed|thu| * fri|sat|sun. *

          *

          * For example, sun:09:32-sun:10:02. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withPreferredMaintenanceWindow(String preferredMaintenanceWindow) { setPreferredMaintenanceWindow(preferredMaintenanceWindow); return this; } /** *

          * Changes to the DB instance that are currently pending. *

          * * @param pendingModifiedValues * Changes to the DB instance that are currently pending. */ public void setPendingModifiedValues(AwsRdsDbPendingModifiedValues pendingModifiedValues) { this.pendingModifiedValues = pendingModifiedValues; } /** *

          * Changes to the DB instance that are currently pending. *

          * * @return Changes to the DB instance that are currently pending. */ public AwsRdsDbPendingModifiedValues getPendingModifiedValues() { return this.pendingModifiedValues; } /** *

          * Changes to the DB instance that are currently pending. *

          * * @param pendingModifiedValues * Changes to the DB instance that are currently pending. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withPendingModifiedValues(AwsRdsDbPendingModifiedValues pendingModifiedValues) { setPendingModifiedValues(pendingModifiedValues); return this; } /** *

          * Specifies the latest time to which a database can be restored with point-in-time restore. *

          *

          * Uses the date-time format specified in RFC * 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be * separated by T. For example, 2020-03-22T13:22:13.933Z. *

          * * @param latestRestorableTime * Specifies the latest time to which a database can be restored with point-in-time restore.

          *

          * Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time * Format. The value cannot contain spaces, and date and time should be separated by T. For * example, 2020-03-22T13:22:13.933Z. */ public void setLatestRestorableTime(String latestRestorableTime) { this.latestRestorableTime = latestRestorableTime; } /** *

          * Specifies the latest time to which a database can be restored with point-in-time restore. *

          *

          * Uses the date-time format specified in RFC * 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be * separated by T. For example, 2020-03-22T13:22:13.933Z. *

          * * @return Specifies the latest time to which a database can be restored with point-in-time restore.

          *

          * Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time * Format. The value cannot contain spaces, and date and time should be separated by T. For * example, 2020-03-22T13:22:13.933Z. */ public String getLatestRestorableTime() { return this.latestRestorableTime; } /** *

          * Specifies the latest time to which a database can be restored with point-in-time restore. *

          *

          * Uses the date-time format specified in RFC * 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be * separated by T. For example, 2020-03-22T13:22:13.933Z. *

          * * @param latestRestorableTime * Specifies the latest time to which a database can be restored with point-in-time restore.

          *

          * Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time * Format. The value cannot contain spaces, and date and time should be separated by T. For * example, 2020-03-22T13:22:13.933Z. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withLatestRestorableTime(String latestRestorableTime) { setLatestRestorableTime(latestRestorableTime); return this; } /** *

          * Indicates whether minor version patches are applied automatically. *

          * * @param autoMinorVersionUpgrade * Indicates whether minor version patches are applied automatically. */ public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) { this.autoMinorVersionUpgrade = autoMinorVersionUpgrade; } /** *

          * Indicates whether minor version patches are applied automatically. *

          * * @return Indicates whether minor version patches are applied automatically. */ public Boolean getAutoMinorVersionUpgrade() { return this.autoMinorVersionUpgrade; } /** *

          * Indicates whether minor version patches are applied automatically. *

          * * @param autoMinorVersionUpgrade * Indicates whether minor version patches are applied automatically. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) { setAutoMinorVersionUpgrade(autoMinorVersionUpgrade); return this; } /** *

          * Indicates whether minor version patches are applied automatically. *

          * * @return Indicates whether minor version patches are applied automatically. */ public Boolean isAutoMinorVersionUpgrade() { return this.autoMinorVersionUpgrade; } /** *

          * If this DB instance is a read replica, contains the identifier of the source DB instance. *

          * * @param readReplicaSourceDBInstanceIdentifier * If this DB instance is a read replica, contains the identifier of the source DB instance. */ public void setReadReplicaSourceDBInstanceIdentifier(String readReplicaSourceDBInstanceIdentifier) { this.readReplicaSourceDBInstanceIdentifier = readReplicaSourceDBInstanceIdentifier; } /** *

          * If this DB instance is a read replica, contains the identifier of the source DB instance. *

          * * @return If this DB instance is a read replica, contains the identifier of the source DB instance. */ public String getReadReplicaSourceDBInstanceIdentifier() { return this.readReplicaSourceDBInstanceIdentifier; } /** *

          * If this DB instance is a read replica, contains the identifier of the source DB instance. *

          * * @param readReplicaSourceDBInstanceIdentifier * If this DB instance is a read replica, contains the identifier of the source DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withReadReplicaSourceDBInstanceIdentifier(String readReplicaSourceDBInstanceIdentifier) { setReadReplicaSourceDBInstanceIdentifier(readReplicaSourceDBInstanceIdentifier); return this; } /** *

          * List of identifiers of the read replicas associated with this DB instance. *

          * * @return List of identifiers of the read replicas associated with this DB instance. */ public java.util.List getReadReplicaDBInstanceIdentifiers() { return readReplicaDBInstanceIdentifiers; } /** *

          * List of identifiers of the read replicas associated with this DB instance. *

          * * @param readReplicaDBInstanceIdentifiers * List of identifiers of the read replicas associated with this DB instance. */ public void setReadReplicaDBInstanceIdentifiers(java.util.Collection readReplicaDBInstanceIdentifiers) { if (readReplicaDBInstanceIdentifiers == null) { this.readReplicaDBInstanceIdentifiers = null; return; } this.readReplicaDBInstanceIdentifiers = new java.util.ArrayList(readReplicaDBInstanceIdentifiers); } /** *

          * List of identifiers of the read replicas associated with this DB instance. *

          *

          * NOTE: This method appends the values to the existing list (if any). Use * {@link #setReadReplicaDBInstanceIdentifiers(java.util.Collection)} or * {@link #withReadReplicaDBInstanceIdentifiers(java.util.Collection)} if you want to override the existing values. *

          * * @param readReplicaDBInstanceIdentifiers * List of identifiers of the read replicas associated with this DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withReadReplicaDBInstanceIdentifiers(String... readReplicaDBInstanceIdentifiers) { if (this.readReplicaDBInstanceIdentifiers == null) { setReadReplicaDBInstanceIdentifiers(new java.util.ArrayList(readReplicaDBInstanceIdentifiers.length)); } for (String ele : readReplicaDBInstanceIdentifiers) { this.readReplicaDBInstanceIdentifiers.add(ele); } return this; } /** *

          * List of identifiers of the read replicas associated with this DB instance. *

          * * @param readReplicaDBInstanceIdentifiers * List of identifiers of the read replicas associated with this DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withReadReplicaDBInstanceIdentifiers(java.util.Collection readReplicaDBInstanceIdentifiers) { setReadReplicaDBInstanceIdentifiers(readReplicaDBInstanceIdentifiers); return this; } /** *

          * List of identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. *

          * * @return List of identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. */ public java.util.List getReadReplicaDBClusterIdentifiers() { return readReplicaDBClusterIdentifiers; } /** *

          * List of identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. *

          * * @param readReplicaDBClusterIdentifiers * List of identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. */ public void setReadReplicaDBClusterIdentifiers(java.util.Collection readReplicaDBClusterIdentifiers) { if (readReplicaDBClusterIdentifiers == null) { this.readReplicaDBClusterIdentifiers = null; return; } this.readReplicaDBClusterIdentifiers = new java.util.ArrayList(readReplicaDBClusterIdentifiers); } /** *

          * List of identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. *

          *

          * NOTE: This method appends the values to the existing list (if any). Use * {@link #setReadReplicaDBClusterIdentifiers(java.util.Collection)} or * {@link #withReadReplicaDBClusterIdentifiers(java.util.Collection)} if you want to override the existing values. *

          * * @param readReplicaDBClusterIdentifiers * List of identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withReadReplicaDBClusterIdentifiers(String... readReplicaDBClusterIdentifiers) { if (this.readReplicaDBClusterIdentifiers == null) { setReadReplicaDBClusterIdentifiers(new java.util.ArrayList(readReplicaDBClusterIdentifiers.length)); } for (String ele : readReplicaDBClusterIdentifiers) { this.readReplicaDBClusterIdentifiers.add(ele); } return this; } /** *

          * List of identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. *

          * * @param readReplicaDBClusterIdentifiers * List of identifiers of Aurora DB clusters to which the RDS DB instance is replicated as a read replica. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withReadReplicaDBClusterIdentifiers(java.util.Collection readReplicaDBClusterIdentifiers) { setReadReplicaDBClusterIdentifiers(readReplicaDBClusterIdentifiers); return this; } /** *

          * License model information for this DB instance. *

          * * @param licenseModel * License model information for this DB instance. */ public void setLicenseModel(String licenseModel) { this.licenseModel = licenseModel; } /** *

          * License model information for this DB instance. *

          * * @return License model information for this DB instance. */ public String getLicenseModel() { return this.licenseModel; } /** *

          * License model information for this DB instance. *

          * * @param licenseModel * License model information for this DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withLicenseModel(String licenseModel) { setLicenseModel(licenseModel); return this; } /** *

          * Specifies the provisioned IOPS (I/O operations per second) for this DB instance. *

          * * @param iops * Specifies the provisioned IOPS (I/O operations per second) for this DB instance. */ public void setIops(Integer iops) { this.iops = iops; } /** *

          * Specifies the provisioned IOPS (I/O operations per second) for this DB instance. *

          * * @return Specifies the provisioned IOPS (I/O operations per second) for this DB instance. */ public Integer getIops() { return this.iops; } /** *

          * Specifies the provisioned IOPS (I/O operations per second) for this DB instance. *

          * * @param iops * Specifies the provisioned IOPS (I/O operations per second) for this DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withIops(Integer iops) { setIops(iops); return this; } /** *

          * The list of option group memberships for this DB instance. *

          * * @return The list of option group memberships for this DB instance. */ public java.util.List getOptionGroupMemberships() { return optionGroupMemberships; } /** *

          * The list of option group memberships for this DB instance. *

          * * @param optionGroupMemberships * The list of option group memberships for this DB instance. */ public void setOptionGroupMemberships(java.util.Collection optionGroupMemberships) { if (optionGroupMemberships == null) { this.optionGroupMemberships = null; return; } this.optionGroupMemberships = new java.util.ArrayList(optionGroupMemberships); } /** *

          * The list of option group memberships for this DB instance. *

          *

          * NOTE: This method appends the values to the existing list (if any). Use * {@link #setOptionGroupMemberships(java.util.Collection)} or * {@link #withOptionGroupMemberships(java.util.Collection)} if you want to override the existing values. *

          * * @param optionGroupMemberships * The list of option group memberships for this DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withOptionGroupMemberships(AwsRdsDbOptionGroupMembership... optionGroupMemberships) { if (this.optionGroupMemberships == null) { setOptionGroupMemberships(new java.util.ArrayList(optionGroupMemberships.length)); } for (AwsRdsDbOptionGroupMembership ele : optionGroupMemberships) { this.optionGroupMemberships.add(ele); } return this; } /** *

          * The list of option group memberships for this DB instance. *

          * * @param optionGroupMemberships * The list of option group memberships for this DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withOptionGroupMemberships(java.util.Collection optionGroupMemberships) { setOptionGroupMemberships(optionGroupMemberships); return this; } /** *

          * The name of the character set that this DB instance is associated with. *

          * * @param characterSetName * The name of the character set that this DB instance is associated with. */ public void setCharacterSetName(String characterSetName) { this.characterSetName = characterSetName; } /** *

          * The name of the character set that this DB instance is associated with. *

          * * @return The name of the character set that this DB instance is associated with. */ public String getCharacterSetName() { return this.characterSetName; } /** *

          * The name of the character set that this DB instance is associated with. *

          * * @param characterSetName * The name of the character set that this DB instance is associated with. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withCharacterSetName(String characterSetName) { setCharacterSetName(characterSetName); return this; } /** *

          * For a DB instance with multi-Availability Zone support, the name of the secondary Availability Zone. *

          * * @param secondaryAvailabilityZone * For a DB instance with multi-Availability Zone support, the name of the secondary Availability Zone. */ public void setSecondaryAvailabilityZone(String secondaryAvailabilityZone) { this.secondaryAvailabilityZone = secondaryAvailabilityZone; } /** *

          * For a DB instance with multi-Availability Zone support, the name of the secondary Availability Zone. *

          * * @return For a DB instance with multi-Availability Zone support, the name of the secondary Availability Zone. */ public String getSecondaryAvailabilityZone() { return this.secondaryAvailabilityZone; } /** *

          * For a DB instance with multi-Availability Zone support, the name of the secondary Availability Zone. *

          * * @param secondaryAvailabilityZone * For a DB instance with multi-Availability Zone support, the name of the secondary Availability Zone. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withSecondaryAvailabilityZone(String secondaryAvailabilityZone) { setSecondaryAvailabilityZone(secondaryAvailabilityZone); return this; } /** *

          * The status of a read replica. If the instance isn't a read replica, this is empty. *

          * * @return The status of a read replica. If the instance isn't a read replica, this is empty. */ public java.util.List getStatusInfos() { return statusInfos; } /** *

          * The status of a read replica. If the instance isn't a read replica, this is empty. *

          * * @param statusInfos * The status of a read replica. If the instance isn't a read replica, this is empty. */ public void setStatusInfos(java.util.Collection statusInfos) { if (statusInfos == null) { this.statusInfos = null; return; } this.statusInfos = new java.util.ArrayList(statusInfos); } /** *

          * The status of a read replica. If the instance isn't a read replica, this is empty. *

          *

          * NOTE: This method appends the values to the existing list (if any). Use * {@link #setStatusInfos(java.util.Collection)} or {@link #withStatusInfos(java.util.Collection)} if you want to * override the existing values. *

          * * @param statusInfos * The status of a read replica. If the instance isn't a read replica, this is empty. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withStatusInfos(AwsRdsDbStatusInfo... statusInfos) { if (this.statusInfos == null) { setStatusInfos(new java.util.ArrayList(statusInfos.length)); } for (AwsRdsDbStatusInfo ele : statusInfos) { this.statusInfos.add(ele); } return this; } /** *

          * The status of a read replica. If the instance isn't a read replica, this is empty. *

          * * @param statusInfos * The status of a read replica. If the instance isn't a read replica, this is empty. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withStatusInfos(java.util.Collection statusInfos) { setStatusInfos(statusInfos); return this; } /** *

          * The storage type for the DB instance. *

          * * @param storageType * The storage type for the DB instance. */ public void setStorageType(String storageType) { this.storageType = storageType; } /** *

          * The storage type for the DB instance. *

          * * @return The storage type for the DB instance. */ public String getStorageType() { return this.storageType; } /** *

          * The storage type for the DB instance. *

          * * @param storageType * The storage type for the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withStorageType(String storageType) { setStorageType(storageType); return this; } /** *

          * The Active Directory domain membership records associated with the DB instance. *

          * * @return The Active Directory domain membership records associated with the DB instance. */ public java.util.List getDomainMemberships() { return domainMemberships; } /** *

          * The Active Directory domain membership records associated with the DB instance. *

          * * @param domainMemberships * The Active Directory domain membership records associated with the DB instance. */ public void setDomainMemberships(java.util.Collection domainMemberships) { if (domainMemberships == null) { this.domainMemberships = null; return; } this.domainMemberships = new java.util.ArrayList(domainMemberships); } /** *

          * The Active Directory domain membership records associated with the DB instance. *

          *

          * NOTE: This method appends the values to the existing list (if any). Use * {@link #setDomainMemberships(java.util.Collection)} or {@link #withDomainMemberships(java.util.Collection)} if * you want to override the existing values. *

          * * @param domainMemberships * The Active Directory domain membership records associated with the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDomainMemberships(AwsRdsDbDomainMembership... domainMemberships) { if (this.domainMemberships == null) { setDomainMemberships(new java.util.ArrayList(domainMemberships.length)); } for (AwsRdsDbDomainMembership ele : domainMemberships) { this.domainMemberships.add(ele); } return this; } /** *

          * The Active Directory domain membership records associated with the DB instance. *

          * * @param domainMemberships * The Active Directory domain membership records associated with the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withDomainMemberships(java.util.Collection domainMemberships) { setDomainMemberships(domainMemberships); return this; } /** *

          * Whether to copy resource tags to snapshots of the DB instance. *

          * * @param copyTagsToSnapshot * Whether to copy resource tags to snapshots of the DB instance. */ public void setCopyTagsToSnapshot(Boolean copyTagsToSnapshot) { this.copyTagsToSnapshot = copyTagsToSnapshot; } /** *

          * Whether to copy resource tags to snapshots of the DB instance. *

          * * @return Whether to copy resource tags to snapshots of the DB instance. */ public Boolean getCopyTagsToSnapshot() { return this.copyTagsToSnapshot; } /** *

          * Whether to copy resource tags to snapshots of the DB instance. *

          * * @param copyTagsToSnapshot * Whether to copy resource tags to snapshots of the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withCopyTagsToSnapshot(Boolean copyTagsToSnapshot) { setCopyTagsToSnapshot(copyTagsToSnapshot); return this; } /** *

          * Whether to copy resource tags to snapshots of the DB instance. *

          * * @return Whether to copy resource tags to snapshots of the DB instance. */ public Boolean isCopyTagsToSnapshot() { return this.copyTagsToSnapshot; } /** *

          * The interval, in seconds, between points when enhanced monitoring metrics are collected for the DB instance. *

          * * @param monitoringInterval * The interval, in seconds, between points when enhanced monitoring metrics are collected for the DB * instance. */ public void setMonitoringInterval(Integer monitoringInterval) { this.monitoringInterval = monitoringInterval; } /** *

          * The interval, in seconds, between points when enhanced monitoring metrics are collected for the DB instance. *

          * * @return The interval, in seconds, between points when enhanced monitoring metrics are collected for the DB * instance. */ public Integer getMonitoringInterval() { return this.monitoringInterval; } /** *

          * The interval, in seconds, between points when enhanced monitoring metrics are collected for the DB instance. *

          * * @param monitoringInterval * The interval, in seconds, between points when enhanced monitoring metrics are collected for the DB * instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withMonitoringInterval(Integer monitoringInterval) { setMonitoringInterval(monitoringInterval); return this; } /** *

          * The ARN for the IAM role that permits Amazon RDS to send enhanced monitoring metrics to CloudWatch Logs. *

          * * @param monitoringRoleArn * The ARN for the IAM role that permits Amazon RDS to send enhanced monitoring metrics to CloudWatch Logs. */ public void setMonitoringRoleArn(String monitoringRoleArn) { this.monitoringRoleArn = monitoringRoleArn; } /** *

          * The ARN for the IAM role that permits Amazon RDS to send enhanced monitoring metrics to CloudWatch Logs. *

          * * @return The ARN for the IAM role that permits Amazon RDS to send enhanced monitoring metrics to CloudWatch Logs. */ public String getMonitoringRoleArn() { return this.monitoringRoleArn; } /** *

          * The ARN for the IAM role that permits Amazon RDS to send enhanced monitoring metrics to CloudWatch Logs. *

          * * @param monitoringRoleArn * The ARN for the IAM role that permits Amazon RDS to send enhanced monitoring metrics to CloudWatch Logs. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withMonitoringRoleArn(String monitoringRoleArn) { setMonitoringRoleArn(monitoringRoleArn); return this; } /** *

          * The order in which to promote an Aurora replica to the primary instance after a failure of the existing primary * instance. *

          * * @param promotionTier * The order in which to promote an Aurora replica to the primary instance after a failure of the existing * primary instance. */ public void setPromotionTier(Integer promotionTier) { this.promotionTier = promotionTier; } /** *

          * The order in which to promote an Aurora replica to the primary instance after a failure of the existing primary * instance. *

          * * @return The order in which to promote an Aurora replica to the primary instance after a failure of the existing * primary instance. */ public Integer getPromotionTier() { return this.promotionTier; } /** *

          * The order in which to promote an Aurora replica to the primary instance after a failure of the existing primary * instance. *

          * * @param promotionTier * The order in which to promote an Aurora replica to the primary instance after a failure of the existing * primary instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withPromotionTier(Integer promotionTier) { setPromotionTier(promotionTier); return this; } /** *

          * The time zone of the DB instance. *

          * * @param timezone * The time zone of the DB instance. */ public void setTimezone(String timezone) { this.timezone = timezone; } /** *

          * The time zone of the DB instance. *

          * * @return The time zone of the DB instance. */ public String getTimezone() { return this.timezone; } /** *

          * The time zone of the DB instance. *

          * * @param timezone * The time zone of the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withTimezone(String timezone) { setTimezone(timezone); return this; } /** *

          * Indicates whether Performance Insights is enabled for the DB instance. *

          * * @param performanceInsightsEnabled * Indicates whether Performance Insights is enabled for the DB instance. */ public void setPerformanceInsightsEnabled(Boolean performanceInsightsEnabled) { this.performanceInsightsEnabled = performanceInsightsEnabled; } /** *

          * Indicates whether Performance Insights is enabled for the DB instance. *

          * * @return Indicates whether Performance Insights is enabled for the DB instance. */ public Boolean getPerformanceInsightsEnabled() { return this.performanceInsightsEnabled; } /** *

          * Indicates whether Performance Insights is enabled for the DB instance. *

          * * @param performanceInsightsEnabled * Indicates whether Performance Insights is enabled for the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withPerformanceInsightsEnabled(Boolean performanceInsightsEnabled) { setPerformanceInsightsEnabled(performanceInsightsEnabled); return this; } /** *

          * Indicates whether Performance Insights is enabled for the DB instance. *

          * * @return Indicates whether Performance Insights is enabled for the DB instance. */ public Boolean isPerformanceInsightsEnabled() { return this.performanceInsightsEnabled; } /** *

          * The identifier of the KMS key used to encrypt the Performance Insights data. *

          * * @param performanceInsightsKmsKeyId * The identifier of the KMS key used to encrypt the Performance Insights data. */ public void setPerformanceInsightsKmsKeyId(String performanceInsightsKmsKeyId) { this.performanceInsightsKmsKeyId = performanceInsightsKmsKeyId; } /** *

          * The identifier of the KMS key used to encrypt the Performance Insights data. *

          * * @return The identifier of the KMS key used to encrypt the Performance Insights data. */ public String getPerformanceInsightsKmsKeyId() { return this.performanceInsightsKmsKeyId; } /** *

          * The identifier of the KMS key used to encrypt the Performance Insights data. *

          * * @param performanceInsightsKmsKeyId * The identifier of the KMS key used to encrypt the Performance Insights data. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withPerformanceInsightsKmsKeyId(String performanceInsightsKmsKeyId) { setPerformanceInsightsKmsKeyId(performanceInsightsKmsKeyId); return this; } /** *

          * The number of days to retain Performance Insights data. *

          * * @param performanceInsightsRetentionPeriod * The number of days to retain Performance Insights data. */ public void setPerformanceInsightsRetentionPeriod(Integer performanceInsightsRetentionPeriod) { this.performanceInsightsRetentionPeriod = performanceInsightsRetentionPeriod; } /** *

          * The number of days to retain Performance Insights data. *

          * * @return The number of days to retain Performance Insights data. */ public Integer getPerformanceInsightsRetentionPeriod() { return this.performanceInsightsRetentionPeriod; } /** *

          * The number of days to retain Performance Insights data. *

          * * @param performanceInsightsRetentionPeriod * The number of days to retain Performance Insights data. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withPerformanceInsightsRetentionPeriod(Integer performanceInsightsRetentionPeriod) { setPerformanceInsightsRetentionPeriod(performanceInsightsRetentionPeriod); return this; } /** *

          * A list of log types that this DB instance is configured to export to CloudWatch Logs. *

          * * @return A list of log types that this DB instance is configured to export to CloudWatch Logs. */ public java.util.List getEnabledCloudWatchLogsExports() { return enabledCloudWatchLogsExports; } /** *

          * A list of log types that this DB instance is configured to export to CloudWatch Logs. *

          * * @param enabledCloudWatchLogsExports * A list of log types that this DB instance is configured to export to CloudWatch Logs. */ public void setEnabledCloudWatchLogsExports(java.util.Collection enabledCloudWatchLogsExports) { if (enabledCloudWatchLogsExports == null) { this.enabledCloudWatchLogsExports = null; return; } this.enabledCloudWatchLogsExports = new java.util.ArrayList(enabledCloudWatchLogsExports); } /** *

          * A list of log types that this DB instance is configured to export to CloudWatch Logs. *

          *

          * NOTE: This method appends the values to the existing list (if any). Use * {@link #setEnabledCloudWatchLogsExports(java.util.Collection)} or * {@link #withEnabledCloudWatchLogsExports(java.util.Collection)} if you want to override the existing values. *

          * * @param enabledCloudWatchLogsExports * A list of log types that this DB instance is configured to export to CloudWatch Logs. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withEnabledCloudWatchLogsExports(String... enabledCloudWatchLogsExports) { if (this.enabledCloudWatchLogsExports == null) { setEnabledCloudWatchLogsExports(new java.util.ArrayList(enabledCloudWatchLogsExports.length)); } for (String ele : enabledCloudWatchLogsExports) { this.enabledCloudWatchLogsExports.add(ele); } return this; } /** *

          * A list of log types that this DB instance is configured to export to CloudWatch Logs. *

          * * @param enabledCloudWatchLogsExports * A list of log types that this DB instance is configured to export to CloudWatch Logs. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withEnabledCloudWatchLogsExports(java.util.Collection enabledCloudWatchLogsExports) { setEnabledCloudWatchLogsExports(enabledCloudWatchLogsExports); return this; } /** *

          * The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. *

          * * @return The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. */ public java.util.List getProcessorFeatures() { return processorFeatures; } /** *

          * The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. *

          * * @param processorFeatures * The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. */ public void setProcessorFeatures(java.util.Collection processorFeatures) { if (processorFeatures == null) { this.processorFeatures = null; return; } this.processorFeatures = new java.util.ArrayList(processorFeatures); } /** *

          * The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. *

          *

          * NOTE: This method appends the values to the existing list (if any). Use * {@link #setProcessorFeatures(java.util.Collection)} or {@link #withProcessorFeatures(java.util.Collection)} if * you want to override the existing values. *

          * * @param processorFeatures * The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withProcessorFeatures(AwsRdsDbProcessorFeature... processorFeatures) { if (this.processorFeatures == null) { setProcessorFeatures(new java.util.ArrayList(processorFeatures.length)); } for (AwsRdsDbProcessorFeature ele : processorFeatures) { this.processorFeatures.add(ele); } return this; } /** *

          * The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. *

          * * @param processorFeatures * The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withProcessorFeatures(java.util.Collection processorFeatures) { setProcessorFeatures(processorFeatures); return this; } /** * @param listenerEndpoint */ public void setListenerEndpoint(AwsRdsDbInstanceEndpoint listenerEndpoint) { this.listenerEndpoint = listenerEndpoint; } /** * @return */ public AwsRdsDbInstanceEndpoint getListenerEndpoint() { return this.listenerEndpoint; } /** * @param listenerEndpoint * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withListenerEndpoint(AwsRdsDbInstanceEndpoint listenerEndpoint) { setListenerEndpoint(listenerEndpoint); return this; } /** *

          * The upper limit to which Amazon RDS can automatically scale the storage of the DB instance. *

          * * @param maxAllocatedStorage * The upper limit to which Amazon RDS can automatically scale the storage of the DB instance. */ public void setMaxAllocatedStorage(Integer maxAllocatedStorage) { this.maxAllocatedStorage = maxAllocatedStorage; } /** *

          * The upper limit to which Amazon RDS can automatically scale the storage of the DB instance. *

          * * @return The upper limit to which Amazon RDS can automatically scale the storage of the DB instance. */ public Integer getMaxAllocatedStorage() { return this.maxAllocatedStorage; } /** *

          * The upper limit to which Amazon RDS can automatically scale the storage of the DB instance. *

          * * @param maxAllocatedStorage * The upper limit to which Amazon RDS can automatically scale the storage of the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsRdsDbInstanceDetails withMaxAllocatedStorage(Integer maxAllocatedStorage) { setMaxAllocatedStorage(maxAllocatedStorage); return this; } /** * 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. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getAssociatedRoles() != null) sb.append("AssociatedRoles: ").append(getAssociatedRoles()).append(","); if (getCACertificateIdentifier() != null) sb.append("CACertificateIdentifier: ").append(getCACertificateIdentifier()).append(","); if (getDBClusterIdentifier() != null) sb.append("DBClusterIdentifier: ").append(getDBClusterIdentifier()).append(","); if (getDBInstanceIdentifier() != null) sb.append("DBInstanceIdentifier: ").append(getDBInstanceIdentifier()).append(","); if (getDBInstanceClass() != null) sb.append("DBInstanceClass: ").append(getDBInstanceClass()).append(","); if (getDbInstancePort() != null) sb.append("DbInstancePort: ").append(getDbInstancePort()).append(","); if (getDbiResourceId() != null) sb.append("DbiResourceId: ").append(getDbiResourceId()).append(","); if (getDBName() != null) sb.append("DBName: ").append(getDBName()).append(","); if (getDeletionProtection() != null) sb.append("DeletionProtection: ").append(getDeletionProtection()).append(","); if (getEndpoint() != null) sb.append("Endpoint: ").append(getEndpoint()).append(","); if (getEngine() != null) sb.append("Engine: ").append(getEngine()).append(","); if (getEngineVersion() != null) sb.append("EngineVersion: ").append(getEngineVersion()).append(","); if (getIAMDatabaseAuthenticationEnabled() != null) sb.append("IAMDatabaseAuthenticationEnabled: ").append(getIAMDatabaseAuthenticationEnabled()).append(","); if (getInstanceCreateTime() != null) sb.append("InstanceCreateTime: ").append(getInstanceCreateTime()).append(","); if (getKmsKeyId() != null) sb.append("KmsKeyId: ").append(getKmsKeyId()).append(","); if (getPubliclyAccessible() != null) sb.append("PubliclyAccessible: ").append(getPubliclyAccessible()).append(","); if (getStorageEncrypted() != null) sb.append("StorageEncrypted: ").append(getStorageEncrypted()).append(","); if (getTdeCredentialArn() != null) sb.append("TdeCredentialArn: ").append(getTdeCredentialArn()).append(","); if (getVpcSecurityGroups() != null) sb.append("VpcSecurityGroups: ").append(getVpcSecurityGroups()).append(","); if (getMultiAz() != null) sb.append("MultiAz: ").append(getMultiAz()).append(","); if (getEnhancedMonitoringResourceArn() != null) sb.append("EnhancedMonitoringResourceArn: ").append(getEnhancedMonitoringResourceArn()).append(","); if (getDbInstanceStatus() != null) sb.append("DbInstanceStatus: ").append(getDbInstanceStatus()).append(","); if (getMasterUsername() != null) sb.append("MasterUsername: ").append(getMasterUsername()).append(","); if (getAllocatedStorage() != null) sb.append("AllocatedStorage: ").append(getAllocatedStorage()).append(","); if (getPreferredBackupWindow() != null) sb.append("PreferredBackupWindow: ").append(getPreferredBackupWindow()).append(","); if (getBackupRetentionPeriod() != null) sb.append("BackupRetentionPeriod: ").append(getBackupRetentionPeriod()).append(","); if (getDbSecurityGroups() != null) sb.append("DbSecurityGroups: ").append(getDbSecurityGroups()).append(","); if (getDbParameterGroups() != null) sb.append("DbParameterGroups: ").append(getDbParameterGroups()).append(","); if (getAvailabilityZone() != null) sb.append("AvailabilityZone: ").append(getAvailabilityZone()).append(","); if (getDbSubnetGroup() != null) sb.append("DbSubnetGroup: ").append(getDbSubnetGroup()).append(","); if (getPreferredMaintenanceWindow() != null) sb.append("PreferredMaintenanceWindow: ").append(getPreferredMaintenanceWindow()).append(","); if (getPendingModifiedValues() != null) sb.append("PendingModifiedValues: ").append(getPendingModifiedValues()).append(","); if (getLatestRestorableTime() != null) sb.append("LatestRestorableTime: ").append(getLatestRestorableTime()).append(","); if (getAutoMinorVersionUpgrade() != null) sb.append("AutoMinorVersionUpgrade: ").append(getAutoMinorVersionUpgrade()).append(","); if (getReadReplicaSourceDBInstanceIdentifier() != null) sb.append("ReadReplicaSourceDBInstanceIdentifier: ").append(getReadReplicaSourceDBInstanceIdentifier()).append(","); if (getReadReplicaDBInstanceIdentifiers() != null) sb.append("ReadReplicaDBInstanceIdentifiers: ").append(getReadReplicaDBInstanceIdentifiers()).append(","); if (getReadReplicaDBClusterIdentifiers() != null) sb.append("ReadReplicaDBClusterIdentifiers: ").append(getReadReplicaDBClusterIdentifiers()).append(","); if (getLicenseModel() != null) sb.append("LicenseModel: ").append(getLicenseModel()).append(","); if (getIops() != null) sb.append("Iops: ").append(getIops()).append(","); if (getOptionGroupMemberships() != null) sb.append("OptionGroupMemberships: ").append(getOptionGroupMemberships()).append(","); if (getCharacterSetName() != null) sb.append("CharacterSetName: ").append(getCharacterSetName()).append(","); if (getSecondaryAvailabilityZone() != null) sb.append("SecondaryAvailabilityZone: ").append(getSecondaryAvailabilityZone()).append(","); if (getStatusInfos() != null) sb.append("StatusInfos: ").append(getStatusInfos()).append(","); if (getStorageType() != null) sb.append("StorageType: ").append(getStorageType()).append(","); if (getDomainMemberships() != null) sb.append("DomainMemberships: ").append(getDomainMemberships()).append(","); if (getCopyTagsToSnapshot() != null) sb.append("CopyTagsToSnapshot: ").append(getCopyTagsToSnapshot()).append(","); if (getMonitoringInterval() != null) sb.append("MonitoringInterval: ").append(getMonitoringInterval()).append(","); if (getMonitoringRoleArn() != null) sb.append("MonitoringRoleArn: ").append(getMonitoringRoleArn()).append(","); if (getPromotionTier() != null) sb.append("PromotionTier: ").append(getPromotionTier()).append(","); if (getTimezone() != null) sb.append("Timezone: ").append(getTimezone()).append(","); if (getPerformanceInsightsEnabled() != null) sb.append("PerformanceInsightsEnabled: ").append(getPerformanceInsightsEnabled()).append(","); if (getPerformanceInsightsKmsKeyId() != null) sb.append("PerformanceInsightsKmsKeyId: ").append(getPerformanceInsightsKmsKeyId()).append(","); if (getPerformanceInsightsRetentionPeriod() != null) sb.append("PerformanceInsightsRetentionPeriod: ").append(getPerformanceInsightsRetentionPeriod()).append(","); if (getEnabledCloudWatchLogsExports() != null) sb.append("EnabledCloudWatchLogsExports: ").append(getEnabledCloudWatchLogsExports()).append(","); if (getProcessorFeatures() != null) sb.append("ProcessorFeatures: ").append(getProcessorFeatures()).append(","); if (getListenerEndpoint() != null) sb.append("ListenerEndpoint: ").append(getListenerEndpoint()).append(","); if (getMaxAllocatedStorage() != null) sb.append("MaxAllocatedStorage: ").append(getMaxAllocatedStorage()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof AwsRdsDbInstanceDetails == false) return false; AwsRdsDbInstanceDetails other = (AwsRdsDbInstanceDetails) obj; if (other.getAssociatedRoles() == null ^ this.getAssociatedRoles() == null) return false; if (other.getAssociatedRoles() != null && other.getAssociatedRoles().equals(this.getAssociatedRoles()) == false) return false; if (other.getCACertificateIdentifier() == null ^ this.getCACertificateIdentifier() == null) return false; if (other.getCACertificateIdentifier() != null && other.getCACertificateIdentifier().equals(this.getCACertificateIdentifier()) == false) return false; if (other.getDBClusterIdentifier() == null ^ this.getDBClusterIdentifier() == null) return false; if (other.getDBClusterIdentifier() != null && other.getDBClusterIdentifier().equals(this.getDBClusterIdentifier()) == false) return false; if (other.getDBInstanceIdentifier() == null ^ this.getDBInstanceIdentifier() == null) return false; if (other.getDBInstanceIdentifier() != null && other.getDBInstanceIdentifier().equals(this.getDBInstanceIdentifier()) == false) return false; if (other.getDBInstanceClass() == null ^ this.getDBInstanceClass() == null) return false; if (other.getDBInstanceClass() != null && other.getDBInstanceClass().equals(this.getDBInstanceClass()) == false) return false; if (other.getDbInstancePort() == null ^ this.getDbInstancePort() == null) return false; if (other.getDbInstancePort() != null && other.getDbInstancePort().equals(this.getDbInstancePort()) == false) return false; if (other.getDbiResourceId() == null ^ this.getDbiResourceId() == null) return false; if (other.getDbiResourceId() != null && other.getDbiResourceId().equals(this.getDbiResourceId()) == false) return false; if (other.getDBName() == null ^ this.getDBName() == null) return false; if (other.getDBName() != null && other.getDBName().equals(this.getDBName()) == false) return false; if (other.getDeletionProtection() == null ^ this.getDeletionProtection() == null) return false; if (other.getDeletionProtection() != null && other.getDeletionProtection().equals(this.getDeletionProtection()) == false) return false; if (other.getEndpoint() == null ^ this.getEndpoint() == null) return false; if (other.getEndpoint() != null && other.getEndpoint().equals(this.getEndpoint()) == false) return false; if (other.getEngine() == null ^ this.getEngine() == null) return false; if (other.getEngine() != null && other.getEngine().equals(this.getEngine()) == false) return false; if (other.getEngineVersion() == null ^ this.getEngineVersion() == null) return false; if (other.getEngineVersion() != null && other.getEngineVersion().equals(this.getEngineVersion()) == false) return false; if (other.getIAMDatabaseAuthenticationEnabled() == null ^ this.getIAMDatabaseAuthenticationEnabled() == null) return false; if (other.getIAMDatabaseAuthenticationEnabled() != null && other.getIAMDatabaseAuthenticationEnabled().equals(this.getIAMDatabaseAuthenticationEnabled()) == false) return false; if (other.getInstanceCreateTime() == null ^ this.getInstanceCreateTime() == null) return false; if (other.getInstanceCreateTime() != null && other.getInstanceCreateTime().equals(this.getInstanceCreateTime()) == false) return false; if (other.getKmsKeyId() == null ^ this.getKmsKeyId() == null) return false; if (other.getKmsKeyId() != null && other.getKmsKeyId().equals(this.getKmsKeyId()) == false) return false; if (other.getPubliclyAccessible() == null ^ this.getPubliclyAccessible() == null) return false; if (other.getPubliclyAccessible() != null && other.getPubliclyAccessible().equals(this.getPubliclyAccessible()) == false) return false; if (other.getStorageEncrypted() == null ^ this.getStorageEncrypted() == null) return false; if (other.getStorageEncrypted() != null && other.getStorageEncrypted().equals(this.getStorageEncrypted()) == false) return false; if (other.getTdeCredentialArn() == null ^ this.getTdeCredentialArn() == null) return false; if (other.getTdeCredentialArn() != null && other.getTdeCredentialArn().equals(this.getTdeCredentialArn()) == false) return false; if (other.getVpcSecurityGroups() == null ^ this.getVpcSecurityGroups() == null) return false; if (other.getVpcSecurityGroups() != null && other.getVpcSecurityGroups().equals(this.getVpcSecurityGroups()) == false) return false; if (other.getMultiAz() == null ^ this.getMultiAz() == null) return false; if (other.getMultiAz() != null && other.getMultiAz().equals(this.getMultiAz()) == false) return false; if (other.getEnhancedMonitoringResourceArn() == null ^ this.getEnhancedMonitoringResourceArn() == null) return false; if (other.getEnhancedMonitoringResourceArn() != null && other.getEnhancedMonitoringResourceArn().equals(this.getEnhancedMonitoringResourceArn()) == false) return false; if (other.getDbInstanceStatus() == null ^ this.getDbInstanceStatus() == null) return false; if (other.getDbInstanceStatus() != null && other.getDbInstanceStatus().equals(this.getDbInstanceStatus()) == false) return false; if (other.getMasterUsername() == null ^ this.getMasterUsername() == null) return false; if (other.getMasterUsername() != null && other.getMasterUsername().equals(this.getMasterUsername()) == false) return false; if (other.getAllocatedStorage() == null ^ this.getAllocatedStorage() == null) return false; if (other.getAllocatedStorage() != null && other.getAllocatedStorage().equals(this.getAllocatedStorage()) == false) return false; if (other.getPreferredBackupWindow() == null ^ this.getPreferredBackupWindow() == null) return false; if (other.getPreferredBackupWindow() != null && other.getPreferredBackupWindow().equals(this.getPreferredBackupWindow()) == false) return false; if (other.getBackupRetentionPeriod() == null ^ this.getBackupRetentionPeriod() == null) return false; if (other.getBackupRetentionPeriod() != null && other.getBackupRetentionPeriod().equals(this.getBackupRetentionPeriod()) == false) return false; if (other.getDbSecurityGroups() == null ^ this.getDbSecurityGroups() == null) return false; if (other.getDbSecurityGroups() != null && other.getDbSecurityGroups().equals(this.getDbSecurityGroups()) == false) return false; if (other.getDbParameterGroups() == null ^ this.getDbParameterGroups() == null) return false; if (other.getDbParameterGroups() != null && other.getDbParameterGroups().equals(this.getDbParameterGroups()) == false) return false; if (other.getAvailabilityZone() == null ^ this.getAvailabilityZone() == null) return false; if (other.getAvailabilityZone() != null && other.getAvailabilityZone().equals(this.getAvailabilityZone()) == false) return false; if (other.getDbSubnetGroup() == null ^ this.getDbSubnetGroup() == null) return false; if (other.getDbSubnetGroup() != null && other.getDbSubnetGroup().equals(this.getDbSubnetGroup()) == false) return false; if (other.getPreferredMaintenanceWindow() == null ^ this.getPreferredMaintenanceWindow() == null) return false; if (other.getPreferredMaintenanceWindow() != null && other.getPreferredMaintenanceWindow().equals(this.getPreferredMaintenanceWindow()) == false) return false; if (other.getPendingModifiedValues() == null ^ this.getPendingModifiedValues() == null) return false; if (other.getPendingModifiedValues() != null && other.getPendingModifiedValues().equals(this.getPendingModifiedValues()) == false) return false; if (other.getLatestRestorableTime() == null ^ this.getLatestRestorableTime() == null) return false; if (other.getLatestRestorableTime() != null && other.getLatestRestorableTime().equals(this.getLatestRestorableTime()) == false) return false; if (other.getAutoMinorVersionUpgrade() == null ^ this.getAutoMinorVersionUpgrade() == null) return false; if (other.getAutoMinorVersionUpgrade() != null && other.getAutoMinorVersionUpgrade().equals(this.getAutoMinorVersionUpgrade()) == false) return false; if (other.getReadReplicaSourceDBInstanceIdentifier() == null ^ this.getReadReplicaSourceDBInstanceIdentifier() == null) return false; if (other.getReadReplicaSourceDBInstanceIdentifier() != null && other.getReadReplicaSourceDBInstanceIdentifier().equals(this.getReadReplicaSourceDBInstanceIdentifier()) == false) return false; if (other.getReadReplicaDBInstanceIdentifiers() == null ^ this.getReadReplicaDBInstanceIdentifiers() == null) return false; if (other.getReadReplicaDBInstanceIdentifiers() != null && other.getReadReplicaDBInstanceIdentifiers().equals(this.getReadReplicaDBInstanceIdentifiers()) == false) return false; if (other.getReadReplicaDBClusterIdentifiers() == null ^ this.getReadReplicaDBClusterIdentifiers() == null) return false; if (other.getReadReplicaDBClusterIdentifiers() != null && other.getReadReplicaDBClusterIdentifiers().equals(this.getReadReplicaDBClusterIdentifiers()) == false) return false; if (other.getLicenseModel() == null ^ this.getLicenseModel() == null) return false; if (other.getLicenseModel() != null && other.getLicenseModel().equals(this.getLicenseModel()) == false) return false; if (other.getIops() == null ^ this.getIops() == null) return false; if (other.getIops() != null && other.getIops().equals(this.getIops()) == false) return false; if (other.getOptionGroupMemberships() == null ^ this.getOptionGroupMemberships() == null) return false; if (other.getOptionGroupMemberships() != null && other.getOptionGroupMemberships().equals(this.getOptionGroupMemberships()) == false) return false; if (other.getCharacterSetName() == null ^ this.getCharacterSetName() == null) return false; if (other.getCharacterSetName() != null && other.getCharacterSetName().equals(this.getCharacterSetName()) == false) return false; if (other.getSecondaryAvailabilityZone() == null ^ this.getSecondaryAvailabilityZone() == null) return false; if (other.getSecondaryAvailabilityZone() != null && other.getSecondaryAvailabilityZone().equals(this.getSecondaryAvailabilityZone()) == false) return false; if (other.getStatusInfos() == null ^ this.getStatusInfos() == null) return false; if (other.getStatusInfos() != null && other.getStatusInfos().equals(this.getStatusInfos()) == false) return false; if (other.getStorageType() == null ^ this.getStorageType() == null) return false; if (other.getStorageType() != null && other.getStorageType().equals(this.getStorageType()) == false) return false; if (other.getDomainMemberships() == null ^ this.getDomainMemberships() == null) return false; if (other.getDomainMemberships() != null && other.getDomainMemberships().equals(this.getDomainMemberships()) == false) return false; if (other.getCopyTagsToSnapshot() == null ^ this.getCopyTagsToSnapshot() == null) return false; if (other.getCopyTagsToSnapshot() != null && other.getCopyTagsToSnapshot().equals(this.getCopyTagsToSnapshot()) == false) return false; if (other.getMonitoringInterval() == null ^ this.getMonitoringInterval() == null) return false; if (other.getMonitoringInterval() != null && other.getMonitoringInterval().equals(this.getMonitoringInterval()) == false) return false; if (other.getMonitoringRoleArn() == null ^ this.getMonitoringRoleArn() == null) return false; if (other.getMonitoringRoleArn() != null && other.getMonitoringRoleArn().equals(this.getMonitoringRoleArn()) == false) return false; if (other.getPromotionTier() == null ^ this.getPromotionTier() == null) return false; if (other.getPromotionTier() != null && other.getPromotionTier().equals(this.getPromotionTier()) == false) return false; if (other.getTimezone() == null ^ this.getTimezone() == null) return false; if (other.getTimezone() != null && other.getTimezone().equals(this.getTimezone()) == false) return false; if (other.getPerformanceInsightsEnabled() == null ^ this.getPerformanceInsightsEnabled() == null) return false; if (other.getPerformanceInsightsEnabled() != null && other.getPerformanceInsightsEnabled().equals(this.getPerformanceInsightsEnabled()) == false) return false; if (other.getPerformanceInsightsKmsKeyId() == null ^ this.getPerformanceInsightsKmsKeyId() == null) return false; if (other.getPerformanceInsightsKmsKeyId() != null && other.getPerformanceInsightsKmsKeyId().equals(this.getPerformanceInsightsKmsKeyId()) == false) return false; if (other.getPerformanceInsightsRetentionPeriod() == null ^ this.getPerformanceInsightsRetentionPeriod() == null) return false; if (other.getPerformanceInsightsRetentionPeriod() != null && other.getPerformanceInsightsRetentionPeriod().equals(this.getPerformanceInsightsRetentionPeriod()) == false) return false; if (other.getEnabledCloudWatchLogsExports() == null ^ this.getEnabledCloudWatchLogsExports() == null) return false; if (other.getEnabledCloudWatchLogsExports() != null && other.getEnabledCloudWatchLogsExports().equals(this.getEnabledCloudWatchLogsExports()) == false) return false; if (other.getProcessorFeatures() == null ^ this.getProcessorFeatures() == null) return false; if (other.getProcessorFeatures() != null && other.getProcessorFeatures().equals(this.getProcessorFeatures()) == false) return false; if (other.getListenerEndpoint() == null ^ this.getListenerEndpoint() == null) return false; if (other.getListenerEndpoint() != null && other.getListenerEndpoint().equals(this.getListenerEndpoint()) == false) return false; if (other.getMaxAllocatedStorage() == null ^ this.getMaxAllocatedStorage() == null) return false; if (other.getMaxAllocatedStorage() != null && other.getMaxAllocatedStorage().equals(this.getMaxAllocatedStorage()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAssociatedRoles() == null) ? 0 : getAssociatedRoles().hashCode()); hashCode = prime * hashCode + ((getCACertificateIdentifier() == null) ? 0 : getCACertificateIdentifier().hashCode()); hashCode = prime * hashCode + ((getDBClusterIdentifier() == null) ? 0 : getDBClusterIdentifier().hashCode()); hashCode = prime * hashCode + ((getDBInstanceIdentifier() == null) ? 0 : getDBInstanceIdentifier().hashCode()); hashCode = prime * hashCode + ((getDBInstanceClass() == null) ? 0 : getDBInstanceClass().hashCode()); hashCode = prime * hashCode + ((getDbInstancePort() == null) ? 0 : getDbInstancePort().hashCode()); hashCode = prime * hashCode + ((getDbiResourceId() == null) ? 0 : getDbiResourceId().hashCode()); hashCode = prime * hashCode + ((getDBName() == null) ? 0 : getDBName().hashCode()); hashCode = prime * hashCode + ((getDeletionProtection() == null) ? 0 : getDeletionProtection().hashCode()); hashCode = prime * hashCode + ((getEndpoint() == null) ? 0 : getEndpoint().hashCode()); hashCode = prime * hashCode + ((getEngine() == null) ? 0 : getEngine().hashCode()); hashCode = prime * hashCode + ((getEngineVersion() == null) ? 0 : getEngineVersion().hashCode()); hashCode = prime * hashCode + ((getIAMDatabaseAuthenticationEnabled() == null) ? 0 : getIAMDatabaseAuthenticationEnabled().hashCode()); hashCode = prime * hashCode + ((getInstanceCreateTime() == null) ? 0 : getInstanceCreateTime().hashCode()); hashCode = prime * hashCode + ((getKmsKeyId() == null) ? 0 : getKmsKeyId().hashCode()); hashCode = prime * hashCode + ((getPubliclyAccessible() == null) ? 0 : getPubliclyAccessible().hashCode()); hashCode = prime * hashCode + ((getStorageEncrypted() == null) ? 0 : getStorageEncrypted().hashCode()); hashCode = prime * hashCode + ((getTdeCredentialArn() == null) ? 0 : getTdeCredentialArn().hashCode()); hashCode = prime * hashCode + ((getVpcSecurityGroups() == null) ? 0 : getVpcSecurityGroups().hashCode()); hashCode = prime * hashCode + ((getMultiAz() == null) ? 0 : getMultiAz().hashCode()); hashCode = prime * hashCode + ((getEnhancedMonitoringResourceArn() == null) ? 0 : getEnhancedMonitoringResourceArn().hashCode()); hashCode = prime * hashCode + ((getDbInstanceStatus() == null) ? 0 : getDbInstanceStatus().hashCode()); hashCode = prime * hashCode + ((getMasterUsername() == null) ? 0 : getMasterUsername().hashCode()); hashCode = prime * hashCode + ((getAllocatedStorage() == null) ? 0 : getAllocatedStorage().hashCode()); hashCode = prime * hashCode + ((getPreferredBackupWindow() == null) ? 0 : getPreferredBackupWindow().hashCode()); hashCode = prime * hashCode + ((getBackupRetentionPeriod() == null) ? 0 : getBackupRetentionPeriod().hashCode()); hashCode = prime * hashCode + ((getDbSecurityGroups() == null) ? 0 : getDbSecurityGroups().hashCode()); hashCode = prime * hashCode + ((getDbParameterGroups() == null) ? 0 : getDbParameterGroups().hashCode()); hashCode = prime * hashCode + ((getAvailabilityZone() == null) ? 0 : getAvailabilityZone().hashCode()); hashCode = prime * hashCode + ((getDbSubnetGroup() == null) ? 0 : getDbSubnetGroup().hashCode()); hashCode = prime * hashCode + ((getPreferredMaintenanceWindow() == null) ? 0 : getPreferredMaintenanceWindow().hashCode()); hashCode = prime * hashCode + ((getPendingModifiedValues() == null) ? 0 : getPendingModifiedValues().hashCode()); hashCode = prime * hashCode + ((getLatestRestorableTime() == null) ? 0 : getLatestRestorableTime().hashCode()); hashCode = prime * hashCode + ((getAutoMinorVersionUpgrade() == null) ? 0 : getAutoMinorVersionUpgrade().hashCode()); hashCode = prime * hashCode + ((getReadReplicaSourceDBInstanceIdentifier() == null) ? 0 : getReadReplicaSourceDBInstanceIdentifier().hashCode()); hashCode = prime * hashCode + ((getReadReplicaDBInstanceIdentifiers() == null) ? 0 : getReadReplicaDBInstanceIdentifiers().hashCode()); hashCode = prime * hashCode + ((getReadReplicaDBClusterIdentifiers() == null) ? 0 : getReadReplicaDBClusterIdentifiers().hashCode()); hashCode = prime * hashCode + ((getLicenseModel() == null) ? 0 : getLicenseModel().hashCode()); hashCode = prime * hashCode + ((getIops() == null) ? 0 : getIops().hashCode()); hashCode = prime * hashCode + ((getOptionGroupMemberships() == null) ? 0 : getOptionGroupMemberships().hashCode()); hashCode = prime * hashCode + ((getCharacterSetName() == null) ? 0 : getCharacterSetName().hashCode()); hashCode = prime * hashCode + ((getSecondaryAvailabilityZone() == null) ? 0 : getSecondaryAvailabilityZone().hashCode()); hashCode = prime * hashCode + ((getStatusInfos() == null) ? 0 : getStatusInfos().hashCode()); hashCode = prime * hashCode + ((getStorageType() == null) ? 0 : getStorageType().hashCode()); hashCode = prime * hashCode + ((getDomainMemberships() == null) ? 0 : getDomainMemberships().hashCode()); hashCode = prime * hashCode + ((getCopyTagsToSnapshot() == null) ? 0 : getCopyTagsToSnapshot().hashCode()); hashCode = prime * hashCode + ((getMonitoringInterval() == null) ? 0 : getMonitoringInterval().hashCode()); hashCode = prime * hashCode + ((getMonitoringRoleArn() == null) ? 0 : getMonitoringRoleArn().hashCode()); hashCode = prime * hashCode + ((getPromotionTier() == null) ? 0 : getPromotionTier().hashCode()); hashCode = prime * hashCode + ((getTimezone() == null) ? 0 : getTimezone().hashCode()); hashCode = prime * hashCode + ((getPerformanceInsightsEnabled() == null) ? 0 : getPerformanceInsightsEnabled().hashCode()); hashCode = prime * hashCode + ((getPerformanceInsightsKmsKeyId() == null) ? 0 : getPerformanceInsightsKmsKeyId().hashCode()); hashCode = prime * hashCode + ((getPerformanceInsightsRetentionPeriod() == null) ? 0 : getPerformanceInsightsRetentionPeriod().hashCode()); hashCode = prime * hashCode + ((getEnabledCloudWatchLogsExports() == null) ? 0 : getEnabledCloudWatchLogsExports().hashCode()); hashCode = prime * hashCode + ((getProcessorFeatures() == null) ? 0 : getProcessorFeatures().hashCode()); hashCode = prime * hashCode + ((getListenerEndpoint() == null) ? 0 : getListenerEndpoint().hashCode()); hashCode = prime * hashCode + ((getMaxAllocatedStorage() == null) ? 0 : getMaxAllocatedStorage().hashCode()); return hashCode; } @Override public AwsRdsDbInstanceDetails clone() { try { return (AwsRdsDbInstanceDetails) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.securityhub.model.transform.AwsRdsDbInstanceDetailsMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy