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

com.amazonaws.services.rds.model.DBCluster Maven / Gradle / Ivy

/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.rds.model;

import java.io.Serializable;
import javax.annotation.Generated;

/**
 * 

* Contains the details of an Amazon Aurora DB cluster or Multi-AZ DB cluster. *

*

* For an Amazon Aurora DB cluster, this data type is used as a response element in the operations * CreateDBCluster, DeleteDBCluster, DescribeDBClusters, * FailoverDBCluster, ModifyDBCluster, PromoteReadReplicaDBCluster, * RestoreDBClusterFromS3, RestoreDBClusterFromSnapshot, * RestoreDBClusterToPointInTime, StartDBCluster, and StopDBCluster. *

*

* For a Multi-AZ DB cluster, this data type is used as a response element in the operations * CreateDBCluster, DeleteDBCluster, DescribeDBClusters, * FailoverDBCluster, ModifyDBCluster, RebootDBCluster, * RestoreDBClusterFromSnapshot, and RestoreDBClusterToPointInTime. *

*

* For more information on Amazon Aurora DB clusters, see What is Amazon * Aurora? in the Amazon Aurora User Guide. *

*

* For more information on Multi-AZ DB clusters, see Multi-AZ * deployments with two readable standby DB instances in the Amazon RDS User Guide. *

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

* For all database engines except Amazon Aurora, AllocatedStorage specifies the allocated storage size * in gibibytes (GiB). For Aurora, AllocatedStorage always returns 1, because Aurora DB cluster storage * size isn't fixed, but instead automatically adjusts as needed. *

*/ private Integer allocatedStorage; /** *

* The list of Availability Zones (AZs) where instances in the DB cluster can be created. *

*/ private com.amazonaws.internal.SdkInternalList availabilityZones; /** *

* The number of days for which automatic DB snapshots are retained. *

*/ private Integer backupRetentionPeriod; /** *

* If present, specifies the name of the character set that this cluster is associated with. *

*/ private String characterSetName; /** *

* The name of the initial database that was specified for the DB cluster when it was created, if one was provided. * This same name is returned for the life of the DB cluster. *

*/ private String databaseName; /** *

* The user-supplied identifier for the DB cluster. This identifier is the unique key that identifies a DB cluster. *

*/ private String dBClusterIdentifier; /** *

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

*/ private String dBClusterParameterGroup; /** *

* Information about the subnet group associated with the DB cluster, including the name, description, and subnets * in the subnet group. *

*/ private String dBSubnetGroup; /** *

* The current state of this DB cluster. *

*/ private String status; /** *

* The time when a stopped DB cluster is restarted automatically. *

*/ private java.util.Date automaticRestartTime; /** *

* The progress of the operation as a percentage. *

*/ private String percentProgress; /** *

* The earliest time to which a database can be restored with point-in-time restore. *

*/ private java.util.Date earliestRestorableTime; /** *

* The connection endpoint for the primary instance of the DB cluster. *

*/ private String endpoint; /** *

* The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the * Aurora Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, * Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. This functionality can * help balance your read workload across multiple Aurora Replicas in your DB cluster. *

*

* If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary instance, * your connection is dropped. To continue sending your read workload to other Aurora Replicas in the cluster, you * can then reconnect to the reader endpoint. *

*/ private String readerEndpoint; /** *

* The custom endpoints associated with the DB cluster. *

*/ private com.amazonaws.internal.SdkInternalList customEndpoints; /** *

* Indicates whether the DB cluster has instances in multiple Availability Zones. *

*/ private Boolean multiAZ; /** *

* The database engine used for this DB cluster. *

*/ private String engine; /** *

* The version of the database engine. *

*/ private String engineVersion; /** *

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

*/ private java.util.Date latestRestorableTime; /** *

* The port that the database engine is listening on. *

*/ private Integer port; /** *

* The master username for the DB cluster. *

*/ private String masterUsername; /** *

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

*/ private com.amazonaws.internal.SdkInternalList dBClusterOptionGroupMemberships; /** *

* The daily time range during which automated backups are created if automated backups are enabled, as determined * by the BackupRetentionPeriod. *

*/ private String preferredBackupWindow; /** *

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

*/ private String preferredMaintenanceWindow; /** *

* The identifier of the source DB cluster if this DB cluster is a read replica. *

*/ private String replicationSourceIdentifier; /** *

* Contains one or more identifiers of the read replicas associated with this DB cluster. *

*/ private com.amazonaws.internal.SdkInternalList readReplicaIdentifiers; /** *

* Reserved for future use. *

*/ private com.amazonaws.internal.SdkInternalList statusInfos; /** *

* The list of DB instances that make up the DB cluster. *

*/ private com.amazonaws.internal.SdkInternalList dBClusterMembers; /** *

* The list of VPC security groups that the DB cluster belongs to. *

*/ private com.amazonaws.internal.SdkInternalList vpcSecurityGroups; /** *

* The ID that Amazon Route 53 assigns when you create a hosted zone. *

*/ private String hostedZoneId; /** *

* Indicates whether the DB cluster is encrypted. *

*/ private Boolean storageEncrypted; /** *

* If StorageEncrypted is enabled, the Amazon Web Services KMS key identifier for the encrypted DB * cluster. *

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. *

*/ private String kmsKeyId; /** *

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

*/ private String dbClusterResourceId; /** *

* The Amazon Resource Name (ARN) for the DB cluster. *

*/ private String dBClusterArn; /** *

* A list of the Amazon Web Services Identity and Access Management (IAM) roles that are associated with the DB * cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other * Amazon Web Services on your behalf. *

*/ private com.amazonaws.internal.SdkInternalList associatedRoles; /** *

* Indicates whether the mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database * accounts is enabled. *

*/ private Boolean iAMDatabaseAuthenticationEnabled; /** *

* The ID of the clone group with which the DB cluster is associated. *

*/ private String cloneGroupId; /** *

* The time when the DB cluster was created, in Universal Coordinated Time (UTC). *

*/ private java.util.Date clusterCreateTime; /** *

* The earliest time to which a DB cluster can be backtracked. *

*/ private java.util.Date earliestBacktrackTime; /** *

* The target backtrack window, in seconds. If this value is set to 0, backtracking is disabled for the * DB cluster. Otherwise, backtracking is enabled. *

*/ private Long backtrackWindow; /** *

* The number of change records stored for Backtrack. *

*/ private Long backtrackConsumedChangeRecords; /** *

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

*

* Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS Database Log * Files in the Amazon Aurora User Guide. *

*/ private com.amazonaws.internal.SdkInternalList enabledCloudwatchLogsExports; /** *

* The current capacity of an Aurora Serverless v1 DB cluster. The capacity is 0 (zero) when the * cluster is paused. *

*

* For more information about Aurora Serverless v1, see Using Amazon Aurora * Serverless v1 in the Amazon Aurora User Guide. *

*/ private Integer capacity; /** *

* The DB engine mode of the DB cluster, either provisioned or serverless. *

*

* For more information, see CreateDBCluster. *

*/ private String engineMode; private ScalingConfigurationInfo scalingConfigurationInfo; /** *

* Reserved for future use. *

*/ private RdsCustomClusterConfiguration rdsCustomClusterConfiguration; /** *

* Indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion * protection is enabled. *

*/ private Boolean deletionProtection; /** *

* Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster. *

*

* When enabled, the HTTP endpoint provides a connectionless web service API (RDS Data API) for running SQL queries * on the DB cluster. You can also query your database from inside the RDS console with the RDS query editor. *

*

* For more information, see Using RDS Data API in the * Amazon Aurora User Guide. *

*/ private Boolean httpEndpointEnabled; /** *

* The mode of the database activity stream. Database events such as a change or access generate an activity stream * event. The database session can handle these events either synchronously or asynchronously. *

*/ private String activityStreamMode; /** *

* The status of the database activity stream. *

*/ private String activityStreamStatus; /** *

* The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream. *

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. *

*/ private String activityStreamKmsKeyId; /** *

* The name of the Amazon Kinesis data stream used for the database activity stream. *

*/ private String activityStreamKinesisStreamName; /** *

* Indicates whether tags are copied from the DB cluster to snapshots of the DB cluster. *

*/ private Boolean copyTagsToSnapshot; /** *

* Indicates whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account. *

*/ private Boolean crossAccountClone; /** *

* The Active Directory Domain membership records associated with the DB cluster. *

*/ private com.amazonaws.internal.SdkInternalList domainMemberships; private com.amazonaws.internal.SdkInternalList tagList; /** *

* The status of write forwarding for a secondary cluster in an Aurora global database. *

*/ private String globalWriteForwardingStatus; /** *

* Indicates whether write forwarding is enabled for a secondary cluster in an Aurora global database. Because write * forwarding takes time to enable, check the value of GlobalWriteForwardingStatus to confirm that the * request has completed before using the write forwarding feature for this cluster. *

*/ private Boolean globalWriteForwardingRequested; /** *

* Information about pending changes to the DB cluster. This information is returned only when there are pending * changes. Specific changes are identified by subelements. *

*/ private ClusterPendingModifiedValues pendingModifiedValues; /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*/ private String dBClusterInstanceClass; /** *

* The storage type associated with the DB cluster. *

*/ private String storageType; /** *

* The Provisioned IOPS (I/O operations per second) value. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*/ private Integer iops; /** *

* Indicates whether the DB cluster is publicly accessible. *

*

* When the DB cluster is publicly accessible and you connect from outside of the DB cluster's virtual private cloud * (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the * same VPC as the DB cluster, the endpoint resolves to the private IP address. Access to the DB cluster is * ultimately controlled by the security group it uses. That public access isn't permitted if the security group * assigned to the DB cluster doesn't permit it. *

*

* When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves to a * private IP address. *

*

* For more information, see CreateDBCluster. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*/ private Boolean publiclyAccessible; /** *

* Indicates whether minor version patches are applied automatically. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*/ private Boolean autoMinorVersionUpgrade; /** *

* The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*/ private Integer monitoringInterval; /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*/ private String monitoringRoleArn; /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*/ private Boolean performanceInsightsEnabled; /** *

* The Amazon Web Services KMS key identifier for encryption of Performance Insights data. *

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*/ private String performanceInsightsKMSKeyId; /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*

* Valid Values: *

*
    *
  • *

    * 7 *

    *
  • *
  • *

    * month * 31, where month is a number of months from 1-23. Examples: 93 (3 months * 31), * 341 (11 months * 31), 589 (19 months * 31) *

    *
  • *
  • *

    * 731 *

    *
  • *
*

* Default: 7 days *

*/ private Integer performanceInsightsRetentionPeriod; private ServerlessV2ScalingConfigurationInfo serverlessV2ScalingConfiguration; /** *

* The network type of the DB instance. *

*

* The network type is determined by the DBSubnetGroup specified for the DB cluster. A * DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols ( * DUAL). *

*

* For more information, see * Working with a DB instance in a VPC in the Amazon Aurora User Guide. *

*

* This setting is only for Aurora DB clusters. *

*

* Valid Values: IPV4 | DUAL *

*/ private String networkType; /** *

* Reserved for future use. *

*/ private String dBSystemId; /** *

* The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password. *

*

* For more information, see Password management with * Amazon Web Services Secrets Manager in the Amazon RDS User Guide and Password management * with Amazon Web Services Secrets Manager in the Amazon Aurora User Guide. *

*/ private MasterUserSecret masterUserSecret; /** *

* The next time you can modify the DB cluster to use the aurora-iopt1 storage type. *

*

* This setting is only for Aurora DB clusters. *

*/ private java.util.Date iOOptimizedNextAllowedModificationTime; /** *

* Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or is in * the process of enabling it. *

*/ private String localWriteForwardingStatus; /** *

* The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup. *

*/ private String awsBackupRecoveryPointArn; /** *

* The details for Aurora Limitless Database. *

*/ private LimitlessDatabase limitlessDatabase; /** *

* The storage throughput for the DB cluster. The throughput is automatically set based on the IOPS that you * provision, and is not configurable. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*/ private Integer storageThroughput; private CertificateDetails certificateDetails; /** *

* The life cycle type for the DB cluster. *

*

* For more information, see CreateDBCluster. *

*/ private String engineLifecycleSupport; /** *

* For all database engines except Amazon Aurora, AllocatedStorage specifies the allocated storage size * in gibibytes (GiB). For Aurora, AllocatedStorage always returns 1, because Aurora DB cluster storage * size isn't fixed, but instead automatically adjusts as needed. *

* * @param allocatedStorage * For all database engines except Amazon Aurora, AllocatedStorage specifies the allocated * storage size in gibibytes (GiB). For Aurora, AllocatedStorage always returns 1, because * Aurora DB cluster storage size isn't fixed, but instead automatically adjusts as needed. */ public void setAllocatedStorage(Integer allocatedStorage) { this.allocatedStorage = allocatedStorage; } /** *

* For all database engines except Amazon Aurora, AllocatedStorage specifies the allocated storage size * in gibibytes (GiB). For Aurora, AllocatedStorage always returns 1, because Aurora DB cluster storage * size isn't fixed, but instead automatically adjusts as needed. *

* * @return For all database engines except Amazon Aurora, AllocatedStorage specifies the allocated * storage size in gibibytes (GiB). For Aurora, AllocatedStorage always returns 1, because * Aurora DB cluster storage size isn't fixed, but instead automatically adjusts as needed. */ public Integer getAllocatedStorage() { return this.allocatedStorage; } /** *

* For all database engines except Amazon Aurora, AllocatedStorage specifies the allocated storage size * in gibibytes (GiB). For Aurora, AllocatedStorage always returns 1, because Aurora DB cluster storage * size isn't fixed, but instead automatically adjusts as needed. *

* * @param allocatedStorage * For all database engines except Amazon Aurora, AllocatedStorage specifies the allocated * storage size in gibibytes (GiB). For Aurora, AllocatedStorage always returns 1, because * Aurora DB cluster storage size isn't fixed, but instead automatically adjusts as needed. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withAllocatedStorage(Integer allocatedStorage) { setAllocatedStorage(allocatedStorage); return this; } /** *

* The list of Availability Zones (AZs) where instances in the DB cluster can be created. *

* * @return The list of Availability Zones (AZs) where instances in the DB cluster can be created. */ public java.util.List getAvailabilityZones() { if (availabilityZones == null) { availabilityZones = new com.amazonaws.internal.SdkInternalList(); } return availabilityZones; } /** *

* The list of Availability Zones (AZs) where instances in the DB cluster can be created. *

* * @param availabilityZones * The list of Availability Zones (AZs) where instances in the DB cluster can be created. */ public void setAvailabilityZones(java.util.Collection availabilityZones) { if (availabilityZones == null) { this.availabilityZones = null; return; } this.availabilityZones = new com.amazonaws.internal.SdkInternalList(availabilityZones); } /** *

* The list of Availability Zones (AZs) where instances in the DB cluster can be created. *

*

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

* * @param availabilityZones * The list of Availability Zones (AZs) where instances in the DB cluster can be created. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withAvailabilityZones(String... availabilityZones) { if (this.availabilityZones == null) { setAvailabilityZones(new com.amazonaws.internal.SdkInternalList(availabilityZones.length)); } for (String ele : availabilityZones) { this.availabilityZones.add(ele); } return this; } /** *

* The list of Availability Zones (AZs) where instances in the DB cluster can be created. *

* * @param availabilityZones * The list of Availability Zones (AZs) where instances in the DB cluster can be created. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withAvailabilityZones(java.util.Collection availabilityZones) { setAvailabilityZones(availabilityZones); return this; } /** *

* The number of days for which automatic DB snapshots are retained. *

* * @param backupRetentionPeriod * The number of days for which automatic DB snapshots are retained. */ public void setBackupRetentionPeriod(Integer backupRetentionPeriod) { this.backupRetentionPeriod = backupRetentionPeriod; } /** *

* The number of days for which automatic DB snapshots are retained. *

* * @return The number of days for which automatic DB snapshots are retained. */ public Integer getBackupRetentionPeriod() { return this.backupRetentionPeriod; } /** *

* The number of days for which automatic DB snapshots are retained. *

* * @param backupRetentionPeriod * The number of days for which automatic DB snapshots are retained. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withBackupRetentionPeriod(Integer backupRetentionPeriod) { setBackupRetentionPeriod(backupRetentionPeriod); return this; } /** *

* If present, specifies the name of the character set that this cluster is associated with. *

* * @param characterSetName * If present, specifies the name of the character set that this cluster is associated with. */ public void setCharacterSetName(String characterSetName) { this.characterSetName = characterSetName; } /** *

* If present, specifies the name of the character set that this cluster is associated with. *

* * @return If present, specifies the name of the character set that this cluster is associated with. */ public String getCharacterSetName() { return this.characterSetName; } /** *

* If present, specifies the name of the character set that this cluster is associated with. *

* * @param characterSetName * If present, specifies the name of the character set that this cluster is associated with. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withCharacterSetName(String characterSetName) { setCharacterSetName(characterSetName); return this; } /** *

* The name of the initial database that was specified for the DB cluster when it was created, if one was provided. * This same name is returned for the life of the DB cluster. *

* * @param databaseName * The name of the initial database that was specified for the DB cluster when it was created, if one was * provided. This same name is returned for the life of the DB cluster. */ public void setDatabaseName(String databaseName) { this.databaseName = databaseName; } /** *

* The name of the initial database that was specified for the DB cluster when it was created, if one was provided. * This same name is returned for the life of the DB cluster. *

* * @return The name of the initial database that was specified for the DB cluster when it was created, if one was * provided. This same name is returned for the life of the DB cluster. */ public String getDatabaseName() { return this.databaseName; } /** *

* The name of the initial database that was specified for the DB cluster when it was created, if one was provided. * This same name is returned for the life of the DB cluster. *

* * @param databaseName * The name of the initial database that was specified for the DB cluster when it was created, if one was * provided. This same name is returned for the life of the DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withDatabaseName(String databaseName) { setDatabaseName(databaseName); return this; } /** *

* The user-supplied identifier for the DB cluster. This identifier is the unique key that identifies a DB cluster. *

* * @param dBClusterIdentifier * The user-supplied identifier for the DB cluster. This identifier is the unique key that identifies a DB * cluster. */ public void setDBClusterIdentifier(String dBClusterIdentifier) { this.dBClusterIdentifier = dBClusterIdentifier; } /** *

* The user-supplied identifier for the DB cluster. This identifier is the unique key that identifies a DB cluster. *

* * @return The user-supplied identifier for the DB cluster. This identifier is the unique key that identifies a DB * cluster. */ public String getDBClusterIdentifier() { return this.dBClusterIdentifier; } /** *

* The user-supplied identifier for the DB cluster. This identifier is the unique key that identifies a DB cluster. *

* * @param dBClusterIdentifier * The user-supplied identifier for the DB cluster. This identifier is the unique key that identifies a DB * cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withDBClusterIdentifier(String dBClusterIdentifier) { setDBClusterIdentifier(dBClusterIdentifier); return this; } /** *

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

* * @param dBClusterParameterGroup * The name of the DB cluster parameter group for the DB cluster. */ public void setDBClusterParameterGroup(String dBClusterParameterGroup) { this.dBClusterParameterGroup = dBClusterParameterGroup; } /** *

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

* * @return The name of the DB cluster parameter group for the DB cluster. */ public String getDBClusterParameterGroup() { return this.dBClusterParameterGroup; } /** *

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

* * @param dBClusterParameterGroup * The name of the DB cluster parameter group for the DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withDBClusterParameterGroup(String dBClusterParameterGroup) { setDBClusterParameterGroup(dBClusterParameterGroup); return this; } /** *

* Information about the subnet group associated with the DB cluster, including the name, description, and subnets * in the subnet group. *

* * @param dBSubnetGroup * Information about the subnet group associated with the DB cluster, including the name, description, and * subnets in the subnet group. */ public void setDBSubnetGroup(String dBSubnetGroup) { this.dBSubnetGroup = dBSubnetGroup; } /** *

* Information about the subnet group associated with the DB cluster, including the name, description, and subnets * in the subnet group. *

* * @return Information about the subnet group associated with the DB cluster, including the name, description, and * subnets in the subnet group. */ public String getDBSubnetGroup() { return this.dBSubnetGroup; } /** *

* Information about the subnet group associated with the DB cluster, including the name, description, and subnets * in the subnet group. *

* * @param dBSubnetGroup * Information about the subnet group associated with the DB cluster, including the name, description, and * subnets in the subnet group. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withDBSubnetGroup(String dBSubnetGroup) { setDBSubnetGroup(dBSubnetGroup); return this; } /** *

* The current state of this DB cluster. *

* * @param status * The current state of this DB cluster. */ public void setStatus(String status) { this.status = status; } /** *

* The current state of this DB cluster. *

* * @return The current state of this DB cluster. */ public String getStatus() { return this.status; } /** *

* The current state of this DB cluster. *

* * @param status * The current state of this DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withStatus(String status) { setStatus(status); return this; } /** *

* The time when a stopped DB cluster is restarted automatically. *

* * @param automaticRestartTime * The time when a stopped DB cluster is restarted automatically. */ public void setAutomaticRestartTime(java.util.Date automaticRestartTime) { this.automaticRestartTime = automaticRestartTime; } /** *

* The time when a stopped DB cluster is restarted automatically. *

* * @return The time when a stopped DB cluster is restarted automatically. */ public java.util.Date getAutomaticRestartTime() { return this.automaticRestartTime; } /** *

* The time when a stopped DB cluster is restarted automatically. *

* * @param automaticRestartTime * The time when a stopped DB cluster is restarted automatically. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withAutomaticRestartTime(java.util.Date automaticRestartTime) { setAutomaticRestartTime(automaticRestartTime); return this; } /** *

* The progress of the operation as a percentage. *

* * @param percentProgress * The progress of the operation as a percentage. */ public void setPercentProgress(String percentProgress) { this.percentProgress = percentProgress; } /** *

* The progress of the operation as a percentage. *

* * @return The progress of the operation as a percentage. */ public String getPercentProgress() { return this.percentProgress; } /** *

* The progress of the operation as a percentage. *

* * @param percentProgress * The progress of the operation as a percentage. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withPercentProgress(String percentProgress) { setPercentProgress(percentProgress); return this; } /** *

* The earliest time to which a database can be restored with point-in-time restore. *

* * @param earliestRestorableTime * The earliest time to which a database can be restored with point-in-time restore. */ public void setEarliestRestorableTime(java.util.Date earliestRestorableTime) { this.earliestRestorableTime = earliestRestorableTime; } /** *

* The earliest time to which a database can be restored with point-in-time restore. *

* * @return The earliest time to which a database can be restored with point-in-time restore. */ public java.util.Date getEarliestRestorableTime() { return this.earliestRestorableTime; } /** *

* The earliest time to which a database can be restored with point-in-time restore. *

* * @param earliestRestorableTime * The earliest time to which a database can be restored with point-in-time restore. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withEarliestRestorableTime(java.util.Date earliestRestorableTime) { setEarliestRestorableTime(earliestRestorableTime); return this; } /** *

* The connection endpoint for the primary instance of the DB cluster. *

* * @param endpoint * The connection endpoint for the primary instance of the DB cluster. */ public void setEndpoint(String endpoint) { this.endpoint = endpoint; } /** *

* The connection endpoint for the primary instance of the DB cluster. *

* * @return The connection endpoint for the primary instance of the DB cluster. */ public String getEndpoint() { return this.endpoint; } /** *

* The connection endpoint for the primary instance of the DB cluster. *

* * @param endpoint * The connection endpoint for the primary instance of the DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withEndpoint(String endpoint) { setEndpoint(endpoint); return this; } /** *

* The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the * Aurora Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, * Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. This functionality can * help balance your read workload across multiple Aurora Replicas in your DB cluster. *

*

* If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary instance, * your connection is dropped. To continue sending your read workload to other Aurora Replicas in the cluster, you * can then reconnect to the reader endpoint. *

* * @param readerEndpoint * The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections * across the Aurora Replicas that are available in a DB cluster. As clients request new connections to the * reader endpoint, Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. * This functionality can help balance your read workload across multiple Aurora Replicas in your DB * cluster.

*

* If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary * instance, your connection is dropped. To continue sending your read workload to other Aurora Replicas in * the cluster, you can then reconnect to the reader endpoint. */ public void setReaderEndpoint(String readerEndpoint) { this.readerEndpoint = readerEndpoint; } /** *

* The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the * Aurora Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, * Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. This functionality can * help balance your read workload across multiple Aurora Replicas in your DB cluster. *

*

* If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary instance, * your connection is dropped. To continue sending your read workload to other Aurora Replicas in the cluster, you * can then reconnect to the reader endpoint. *

* * @return The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections * across the Aurora Replicas that are available in a DB cluster. As clients request new connections to the * reader endpoint, Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. * This functionality can help balance your read workload across multiple Aurora Replicas in your DB * cluster.

*

* If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary * instance, your connection is dropped. To continue sending your read workload to other Aurora Replicas in * the cluster, you can then reconnect to the reader endpoint. */ public String getReaderEndpoint() { return this.readerEndpoint; } /** *

* The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections across the * Aurora Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, * Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. This functionality can * help balance your read workload across multiple Aurora Replicas in your DB cluster. *

*

* If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary instance, * your connection is dropped. To continue sending your read workload to other Aurora Replicas in the cluster, you * can then reconnect to the reader endpoint. *

* * @param readerEndpoint * The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load-balances connections * across the Aurora Replicas that are available in a DB cluster. As clients request new connections to the * reader endpoint, Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. * This functionality can help balance your read workload across multiple Aurora Replicas in your DB * cluster.

*

* If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary * instance, your connection is dropped. To continue sending your read workload to other Aurora Replicas in * the cluster, you can then reconnect to the reader endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withReaderEndpoint(String readerEndpoint) { setReaderEndpoint(readerEndpoint); return this; } /** *

* The custom endpoints associated with the DB cluster. *

* * @return The custom endpoints associated with the DB cluster. */ public java.util.List getCustomEndpoints() { if (customEndpoints == null) { customEndpoints = new com.amazonaws.internal.SdkInternalList(); } return customEndpoints; } /** *

* The custom endpoints associated with the DB cluster. *

* * @param customEndpoints * The custom endpoints associated with the DB cluster. */ public void setCustomEndpoints(java.util.Collection customEndpoints) { if (customEndpoints == null) { this.customEndpoints = null; return; } this.customEndpoints = new com.amazonaws.internal.SdkInternalList(customEndpoints); } /** *

* The custom endpoints associated with the DB cluster. *

*

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

* * @param customEndpoints * The custom endpoints associated with the DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withCustomEndpoints(String... customEndpoints) { if (this.customEndpoints == null) { setCustomEndpoints(new com.amazonaws.internal.SdkInternalList(customEndpoints.length)); } for (String ele : customEndpoints) { this.customEndpoints.add(ele); } return this; } /** *

* The custom endpoints associated with the DB cluster. *

* * @param customEndpoints * The custom endpoints associated with the DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withCustomEndpoints(java.util.Collection customEndpoints) { setCustomEndpoints(customEndpoints); return this; } /** *

* Indicates whether the DB cluster has instances in multiple Availability Zones. *

* * @param multiAZ * Indicates whether the DB cluster has instances in multiple Availability Zones. */ public void setMultiAZ(Boolean multiAZ) { this.multiAZ = multiAZ; } /** *

* Indicates whether the DB cluster has instances in multiple Availability Zones. *

* * @return Indicates whether the DB cluster has instances in multiple Availability Zones. */ public Boolean getMultiAZ() { return this.multiAZ; } /** *

* Indicates whether the DB cluster has instances in multiple Availability Zones. *

* * @param multiAZ * Indicates whether the DB cluster has instances in multiple Availability Zones. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withMultiAZ(Boolean multiAZ) { setMultiAZ(multiAZ); return this; } /** *

* Indicates whether the DB cluster has instances in multiple Availability Zones. *

* * @return Indicates whether the DB cluster has instances in multiple Availability Zones. */ public Boolean isMultiAZ() { return this.multiAZ; } /** *

* The database engine used for this DB cluster. *

* * @param engine * The database engine used for this DB cluster. */ public void setEngine(String engine) { this.engine = engine; } /** *

* The database engine used for this DB cluster. *

* * @return The database engine used for this DB cluster. */ public String getEngine() { return this.engine; } /** *

* The database engine used for this DB cluster. *

* * @param engine * The database engine used for this DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withEngine(String engine) { setEngine(engine); return this; } /** *

* The version of the database engine. *

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

* The version of the database engine. *

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

* The version of the database engine. *

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

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

* * @param latestRestorableTime * The latest time to which a database can be restored with point-in-time restore. */ public void setLatestRestorableTime(java.util.Date latestRestorableTime) { this.latestRestorableTime = latestRestorableTime; } /** *

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

* * @return The latest time to which a database can be restored with point-in-time restore. */ public java.util.Date getLatestRestorableTime() { return this.latestRestorableTime; } /** *

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

* * @param latestRestorableTime * The latest time to which a database can be restored with point-in-time restore. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withLatestRestorableTime(java.util.Date latestRestorableTime) { setLatestRestorableTime(latestRestorableTime); return this; } /** *

* The port that the database engine is listening on. *

* * @param port * The port that the database engine is listening on. */ public void setPort(Integer port) { this.port = port; } /** *

* The port that the database engine is listening on. *

* * @return The port that the database engine is listening on. */ public Integer getPort() { return this.port; } /** *

* The port that the database engine is listening on. *

* * @param port * The port that the database engine is listening on. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withPort(Integer port) { setPort(port); return this; } /** *

* The master username for the DB cluster. *

* * @param masterUsername * The master username for the DB cluster. */ public void setMasterUsername(String masterUsername) { this.masterUsername = masterUsername; } /** *

* The master username for the DB cluster. *

* * @return The master username for the DB cluster. */ public String getMasterUsername() { return this.masterUsername; } /** *

* The master username for the DB cluster. *

* * @param masterUsername * The master username for the DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withMasterUsername(String masterUsername) { setMasterUsername(masterUsername); return this; } /** *

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

* * @return The list of option group memberships for this DB cluster. */ public java.util.List getDBClusterOptionGroupMemberships() { if (dBClusterOptionGroupMemberships == null) { dBClusterOptionGroupMemberships = new com.amazonaws.internal.SdkInternalList(); } return dBClusterOptionGroupMemberships; } /** *

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

* * @param dBClusterOptionGroupMemberships * The list of option group memberships for this DB cluster. */ public void setDBClusterOptionGroupMemberships(java.util.Collection dBClusterOptionGroupMemberships) { if (dBClusterOptionGroupMemberships == null) { this.dBClusterOptionGroupMemberships = null; return; } this.dBClusterOptionGroupMemberships = new com.amazonaws.internal.SdkInternalList(dBClusterOptionGroupMemberships); } /** *

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

*

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

* * @param dBClusterOptionGroupMemberships * The list of option group memberships for this DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withDBClusterOptionGroupMemberships(DBClusterOptionGroupStatus... dBClusterOptionGroupMemberships) { if (this.dBClusterOptionGroupMemberships == null) { setDBClusterOptionGroupMemberships(new com.amazonaws.internal.SdkInternalList(dBClusterOptionGroupMemberships.length)); } for (DBClusterOptionGroupStatus ele : dBClusterOptionGroupMemberships) { this.dBClusterOptionGroupMemberships.add(ele); } return this; } /** *

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

* * @param dBClusterOptionGroupMemberships * The list of option group memberships for this DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withDBClusterOptionGroupMemberships(java.util.Collection dBClusterOptionGroupMemberships) { setDBClusterOptionGroupMemberships(dBClusterOptionGroupMemberships); return this; } /** *

* The daily time range during which automated backups are created if automated backups are enabled, as determined * by the BackupRetentionPeriod. *

* * @param preferredBackupWindow * The daily time range during which automated backups are created if automated backups are enabled, as * determined by the BackupRetentionPeriod. */ public void setPreferredBackupWindow(String preferredBackupWindow) { this.preferredBackupWindow = preferredBackupWindow; } /** *

* The daily time range during which automated backups are created if automated backups are enabled, as determined * by the BackupRetentionPeriod. *

* * @return The daily time range during which automated backups are created if automated backups are enabled, as * determined by the BackupRetentionPeriod. */ public String getPreferredBackupWindow() { return this.preferredBackupWindow; } /** *

* The daily time range during which automated backups are created if automated backups are enabled, as determined * by the BackupRetentionPeriod. *

* * @param preferredBackupWindow * The daily time range during which automated backups are created if automated backups are enabled, as * determined by the BackupRetentionPeriod. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withPreferredBackupWindow(String preferredBackupWindow) { setPreferredBackupWindow(preferredBackupWindow); return this; } /** *

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

* * @param preferredMaintenanceWindow * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). */ public void setPreferredMaintenanceWindow(String preferredMaintenanceWindow) { this.preferredMaintenanceWindow = preferredMaintenanceWindow; } /** *

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

* * @return The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). */ public String getPreferredMaintenanceWindow() { return this.preferredMaintenanceWindow; } /** *

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

* * @param preferredMaintenanceWindow * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withPreferredMaintenanceWindow(String preferredMaintenanceWindow) { setPreferredMaintenanceWindow(preferredMaintenanceWindow); return this; } /** *

* The identifier of the source DB cluster if this DB cluster is a read replica. *

* * @param replicationSourceIdentifier * The identifier of the source DB cluster if this DB cluster is a read replica. */ public void setReplicationSourceIdentifier(String replicationSourceIdentifier) { this.replicationSourceIdentifier = replicationSourceIdentifier; } /** *

* The identifier of the source DB cluster if this DB cluster is a read replica. *

* * @return The identifier of the source DB cluster if this DB cluster is a read replica. */ public String getReplicationSourceIdentifier() { return this.replicationSourceIdentifier; } /** *

* The identifier of the source DB cluster if this DB cluster is a read replica. *

* * @param replicationSourceIdentifier * The identifier of the source DB cluster if this DB cluster is a read replica. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withReplicationSourceIdentifier(String replicationSourceIdentifier) { setReplicationSourceIdentifier(replicationSourceIdentifier); return this; } /** *

* Contains one or more identifiers of the read replicas associated with this DB cluster. *

* * @return Contains one or more identifiers of the read replicas associated with this DB cluster. */ public java.util.List getReadReplicaIdentifiers() { if (readReplicaIdentifiers == null) { readReplicaIdentifiers = new com.amazonaws.internal.SdkInternalList(); } return readReplicaIdentifiers; } /** *

* Contains one or more identifiers of the read replicas associated with this DB cluster. *

* * @param readReplicaIdentifiers * Contains one or more identifiers of the read replicas associated with this DB cluster. */ public void setReadReplicaIdentifiers(java.util.Collection readReplicaIdentifiers) { if (readReplicaIdentifiers == null) { this.readReplicaIdentifiers = null; return; } this.readReplicaIdentifiers = new com.amazonaws.internal.SdkInternalList(readReplicaIdentifiers); } /** *

* Contains one or more identifiers of the read replicas associated with this DB cluster. *

*

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

* * @param readReplicaIdentifiers * Contains one or more identifiers of the read replicas associated with this DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withReadReplicaIdentifiers(String... readReplicaIdentifiers) { if (this.readReplicaIdentifiers == null) { setReadReplicaIdentifiers(new com.amazonaws.internal.SdkInternalList(readReplicaIdentifiers.length)); } for (String ele : readReplicaIdentifiers) { this.readReplicaIdentifiers.add(ele); } return this; } /** *

* Contains one or more identifiers of the read replicas associated with this DB cluster. *

* * @param readReplicaIdentifiers * Contains one or more identifiers of the read replicas associated with this DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withReadReplicaIdentifiers(java.util.Collection readReplicaIdentifiers) { setReadReplicaIdentifiers(readReplicaIdentifiers); return this; } /** *

* Reserved for future use. *

* * @return Reserved for future use. */ public java.util.List getStatusInfos() { if (statusInfos == null) { statusInfos = new com.amazonaws.internal.SdkInternalList(); } return statusInfos; } /** *

* Reserved for future use. *

* * @param statusInfos * Reserved for future use. */ public void setStatusInfos(java.util.Collection statusInfos) { if (statusInfos == null) { this.statusInfos = null; return; } this.statusInfos = new com.amazonaws.internal.SdkInternalList(statusInfos); } /** *

* Reserved for future use. *

*

* 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 * Reserved for future use. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withStatusInfos(DBClusterStatusInfo... statusInfos) { if (this.statusInfos == null) { setStatusInfos(new com.amazonaws.internal.SdkInternalList(statusInfos.length)); } for (DBClusterStatusInfo ele : statusInfos) { this.statusInfos.add(ele); } return this; } /** *

* Reserved for future use. *

* * @param statusInfos * Reserved for future use. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withStatusInfos(java.util.Collection statusInfos) { setStatusInfos(statusInfos); return this; } /** *

* The list of DB instances that make up the DB cluster. *

* * @return The list of DB instances that make up the DB cluster. */ public java.util.List getDBClusterMembers() { if (dBClusterMembers == null) { dBClusterMembers = new com.amazonaws.internal.SdkInternalList(); } return dBClusterMembers; } /** *

* The list of DB instances that make up the DB cluster. *

* * @param dBClusterMembers * The list of DB instances that make up the DB cluster. */ public void setDBClusterMembers(java.util.Collection dBClusterMembers) { if (dBClusterMembers == null) { this.dBClusterMembers = null; return; } this.dBClusterMembers = new com.amazonaws.internal.SdkInternalList(dBClusterMembers); } /** *

* The list of DB instances that make up the DB cluster. *

*

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

* * @param dBClusterMembers * The list of DB instances that make up the DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withDBClusterMembers(DBClusterMember... dBClusterMembers) { if (this.dBClusterMembers == null) { setDBClusterMembers(new com.amazonaws.internal.SdkInternalList(dBClusterMembers.length)); } for (DBClusterMember ele : dBClusterMembers) { this.dBClusterMembers.add(ele); } return this; } /** *

* The list of DB instances that make up the DB cluster. *

* * @param dBClusterMembers * The list of DB instances that make up the DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withDBClusterMembers(java.util.Collection dBClusterMembers) { setDBClusterMembers(dBClusterMembers); return this; } /** *

* The list of VPC security groups that the DB cluster belongs to. *

* * @return The list of VPC security groups that the DB cluster belongs to. */ public java.util.List getVpcSecurityGroups() { if (vpcSecurityGroups == null) { vpcSecurityGroups = new com.amazonaws.internal.SdkInternalList(); } return vpcSecurityGroups; } /** *

* The list of VPC security groups that the DB cluster belongs to. *

* * @param vpcSecurityGroups * The list of VPC security groups that the DB cluster belongs to. */ public void setVpcSecurityGroups(java.util.Collection vpcSecurityGroups) { if (vpcSecurityGroups == null) { this.vpcSecurityGroups = null; return; } this.vpcSecurityGroups = new com.amazonaws.internal.SdkInternalList(vpcSecurityGroups); } /** *

* The list of VPC security groups that the DB cluster 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 * The list of VPC security groups that the DB cluster belongs to. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withVpcSecurityGroups(VpcSecurityGroupMembership... vpcSecurityGroups) { if (this.vpcSecurityGroups == null) { setVpcSecurityGroups(new com.amazonaws.internal.SdkInternalList(vpcSecurityGroups.length)); } for (VpcSecurityGroupMembership ele : vpcSecurityGroups) { this.vpcSecurityGroups.add(ele); } return this; } /** *

* The list of VPC security groups that the DB cluster belongs to. *

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

* The ID that Amazon Route 53 assigns when you create a hosted zone. *

* * @param hostedZoneId * The ID that Amazon Route 53 assigns when you create a hosted zone. */ public void setHostedZoneId(String hostedZoneId) { this.hostedZoneId = hostedZoneId; } /** *

* The ID that Amazon Route 53 assigns when you create a hosted zone. *

* * @return The ID that Amazon Route 53 assigns when you create a hosted zone. */ public String getHostedZoneId() { return this.hostedZoneId; } /** *

* The ID that Amazon Route 53 assigns when you create a hosted zone. *

* * @param hostedZoneId * The ID that Amazon Route 53 assigns when you create a hosted zone. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withHostedZoneId(String hostedZoneId) { setHostedZoneId(hostedZoneId); return this; } /** *

* Indicates whether the DB cluster is encrypted. *

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

* Indicates whether the DB cluster is encrypted. *

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

* Indicates whether the DB cluster is encrypted. *

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

* Indicates whether the DB cluster is encrypted. *

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

* If StorageEncrypted is enabled, the Amazon Web Services KMS key identifier for the encrypted DB * cluster. *

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. *

* * @param kmsKeyId * If StorageEncrypted is enabled, the Amazon Web Services KMS key identifier for the encrypted * DB cluster.

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS * key. */ public void setKmsKeyId(String kmsKeyId) { this.kmsKeyId = kmsKeyId; } /** *

* If StorageEncrypted is enabled, the Amazon Web Services KMS key identifier for the encrypted DB * cluster. *

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. *

* * @return If StorageEncrypted is enabled, the Amazon Web Services KMS key identifier for the encrypted * DB cluster.

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS * key. */ public String getKmsKeyId() { return this.kmsKeyId; } /** *

* If StorageEncrypted is enabled, the Amazon Web Services KMS key identifier for the encrypted DB * cluster. *

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. *

* * @param kmsKeyId * If StorageEncrypted is enabled, the Amazon Web Services KMS key identifier for the encrypted * DB cluster.

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS * key. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withKmsKeyId(String kmsKeyId) { setKmsKeyId(kmsKeyId); return this; } /** *

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

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

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

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

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

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

* The Amazon Resource Name (ARN) for the DB cluster. *

* * @param dBClusterArn * The Amazon Resource Name (ARN) for the DB cluster. */ public void setDBClusterArn(String dBClusterArn) { this.dBClusterArn = dBClusterArn; } /** *

* The Amazon Resource Name (ARN) for the DB cluster. *

* * @return The Amazon Resource Name (ARN) for the DB cluster. */ public String getDBClusterArn() { return this.dBClusterArn; } /** *

* The Amazon Resource Name (ARN) for the DB cluster. *

* * @param dBClusterArn * The Amazon Resource Name (ARN) for the DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withDBClusterArn(String dBClusterArn) { setDBClusterArn(dBClusterArn); return this; } /** *

* A list of the Amazon Web Services Identity and Access Management (IAM) roles that are associated with the DB * cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other * Amazon Web Services on your behalf. *

* * @return A list of the Amazon Web Services Identity and Access Management (IAM) roles that are associated with the * DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access * other Amazon Web Services on your behalf. */ public java.util.List getAssociatedRoles() { if (associatedRoles == null) { associatedRoles = new com.amazonaws.internal.SdkInternalList(); } return associatedRoles; } /** *

* A list of the Amazon Web Services Identity and Access Management (IAM) roles that are associated with the DB * cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other * Amazon Web Services on your behalf. *

* * @param associatedRoles * A list of the Amazon Web Services Identity and Access Management (IAM) roles that are associated with the * DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access * other Amazon Web Services on your behalf. */ public void setAssociatedRoles(java.util.Collection associatedRoles) { if (associatedRoles == null) { this.associatedRoles = null; return; } this.associatedRoles = new com.amazonaws.internal.SdkInternalList(associatedRoles); } /** *

* A list of the Amazon Web Services Identity and Access Management (IAM) roles that are associated with the DB * cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other * Amazon Web Services on your behalf. *

*

* 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 * A list of the Amazon Web Services Identity and Access Management (IAM) roles that are associated with the * DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access * other Amazon Web Services on your behalf. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withAssociatedRoles(DBClusterRole... associatedRoles) { if (this.associatedRoles == null) { setAssociatedRoles(new com.amazonaws.internal.SdkInternalList(associatedRoles.length)); } for (DBClusterRole ele : associatedRoles) { this.associatedRoles.add(ele); } return this; } /** *

* A list of the Amazon Web Services Identity and Access Management (IAM) roles that are associated with the DB * cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other * Amazon Web Services on your behalf. *

* * @param associatedRoles * A list of the Amazon Web Services Identity and Access Management (IAM) roles that are associated with the * DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access * other Amazon Web Services on your behalf. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withAssociatedRoles(java.util.Collection associatedRoles) { setAssociatedRoles(associatedRoles); return this; } /** *

* Indicates whether the mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database * accounts is enabled. *

* * @param iAMDatabaseAuthenticationEnabled * Indicates whether the mapping of Amazon Web Services Identity and Access Management (IAM) accounts to * database accounts is enabled. */ public void setIAMDatabaseAuthenticationEnabled(Boolean iAMDatabaseAuthenticationEnabled) { this.iAMDatabaseAuthenticationEnabled = iAMDatabaseAuthenticationEnabled; } /** *

* Indicates whether the mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database * accounts is enabled. *

* * @return Indicates whether the mapping of Amazon Web Services Identity and Access Management (IAM) accounts to * database accounts is enabled. */ public Boolean getIAMDatabaseAuthenticationEnabled() { return this.iAMDatabaseAuthenticationEnabled; } /** *

* Indicates whether the mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database * accounts is enabled. *

* * @param iAMDatabaseAuthenticationEnabled * Indicates whether the mapping of Amazon Web Services Identity and Access Management (IAM) accounts to * database accounts is enabled. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withIAMDatabaseAuthenticationEnabled(Boolean iAMDatabaseAuthenticationEnabled) { setIAMDatabaseAuthenticationEnabled(iAMDatabaseAuthenticationEnabled); return this; } /** *

* Indicates whether the mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database * accounts is enabled. *

* * @return Indicates whether the mapping of Amazon Web Services Identity and Access Management (IAM) accounts to * database accounts is enabled. */ public Boolean isIAMDatabaseAuthenticationEnabled() { return this.iAMDatabaseAuthenticationEnabled; } /** *

* The ID of the clone group with which the DB cluster is associated. *

* * @param cloneGroupId * The ID of the clone group with which the DB cluster is associated. */ public void setCloneGroupId(String cloneGroupId) { this.cloneGroupId = cloneGroupId; } /** *

* The ID of the clone group with which the DB cluster is associated. *

* * @return The ID of the clone group with which the DB cluster is associated. */ public String getCloneGroupId() { return this.cloneGroupId; } /** *

* The ID of the clone group with which the DB cluster is associated. *

* * @param cloneGroupId * The ID of the clone group with which the DB cluster is associated. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withCloneGroupId(String cloneGroupId) { setCloneGroupId(cloneGroupId); return this; } /** *

* The time when the DB cluster was created, in Universal Coordinated Time (UTC). *

* * @param clusterCreateTime * The time when the DB cluster was created, in Universal Coordinated Time (UTC). */ public void setClusterCreateTime(java.util.Date clusterCreateTime) { this.clusterCreateTime = clusterCreateTime; } /** *

* The time when the DB cluster was created, in Universal Coordinated Time (UTC). *

* * @return The time when the DB cluster was created, in Universal Coordinated Time (UTC). */ public java.util.Date getClusterCreateTime() { return this.clusterCreateTime; } /** *

* The time when the DB cluster was created, in Universal Coordinated Time (UTC). *

* * @param clusterCreateTime * The time when the DB cluster was created, in Universal Coordinated Time (UTC). * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withClusterCreateTime(java.util.Date clusterCreateTime) { setClusterCreateTime(clusterCreateTime); return this; } /** *

* The earliest time to which a DB cluster can be backtracked. *

* * @param earliestBacktrackTime * The earliest time to which a DB cluster can be backtracked. */ public void setEarliestBacktrackTime(java.util.Date earliestBacktrackTime) { this.earliestBacktrackTime = earliestBacktrackTime; } /** *

* The earliest time to which a DB cluster can be backtracked. *

* * @return The earliest time to which a DB cluster can be backtracked. */ public java.util.Date getEarliestBacktrackTime() { return this.earliestBacktrackTime; } /** *

* The earliest time to which a DB cluster can be backtracked. *

* * @param earliestBacktrackTime * The earliest time to which a DB cluster can be backtracked. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withEarliestBacktrackTime(java.util.Date earliestBacktrackTime) { setEarliestBacktrackTime(earliestBacktrackTime); return this; } /** *

* The target backtrack window, in seconds. If this value is set to 0, backtracking is disabled for the * DB cluster. Otherwise, backtracking is enabled. *

* * @param backtrackWindow * The target backtrack window, in seconds. If this value is set to 0, backtracking is disabled * for the DB cluster. Otherwise, backtracking is enabled. */ public void setBacktrackWindow(Long backtrackWindow) { this.backtrackWindow = backtrackWindow; } /** *

* The target backtrack window, in seconds. If this value is set to 0, backtracking is disabled for the * DB cluster. Otherwise, backtracking is enabled. *

* * @return The target backtrack window, in seconds. If this value is set to 0, backtracking is disabled * for the DB cluster. Otherwise, backtracking is enabled. */ public Long getBacktrackWindow() { return this.backtrackWindow; } /** *

* The target backtrack window, in seconds. If this value is set to 0, backtracking is disabled for the * DB cluster. Otherwise, backtracking is enabled. *

* * @param backtrackWindow * The target backtrack window, in seconds. If this value is set to 0, backtracking is disabled * for the DB cluster. Otherwise, backtracking is enabled. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withBacktrackWindow(Long backtrackWindow) { setBacktrackWindow(backtrackWindow); return this; } /** *

* The number of change records stored for Backtrack. *

* * @param backtrackConsumedChangeRecords * The number of change records stored for Backtrack. */ public void setBacktrackConsumedChangeRecords(Long backtrackConsumedChangeRecords) { this.backtrackConsumedChangeRecords = backtrackConsumedChangeRecords; } /** *

* The number of change records stored for Backtrack. *

* * @return The number of change records stored for Backtrack. */ public Long getBacktrackConsumedChangeRecords() { return this.backtrackConsumedChangeRecords; } /** *

* The number of change records stored for Backtrack. *

* * @param backtrackConsumedChangeRecords * The number of change records stored for Backtrack. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withBacktrackConsumedChangeRecords(Long backtrackConsumedChangeRecords) { setBacktrackConsumedChangeRecords(backtrackConsumedChangeRecords); return this; } /** *

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

*

* Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS Database Log * Files in the Amazon Aurora User Guide. *

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

*

* Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS * Database Log Files in the Amazon Aurora User Guide. */ public java.util.List getEnabledCloudwatchLogsExports() { if (enabledCloudwatchLogsExports == null) { enabledCloudwatchLogsExports = new com.amazonaws.internal.SdkInternalList(); } return enabledCloudwatchLogsExports; } /** *

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

*

* Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS Database Log * Files in the Amazon Aurora User Guide. *

* * @param enabledCloudwatchLogsExports * A list of log types that this DB cluster is configured to export to CloudWatch Logs.

*

* Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS * Database Log Files in the Amazon Aurora User Guide. */ public void setEnabledCloudwatchLogsExports(java.util.Collection enabledCloudwatchLogsExports) { if (enabledCloudwatchLogsExports == null) { this.enabledCloudwatchLogsExports = null; return; } this.enabledCloudwatchLogsExports = new com.amazonaws.internal.SdkInternalList(enabledCloudwatchLogsExports); } /** *

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

*

* Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS Database Log * Files in the Amazon Aurora User Guide. *

*

* 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 cluster is configured to export to CloudWatch Logs.

*

* Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS * Database Log Files in the Amazon Aurora User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withEnabledCloudwatchLogsExports(String... enabledCloudwatchLogsExports) { if (this.enabledCloudwatchLogsExports == null) { setEnabledCloudwatchLogsExports(new com.amazonaws.internal.SdkInternalList(enabledCloudwatchLogsExports.length)); } for (String ele : enabledCloudwatchLogsExports) { this.enabledCloudwatchLogsExports.add(ele); } return this; } /** *

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

*

* Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS Database Log * Files in the Amazon Aurora User Guide. *

* * @param enabledCloudwatchLogsExports * A list of log types that this DB cluster is configured to export to CloudWatch Logs.

*

* Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS * Database Log Files in the Amazon Aurora User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withEnabledCloudwatchLogsExports(java.util.Collection enabledCloudwatchLogsExports) { setEnabledCloudwatchLogsExports(enabledCloudwatchLogsExports); return this; } /** *

* The current capacity of an Aurora Serverless v1 DB cluster. The capacity is 0 (zero) when the * cluster is paused. *

*

* For more information about Aurora Serverless v1, see Using Amazon Aurora * Serverless v1 in the Amazon Aurora User Guide. *

* * @param capacity * The current capacity of an Aurora Serverless v1 DB cluster. The capacity is 0 (zero) when the * cluster is paused.

*

* For more information about Aurora Serverless v1, see Using Amazon * Aurora Serverless v1 in the Amazon Aurora User Guide. */ public void setCapacity(Integer capacity) { this.capacity = capacity; } /** *

* The current capacity of an Aurora Serverless v1 DB cluster. The capacity is 0 (zero) when the * cluster is paused. *

*

* For more information about Aurora Serverless v1, see Using Amazon Aurora * Serverless v1 in the Amazon Aurora User Guide. *

* * @return The current capacity of an Aurora Serverless v1 DB cluster. The capacity is 0 (zero) when * the cluster is paused.

*

* For more information about Aurora Serverless v1, see Using Amazon * Aurora Serverless v1 in the Amazon Aurora User Guide. */ public Integer getCapacity() { return this.capacity; } /** *

* The current capacity of an Aurora Serverless v1 DB cluster. The capacity is 0 (zero) when the * cluster is paused. *

*

* For more information about Aurora Serverless v1, see Using Amazon Aurora * Serverless v1 in the Amazon Aurora User Guide. *

* * @param capacity * The current capacity of an Aurora Serverless v1 DB cluster. The capacity is 0 (zero) when the * cluster is paused.

*

* For more information about Aurora Serverless v1, see Using Amazon * Aurora Serverless v1 in the Amazon Aurora User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withCapacity(Integer capacity) { setCapacity(capacity); return this; } /** *

* The DB engine mode of the DB cluster, either provisioned or serverless. *

*

* For more information, see CreateDBCluster. *

* * @param engineMode * The DB engine mode of the DB cluster, either provisioned or serverless.

*

* For more information, see * CreateDBCluster. */ public void setEngineMode(String engineMode) { this.engineMode = engineMode; } /** *

* The DB engine mode of the DB cluster, either provisioned or serverless. *

*

* For more information, see CreateDBCluster. *

* * @return The DB engine mode of the DB cluster, either provisioned or serverless.

*

* For more information, see * CreateDBCluster. */ public String getEngineMode() { return this.engineMode; } /** *

* The DB engine mode of the DB cluster, either provisioned or serverless. *

*

* For more information, see CreateDBCluster. *

* * @param engineMode * The DB engine mode of the DB cluster, either provisioned or serverless.

*

* For more information, see * CreateDBCluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withEngineMode(String engineMode) { setEngineMode(engineMode); return this; } /** * @param scalingConfigurationInfo */ public void setScalingConfigurationInfo(ScalingConfigurationInfo scalingConfigurationInfo) { this.scalingConfigurationInfo = scalingConfigurationInfo; } /** * @return */ public ScalingConfigurationInfo getScalingConfigurationInfo() { return this.scalingConfigurationInfo; } /** * @param scalingConfigurationInfo * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withScalingConfigurationInfo(ScalingConfigurationInfo scalingConfigurationInfo) { setScalingConfigurationInfo(scalingConfigurationInfo); return this; } /** *

* Reserved for future use. *

* * @param rdsCustomClusterConfiguration * Reserved for future use. */ public void setRdsCustomClusterConfiguration(RdsCustomClusterConfiguration rdsCustomClusterConfiguration) { this.rdsCustomClusterConfiguration = rdsCustomClusterConfiguration; } /** *

* Reserved for future use. *

* * @return Reserved for future use. */ public RdsCustomClusterConfiguration getRdsCustomClusterConfiguration() { return this.rdsCustomClusterConfiguration; } /** *

* Reserved for future use. *

* * @param rdsCustomClusterConfiguration * Reserved for future use. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withRdsCustomClusterConfiguration(RdsCustomClusterConfiguration rdsCustomClusterConfiguration) { setRdsCustomClusterConfiguration(rdsCustomClusterConfiguration); return this; } /** *

* Indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion * protection is enabled. *

* * @param deletionProtection * Indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when * deletion protection is enabled. */ public void setDeletionProtection(Boolean deletionProtection) { this.deletionProtection = deletionProtection; } /** *

* Indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion * protection is enabled. *

* * @return Indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when * deletion protection is enabled. */ public Boolean getDeletionProtection() { return this.deletionProtection; } /** *

* Indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion * protection is enabled. *

* * @param deletionProtection * Indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when * deletion protection is enabled. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withDeletionProtection(Boolean deletionProtection) { setDeletionProtection(deletionProtection); return this; } /** *

* Indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion * protection is enabled. *

* * @return Indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when * deletion protection is enabled. */ public Boolean isDeletionProtection() { return this.deletionProtection; } /** *

* Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster. *

*

* When enabled, the HTTP endpoint provides a connectionless web service API (RDS Data API) for running SQL queries * on the DB cluster. You can also query your database from inside the RDS console with the RDS query editor. *

*

* For more information, see Using RDS Data API in the * Amazon Aurora User Guide. *

* * @param httpEndpointEnabled * Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster.

*

* When enabled, the HTTP endpoint provides a connectionless web service API (RDS Data API) for running SQL * queries on the DB cluster. You can also query your database from inside the RDS console with the RDS query * editor. *

*

* For more information, see Using RDS Data API * in the Amazon Aurora User Guide. */ public void setHttpEndpointEnabled(Boolean httpEndpointEnabled) { this.httpEndpointEnabled = httpEndpointEnabled; } /** *

* Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster. *

*

* When enabled, the HTTP endpoint provides a connectionless web service API (RDS Data API) for running SQL queries * on the DB cluster. You can also query your database from inside the RDS console with the RDS query editor. *

*

* For more information, see Using RDS Data API in the * Amazon Aurora User Guide. *

* * @return Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster.

*

* When enabled, the HTTP endpoint provides a connectionless web service API (RDS Data API) for running SQL * queries on the DB cluster. You can also query your database from inside the RDS console with the RDS * query editor. *

*

* For more information, see Using RDS Data API * in the Amazon Aurora User Guide. */ public Boolean getHttpEndpointEnabled() { return this.httpEndpointEnabled; } /** *

* Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster. *

*

* When enabled, the HTTP endpoint provides a connectionless web service API (RDS Data API) for running SQL queries * on the DB cluster. You can also query your database from inside the RDS console with the RDS query editor. *

*

* For more information, see Using RDS Data API in the * Amazon Aurora User Guide. *

* * @param httpEndpointEnabled * Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster.

*

* When enabled, the HTTP endpoint provides a connectionless web service API (RDS Data API) for running SQL * queries on the DB cluster. You can also query your database from inside the RDS console with the RDS query * editor. *

*

* For more information, see Using RDS Data API * in the Amazon Aurora User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withHttpEndpointEnabled(Boolean httpEndpointEnabled) { setHttpEndpointEnabled(httpEndpointEnabled); return this; } /** *

* Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster. *

*

* When enabled, the HTTP endpoint provides a connectionless web service API (RDS Data API) for running SQL queries * on the DB cluster. You can also query your database from inside the RDS console with the RDS query editor. *

*

* For more information, see Using RDS Data API in the * Amazon Aurora User Guide. *

* * @return Indicates whether the HTTP endpoint is enabled for an Aurora DB cluster.

*

* When enabled, the HTTP endpoint provides a connectionless web service API (RDS Data API) for running SQL * queries on the DB cluster. You can also query your database from inside the RDS console with the RDS * query editor. *

*

* For more information, see Using RDS Data API * in the Amazon Aurora User Guide. */ public Boolean isHttpEndpointEnabled() { return this.httpEndpointEnabled; } /** *

* The mode of the database activity stream. Database events such as a change or access generate an activity stream * event. The database session can handle these events either synchronously or asynchronously. *

* * @param activityStreamMode * The mode of the database activity stream. Database events such as a change or access generate an activity * stream event. The database session can handle these events either synchronously or asynchronously. * @see ActivityStreamMode */ public void setActivityStreamMode(String activityStreamMode) { this.activityStreamMode = activityStreamMode; } /** *

* The mode of the database activity stream. Database events such as a change or access generate an activity stream * event. The database session can handle these events either synchronously or asynchronously. *

* * @return The mode of the database activity stream. Database events such as a change or access generate an activity * stream event. The database session can handle these events either synchronously or asynchronously. * @see ActivityStreamMode */ public String getActivityStreamMode() { return this.activityStreamMode; } /** *

* The mode of the database activity stream. Database events such as a change or access generate an activity stream * event. The database session can handle these events either synchronously or asynchronously. *

* * @param activityStreamMode * The mode of the database activity stream. Database events such as a change or access generate an activity * stream event. The database session can handle these events either synchronously or asynchronously. * @return Returns a reference to this object so that method calls can be chained together. * @see ActivityStreamMode */ public DBCluster withActivityStreamMode(String activityStreamMode) { setActivityStreamMode(activityStreamMode); return this; } /** *

* The mode of the database activity stream. Database events such as a change or access generate an activity stream * event. The database session can handle these events either synchronously or asynchronously. *

* * @param activityStreamMode * The mode of the database activity stream. Database events such as a change or access generate an activity * stream event. The database session can handle these events either synchronously or asynchronously. * @return Returns a reference to this object so that method calls can be chained together. * @see ActivityStreamMode */ public DBCluster withActivityStreamMode(ActivityStreamMode activityStreamMode) { this.activityStreamMode = activityStreamMode.toString(); return this; } /** *

* The status of the database activity stream. *

* * @param activityStreamStatus * The status of the database activity stream. * @see ActivityStreamStatus */ public void setActivityStreamStatus(String activityStreamStatus) { this.activityStreamStatus = activityStreamStatus; } /** *

* The status of the database activity stream. *

* * @return The status of the database activity stream. * @see ActivityStreamStatus */ public String getActivityStreamStatus() { return this.activityStreamStatus; } /** *

* The status of the database activity stream. *

* * @param activityStreamStatus * The status of the database activity stream. * @return Returns a reference to this object so that method calls can be chained together. * @see ActivityStreamStatus */ public DBCluster withActivityStreamStatus(String activityStreamStatus) { setActivityStreamStatus(activityStreamStatus); return this; } /** *

* The status of the database activity stream. *

* * @param activityStreamStatus * The status of the database activity stream. * @return Returns a reference to this object so that method calls can be chained together. * @see ActivityStreamStatus */ public DBCluster withActivityStreamStatus(ActivityStreamStatus activityStreamStatus) { this.activityStreamStatus = activityStreamStatus.toString(); return this; } /** *

* The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream. *

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. *

* * @param activityStreamKmsKeyId * The Amazon Web Services KMS key identifier used for encrypting messages in the database activity * stream.

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS * key. */ public void setActivityStreamKmsKeyId(String activityStreamKmsKeyId) { this.activityStreamKmsKeyId = activityStreamKmsKeyId; } /** *

* The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream. *

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. *

* * @return The Amazon Web Services KMS key identifier used for encrypting messages in the database activity * stream.

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS * key. */ public String getActivityStreamKmsKeyId() { return this.activityStreamKmsKeyId; } /** *

* The Amazon Web Services KMS key identifier used for encrypting messages in the database activity stream. *

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. *

* * @param activityStreamKmsKeyId * The Amazon Web Services KMS key identifier used for encrypting messages in the database activity * stream.

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS * key. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withActivityStreamKmsKeyId(String activityStreamKmsKeyId) { setActivityStreamKmsKeyId(activityStreamKmsKeyId); return this; } /** *

* The name of the Amazon Kinesis data stream used for the database activity stream. *

* * @param activityStreamKinesisStreamName * The name of the Amazon Kinesis data stream used for the database activity stream. */ public void setActivityStreamKinesisStreamName(String activityStreamKinesisStreamName) { this.activityStreamKinesisStreamName = activityStreamKinesisStreamName; } /** *

* The name of the Amazon Kinesis data stream used for the database activity stream. *

* * @return The name of the Amazon Kinesis data stream used for the database activity stream. */ public String getActivityStreamKinesisStreamName() { return this.activityStreamKinesisStreamName; } /** *

* The name of the Amazon Kinesis data stream used for the database activity stream. *

* * @param activityStreamKinesisStreamName * The name of the Amazon Kinesis data stream used for the database activity stream. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withActivityStreamKinesisStreamName(String activityStreamKinesisStreamName) { setActivityStreamKinesisStreamName(activityStreamKinesisStreamName); return this; } /** *

* Indicates whether tags are copied from the DB cluster to snapshots of the DB cluster. *

* * @param copyTagsToSnapshot * Indicates whether tags are copied from the DB cluster to snapshots of the DB cluster. */ public void setCopyTagsToSnapshot(Boolean copyTagsToSnapshot) { this.copyTagsToSnapshot = copyTagsToSnapshot; } /** *

* Indicates whether tags are copied from the DB cluster to snapshots of the DB cluster. *

* * @return Indicates whether tags are copied from the DB cluster to snapshots of the DB cluster. */ public Boolean getCopyTagsToSnapshot() { return this.copyTagsToSnapshot; } /** *

* Indicates whether tags are copied from the DB cluster to snapshots of the DB cluster. *

* * @param copyTagsToSnapshot * Indicates whether tags are copied from the DB cluster to snapshots of the DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withCopyTagsToSnapshot(Boolean copyTagsToSnapshot) { setCopyTagsToSnapshot(copyTagsToSnapshot); return this; } /** *

* Indicates whether tags are copied from the DB cluster to snapshots of the DB cluster. *

* * @return Indicates whether tags are copied from the DB cluster to snapshots of the DB cluster. */ public Boolean isCopyTagsToSnapshot() { return this.copyTagsToSnapshot; } /** *

* Indicates whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account. *

* * @param crossAccountClone * Indicates whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services * account. */ public void setCrossAccountClone(Boolean crossAccountClone) { this.crossAccountClone = crossAccountClone; } /** *

* Indicates whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account. *

* * @return Indicates whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services * account. */ public Boolean getCrossAccountClone() { return this.crossAccountClone; } /** *

* Indicates whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account. *

* * @param crossAccountClone * Indicates whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services * account. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withCrossAccountClone(Boolean crossAccountClone) { setCrossAccountClone(crossAccountClone); return this; } /** *

* Indicates whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services account. *

* * @return Indicates whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services * account. */ public Boolean isCrossAccountClone() { return this.crossAccountClone; } /** *

* The Active Directory Domain membership records associated with the DB cluster. *

* * @return The Active Directory Domain membership records associated with the DB cluster. */ public java.util.List getDomainMemberships() { if (domainMemberships == null) { domainMemberships = new com.amazonaws.internal.SdkInternalList(); } return domainMemberships; } /** *

* The Active Directory Domain membership records associated with the DB cluster. *

* * @param domainMemberships * The Active Directory Domain membership records associated with the DB cluster. */ public void setDomainMemberships(java.util.Collection domainMemberships) { if (domainMemberships == null) { this.domainMemberships = null; return; } this.domainMemberships = new com.amazonaws.internal.SdkInternalList(domainMemberships); } /** *

* The Active Directory Domain membership records associated with the DB cluster. *

*

* 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 cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withDomainMemberships(DomainMembership... domainMemberships) { if (this.domainMemberships == null) { setDomainMemberships(new com.amazonaws.internal.SdkInternalList(domainMemberships.length)); } for (DomainMembership ele : domainMemberships) { this.domainMemberships.add(ele); } return this; } /** *

* The Active Directory Domain membership records associated with the DB cluster. *

* * @param domainMemberships * The Active Directory Domain membership records associated with the DB cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withDomainMemberships(java.util.Collection domainMemberships) { setDomainMemberships(domainMemberships); return this; } /** * @return */ public java.util.List getTagList() { if (tagList == null) { tagList = new com.amazonaws.internal.SdkInternalList(); } return tagList; } /** * @param tagList */ public void setTagList(java.util.Collection tagList) { if (tagList == null) { this.tagList = null; return; } this.tagList = new com.amazonaws.internal.SdkInternalList(tagList); } /** *

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

* * @param tagList * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withTagList(Tag... tagList) { if (this.tagList == null) { setTagList(new com.amazonaws.internal.SdkInternalList(tagList.length)); } for (Tag ele : tagList) { this.tagList.add(ele); } return this; } /** * @param tagList * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withTagList(java.util.Collection tagList) { setTagList(tagList); return this; } /** *

* The status of write forwarding for a secondary cluster in an Aurora global database. *

* * @param globalWriteForwardingStatus * The status of write forwarding for a secondary cluster in an Aurora global database. * @see WriteForwardingStatus */ public void setGlobalWriteForwardingStatus(String globalWriteForwardingStatus) { this.globalWriteForwardingStatus = globalWriteForwardingStatus; } /** *

* The status of write forwarding for a secondary cluster in an Aurora global database. *

* * @return The status of write forwarding for a secondary cluster in an Aurora global database. * @see WriteForwardingStatus */ public String getGlobalWriteForwardingStatus() { return this.globalWriteForwardingStatus; } /** *

* The status of write forwarding for a secondary cluster in an Aurora global database. *

* * @param globalWriteForwardingStatus * The status of write forwarding for a secondary cluster in an Aurora global database. * @return Returns a reference to this object so that method calls can be chained together. * @see WriteForwardingStatus */ public DBCluster withGlobalWriteForwardingStatus(String globalWriteForwardingStatus) { setGlobalWriteForwardingStatus(globalWriteForwardingStatus); return this; } /** *

* The status of write forwarding for a secondary cluster in an Aurora global database. *

* * @param globalWriteForwardingStatus * The status of write forwarding for a secondary cluster in an Aurora global database. * @return Returns a reference to this object so that method calls can be chained together. * @see WriteForwardingStatus */ public DBCluster withGlobalWriteForwardingStatus(WriteForwardingStatus globalWriteForwardingStatus) { this.globalWriteForwardingStatus = globalWriteForwardingStatus.toString(); return this; } /** *

* Indicates whether write forwarding is enabled for a secondary cluster in an Aurora global database. Because write * forwarding takes time to enable, check the value of GlobalWriteForwardingStatus to confirm that the * request has completed before using the write forwarding feature for this cluster. *

* * @param globalWriteForwardingRequested * Indicates whether write forwarding is enabled for a secondary cluster in an Aurora global database. * Because write forwarding takes time to enable, check the value of GlobalWriteForwardingStatus * to confirm that the request has completed before using the write forwarding feature for this cluster. */ public void setGlobalWriteForwardingRequested(Boolean globalWriteForwardingRequested) { this.globalWriteForwardingRequested = globalWriteForwardingRequested; } /** *

* Indicates whether write forwarding is enabled for a secondary cluster in an Aurora global database. Because write * forwarding takes time to enable, check the value of GlobalWriteForwardingStatus to confirm that the * request has completed before using the write forwarding feature for this cluster. *

* * @return Indicates whether write forwarding is enabled for a secondary cluster in an Aurora global database. * Because write forwarding takes time to enable, check the value of * GlobalWriteForwardingStatus to confirm that the request has completed before using the write * forwarding feature for this cluster. */ public Boolean getGlobalWriteForwardingRequested() { return this.globalWriteForwardingRequested; } /** *

* Indicates whether write forwarding is enabled for a secondary cluster in an Aurora global database. Because write * forwarding takes time to enable, check the value of GlobalWriteForwardingStatus to confirm that the * request has completed before using the write forwarding feature for this cluster. *

* * @param globalWriteForwardingRequested * Indicates whether write forwarding is enabled for a secondary cluster in an Aurora global database. * Because write forwarding takes time to enable, check the value of GlobalWriteForwardingStatus * to confirm that the request has completed before using the write forwarding feature for this cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withGlobalWriteForwardingRequested(Boolean globalWriteForwardingRequested) { setGlobalWriteForwardingRequested(globalWriteForwardingRequested); return this; } /** *

* Indicates whether write forwarding is enabled for a secondary cluster in an Aurora global database. Because write * forwarding takes time to enable, check the value of GlobalWriteForwardingStatus to confirm that the * request has completed before using the write forwarding feature for this cluster. *

* * @return Indicates whether write forwarding is enabled for a secondary cluster in an Aurora global database. * Because write forwarding takes time to enable, check the value of * GlobalWriteForwardingStatus to confirm that the request has completed before using the write * forwarding feature for this cluster. */ public Boolean isGlobalWriteForwardingRequested() { return this.globalWriteForwardingRequested; } /** *

* Information about pending changes to the DB cluster. This information is returned only when there are pending * changes. Specific changes are identified by subelements. *

* * @param pendingModifiedValues * Information about pending changes to the DB cluster. This information is returned only when there are * pending changes. Specific changes are identified by subelements. */ public void setPendingModifiedValues(ClusterPendingModifiedValues pendingModifiedValues) { this.pendingModifiedValues = pendingModifiedValues; } /** *

* Information about pending changes to the DB cluster. This information is returned only when there are pending * changes. Specific changes are identified by subelements. *

* * @return Information about pending changes to the DB cluster. This information is returned only when there are * pending changes. Specific changes are identified by subelements. */ public ClusterPendingModifiedValues getPendingModifiedValues() { return this.pendingModifiedValues; } /** *

* Information about pending changes to the DB cluster. This information is returned only when there are pending * changes. Specific changes are identified by subelements. *

* * @param pendingModifiedValues * Information about pending changes to the DB cluster. This information is returned only when there are * pending changes. Specific changes are identified by subelements. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withPendingModifiedValues(ClusterPendingModifiedValues pendingModifiedValues) { setPendingModifiedValues(pendingModifiedValues); return this; } /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param dBClusterInstanceClass * The name of the compute and memory capacity class of the DB instance.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public void setDBClusterInstanceClass(String dBClusterInstanceClass) { this.dBClusterInstanceClass = dBClusterInstanceClass; } /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @return The name of the compute and memory capacity class of the DB instance.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public String getDBClusterInstanceClass() { return this.dBClusterInstanceClass; } /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param dBClusterInstanceClass * The name of the compute and memory capacity class of the DB instance.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withDBClusterInstanceClass(String dBClusterInstanceClass) { setDBClusterInstanceClass(dBClusterInstanceClass); return this; } /** *

* The storage type associated with the DB cluster. *

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

* The storage type associated with the DB cluster. *

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

* The storage type associated with the DB cluster. *

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

* The Provisioned IOPS (I/O operations per second) value. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param iops * The Provisioned IOPS (I/O operations per second) value.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public void setIops(Integer iops) { this.iops = iops; } /** *

* The Provisioned IOPS (I/O operations per second) value. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @return The Provisioned IOPS (I/O operations per second) value.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public Integer getIops() { return this.iops; } /** *

* The Provisioned IOPS (I/O operations per second) value. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param iops * The Provisioned IOPS (I/O operations per second) value.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withIops(Integer iops) { setIops(iops); return this; } /** *

* Indicates whether the DB cluster is publicly accessible. *

*

* When the DB cluster is publicly accessible and you connect from outside of the DB cluster's virtual private cloud * (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the * same VPC as the DB cluster, the endpoint resolves to the private IP address. Access to the DB cluster is * ultimately controlled by the security group it uses. That public access isn't permitted if the security group * assigned to the DB cluster doesn't permit it. *

*

* When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves to a * private IP address. *

*

* For more information, see CreateDBCluster. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param publiclyAccessible * Indicates whether the DB cluster is publicly accessible.

*

* When the DB cluster is publicly accessible and you connect from outside of the DB cluster's virtual * private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you * connect from within the same VPC as the DB cluster, the endpoint resolves to the private IP address. * Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't * permitted if the security group assigned to the DB cluster doesn't permit it. *

*

* When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves * to a private IP address. *

*

* For more information, see CreateDBCluster. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public void setPubliclyAccessible(Boolean publiclyAccessible) { this.publiclyAccessible = publiclyAccessible; } /** *

* Indicates whether the DB cluster is publicly accessible. *

*

* When the DB cluster is publicly accessible and you connect from outside of the DB cluster's virtual private cloud * (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the * same VPC as the DB cluster, the endpoint resolves to the private IP address. Access to the DB cluster is * ultimately controlled by the security group it uses. That public access isn't permitted if the security group * assigned to the DB cluster doesn't permit it. *

*

* When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves to a * private IP address. *

*

* For more information, see CreateDBCluster. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @return Indicates whether the DB cluster is publicly accessible.

*

* When the DB cluster is publicly accessible and you connect from outside of the DB cluster's virtual * private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you * connect from within the same VPC as the DB cluster, the endpoint resolves to the private IP address. * Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't * permitted if the security group assigned to the DB cluster doesn't permit it. *

*

* When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves * to a private IP address. *

*

* For more information, see CreateDBCluster. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public Boolean getPubliclyAccessible() { return this.publiclyAccessible; } /** *

* Indicates whether the DB cluster is publicly accessible. *

*

* When the DB cluster is publicly accessible and you connect from outside of the DB cluster's virtual private cloud * (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the * same VPC as the DB cluster, the endpoint resolves to the private IP address. Access to the DB cluster is * ultimately controlled by the security group it uses. That public access isn't permitted if the security group * assigned to the DB cluster doesn't permit it. *

*

* When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves to a * private IP address. *

*

* For more information, see CreateDBCluster. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param publiclyAccessible * Indicates whether the DB cluster is publicly accessible.

*

* When the DB cluster is publicly accessible and you connect from outside of the DB cluster's virtual * private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you * connect from within the same VPC as the DB cluster, the endpoint resolves to the private IP address. * Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't * permitted if the security group assigned to the DB cluster doesn't permit it. *

*

* When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves * to a private IP address. *

*

* For more information, see CreateDBCluster. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withPubliclyAccessible(Boolean publiclyAccessible) { setPubliclyAccessible(publiclyAccessible); return this; } /** *

* Indicates whether the DB cluster is publicly accessible. *

*

* When the DB cluster is publicly accessible and you connect from outside of the DB cluster's virtual private cloud * (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the * same VPC as the DB cluster, the endpoint resolves to the private IP address. Access to the DB cluster is * ultimately controlled by the security group it uses. That public access isn't permitted if the security group * assigned to the DB cluster doesn't permit it. *

*

* When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves to a * private IP address. *

*

* For more information, see CreateDBCluster. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @return Indicates whether the DB cluster is publicly accessible.

*

* When the DB cluster is publicly accessible and you connect from outside of the DB cluster's virtual * private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you * connect from within the same VPC as the DB cluster, the endpoint resolves to the private IP address. * Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't * permitted if the security group assigned to the DB cluster doesn't permit it. *

*

* When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves * to a private IP address. *

*

* For more information, see CreateDBCluster. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public Boolean isPubliclyAccessible() { return this.publiclyAccessible; } /** *

* Indicates whether minor version patches are applied automatically. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param autoMinorVersionUpgrade * Indicates whether minor version patches are applied automatically.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public void setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) { this.autoMinorVersionUpgrade = autoMinorVersionUpgrade; } /** *

* Indicates whether minor version patches are applied automatically. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @return Indicates whether minor version patches are applied automatically.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public Boolean getAutoMinorVersionUpgrade() { return this.autoMinorVersionUpgrade; } /** *

* Indicates whether minor version patches are applied automatically. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param autoMinorVersionUpgrade * Indicates whether minor version patches are applied automatically.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) { setAutoMinorVersionUpgrade(autoMinorVersionUpgrade); return this; } /** *

* Indicates whether minor version patches are applied automatically. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @return Indicates whether minor version patches are applied automatically.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public Boolean isAutoMinorVersionUpgrade() { return this.autoMinorVersionUpgrade; } /** *

* The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param monitoringInterval * The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB * cluster.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public void setMonitoringInterval(Integer monitoringInterval) { this.monitoringInterval = monitoringInterval; } /** *

* The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @return The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB * cluster.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public Integer getMonitoringInterval() { return this.monitoringInterval; } /** *

* The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param monitoringInterval * The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB * cluster.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withMonitoringInterval(Integer monitoringInterval) { setMonitoringInterval(monitoringInterval); return this; } /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param monitoringRoleArn * The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch * Logs.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public void setMonitoringRoleArn(String monitoringRoleArn) { this.monitoringRoleArn = monitoringRoleArn; } /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @return The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch * Logs.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public String getMonitoringRoleArn() { return this.monitoringRoleArn; } /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param monitoringRoleArn * The ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch * Logs.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withMonitoringRoleArn(String monitoringRoleArn) { setMonitoringRoleArn(monitoringRoleArn); return this; } /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param performanceInsightsEnabled * Indicates whether Performance Insights is enabled for the DB cluster.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public void setPerformanceInsightsEnabled(Boolean performanceInsightsEnabled) { this.performanceInsightsEnabled = performanceInsightsEnabled; } /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @return Indicates whether Performance Insights is enabled for the DB cluster.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public Boolean getPerformanceInsightsEnabled() { return this.performanceInsightsEnabled; } /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param performanceInsightsEnabled * Indicates whether Performance Insights is enabled for the DB cluster.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withPerformanceInsightsEnabled(Boolean performanceInsightsEnabled) { setPerformanceInsightsEnabled(performanceInsightsEnabled); return this; } /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @return Indicates whether Performance Insights is enabled for the DB cluster.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public Boolean isPerformanceInsightsEnabled() { return this.performanceInsightsEnabled; } /** *

* The Amazon Web Services KMS key identifier for encryption of Performance Insights data. *

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param performanceInsightsKMSKeyId * The Amazon Web Services KMS key identifier for encryption of Performance Insights data.

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS * key. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public void setPerformanceInsightsKMSKeyId(String performanceInsightsKMSKeyId) { this.performanceInsightsKMSKeyId = performanceInsightsKMSKeyId; } /** *

* The Amazon Web Services KMS key identifier for encryption of Performance Insights data. *

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @return The Amazon Web Services KMS key identifier for encryption of Performance Insights data.

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS * key. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public String getPerformanceInsightsKMSKeyId() { return this.performanceInsightsKMSKeyId; } /** *

* The Amazon Web Services KMS key identifier for encryption of Performance Insights data. *

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param performanceInsightsKMSKeyId * The Amazon Web Services KMS key identifier for encryption of Performance Insights data.

*

* The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS * key. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withPerformanceInsightsKMSKeyId(String performanceInsightsKMSKeyId) { setPerformanceInsightsKMSKeyId(performanceInsightsKMSKeyId); return this; } /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*

* Valid Values: *

*
    *
  • *

    * 7 *

    *
  • *
  • *

    * month * 31, where month is a number of months from 1-23. Examples: 93 (3 months * 31), * 341 (11 months * 31), 589 (19 months * 31) *

    *
  • *
  • *

    * 731 *

    *
  • *
*

* Default: 7 days *

* * @param performanceInsightsRetentionPeriod * The number of days to retain Performance Insights data.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*

* Valid Values: *

*
    *
  • *

    * 7 *

    *
  • *
  • *

    * month * 31, where month is a number of months from 1-23. Examples: 93 (3 months * * 31), 341 (11 months * 31), 589 (19 months * 31) *

    *
  • *
  • *

    * 731 *

    *
  • *
*

* Default: 7 days */ public void setPerformanceInsightsRetentionPeriod(Integer performanceInsightsRetentionPeriod) { this.performanceInsightsRetentionPeriod = performanceInsightsRetentionPeriod; } /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*

* Valid Values: *

*
    *
  • *

    * 7 *

    *
  • *
  • *

    * month * 31, where month is a number of months from 1-23. Examples: 93 (3 months * 31), * 341 (11 months * 31), 589 (19 months * 31) *

    *
  • *
  • *

    * 731 *

    *
  • *
*

* Default: 7 days *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*

* Valid Values: *

*
    *
  • *

    * 7 *

    *
  • *
  • *

    * month * 31, where month is a number of months from 1-23. Examples: 93 (3 * months * 31), 341 (11 months * 31), 589 (19 months * 31) *

    *
  • *
  • *

    * 731 *

    *
  • *
*

* Default: 7 days */ public Integer getPerformanceInsightsRetentionPeriod() { return this.performanceInsightsRetentionPeriod; } /** *

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

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*

* Valid Values: *

*
    *
  • *

    * 7 *

    *
  • *
  • *

    * month * 31, where month is a number of months from 1-23. Examples: 93 (3 months * 31), * 341 (11 months * 31), 589 (19 months * 31) *

    *
  • *
  • *

    * 731 *

    *
  • *
*

* Default: 7 days *

* * @param performanceInsightsRetentionPeriod * The number of days to retain Performance Insights data.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

*

* Valid Values: *

*
    *
  • *

    * 7 *

    *
  • *
  • *

    * month * 31, where month is a number of months from 1-23. Examples: 93 (3 months * * 31), 341 (11 months * 31), 589 (19 months * 31) *

    *
  • *
  • *

    * 731 *

    *
  • *
*

* Default: 7 days * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withPerformanceInsightsRetentionPeriod(Integer performanceInsightsRetentionPeriod) { setPerformanceInsightsRetentionPeriod(performanceInsightsRetentionPeriod); return this; } /** * @param serverlessV2ScalingConfiguration */ public void setServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationInfo serverlessV2ScalingConfiguration) { this.serverlessV2ScalingConfiguration = serverlessV2ScalingConfiguration; } /** * @return */ public ServerlessV2ScalingConfigurationInfo getServerlessV2ScalingConfiguration() { return this.serverlessV2ScalingConfiguration; } /** * @param serverlessV2ScalingConfiguration * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationInfo serverlessV2ScalingConfiguration) { setServerlessV2ScalingConfiguration(serverlessV2ScalingConfiguration); return this; } /** *

* The network type of the DB instance. *

*

* The network type is determined by the DBSubnetGroup specified for the DB cluster. A * DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols ( * DUAL). *

*

* For more information, see * Working with a DB instance in a VPC in the Amazon Aurora User Guide. *

*

* This setting is only for Aurora DB clusters. *

*

* Valid Values: IPV4 | DUAL *

* * @param networkType * The network type of the DB instance.

*

* The network type is determined by the DBSubnetGroup specified for the DB cluster. A * DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols ( * DUAL). *

*

* For more information, see * Working with a DB instance in a VPC in the Amazon Aurora User Guide. *

*

* This setting is only for Aurora DB clusters. *

*

* Valid Values: IPV4 | DUAL */ public void setNetworkType(String networkType) { this.networkType = networkType; } /** *

* The network type of the DB instance. *

*

* The network type is determined by the DBSubnetGroup specified for the DB cluster. A * DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols ( * DUAL). *

*

* For more information, see * Working with a DB instance in a VPC in the Amazon Aurora User Guide. *

*

* This setting is only for Aurora DB clusters. *

*

* Valid Values: IPV4 | DUAL *

* * @return The network type of the DB instance.

*

* The network type is determined by the DBSubnetGroup specified for the DB cluster. A * DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols ( * DUAL). *

*

* For more information, see Working with a DB instance in a VPC in the Amazon Aurora User Guide. *

*

* This setting is only for Aurora DB clusters. *

*

* Valid Values: IPV4 | DUAL */ public String getNetworkType() { return this.networkType; } /** *

* The network type of the DB instance. *

*

* The network type is determined by the DBSubnetGroup specified for the DB cluster. A * DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols ( * DUAL). *

*

* For more information, see * Working with a DB instance in a VPC in the Amazon Aurora User Guide. *

*

* This setting is only for Aurora DB clusters. *

*

* Valid Values: IPV4 | DUAL *

* * @param networkType * The network type of the DB instance.

*

* The network type is determined by the DBSubnetGroup specified for the DB cluster. A * DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols ( * DUAL). *

*

* For more information, see * Working with a DB instance in a VPC in the Amazon Aurora User Guide. *

*

* This setting is only for Aurora DB clusters. *

*

* Valid Values: IPV4 | DUAL * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withNetworkType(String networkType) { setNetworkType(networkType); return this; } /** *

* Reserved for future use. *

* * @param dBSystemId * Reserved for future use. */ public void setDBSystemId(String dBSystemId) { this.dBSystemId = dBSystemId; } /** *

* Reserved for future use. *

* * @return Reserved for future use. */ public String getDBSystemId() { return this.dBSystemId; } /** *

* Reserved for future use. *

* * @param dBSystemId * Reserved for future use. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withDBSystemId(String dBSystemId) { setDBSystemId(dBSystemId); return this; } /** *

* The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password. *

*

* For more information, see Password management with * Amazon Web Services Secrets Manager in the Amazon RDS User Guide and Password management * with Amazon Web Services Secrets Manager in the Amazon Aurora User Guide. *

* * @param masterUserSecret * The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.

*

* For more information, see Password management * with Amazon Web Services Secrets Manager in the Amazon RDS User Guide and Password * management with Amazon Web Services Secrets Manager in the Amazon Aurora User Guide. */ public void setMasterUserSecret(MasterUserSecret masterUserSecret) { this.masterUserSecret = masterUserSecret; } /** *

* The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password. *

*

* For more information, see Password management with * Amazon Web Services Secrets Manager in the Amazon RDS User Guide and Password management * with Amazon Web Services Secrets Manager in the Amazon Aurora User Guide. *

* * @return The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.

*

* For more information, see Password * management with Amazon Web Services Secrets Manager in the Amazon RDS User Guide and Password * management with Amazon Web Services Secrets Manager in the Amazon Aurora User Guide. */ public MasterUserSecret getMasterUserSecret() { return this.masterUserSecret; } /** *

* The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password. *

*

* For more information, see Password management with * Amazon Web Services Secrets Manager in the Amazon RDS User Guide and Password management * with Amazon Web Services Secrets Manager in the Amazon Aurora User Guide. *

* * @param masterUserSecret * The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.

*

* For more information, see Password management * with Amazon Web Services Secrets Manager in the Amazon RDS User Guide and Password * management with Amazon Web Services Secrets Manager in the Amazon Aurora User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withMasterUserSecret(MasterUserSecret masterUserSecret) { setMasterUserSecret(masterUserSecret); return this; } /** *

* The next time you can modify the DB cluster to use the aurora-iopt1 storage type. *

*

* This setting is only for Aurora DB clusters. *

* * @param iOOptimizedNextAllowedModificationTime * The next time you can modify the DB cluster to use the aurora-iopt1 storage type.

*

* This setting is only for Aurora DB clusters. */ public void setIOOptimizedNextAllowedModificationTime(java.util.Date iOOptimizedNextAllowedModificationTime) { this.iOOptimizedNextAllowedModificationTime = iOOptimizedNextAllowedModificationTime; } /** *

* The next time you can modify the DB cluster to use the aurora-iopt1 storage type. *

*

* This setting is only for Aurora DB clusters. *

* * @return The next time you can modify the DB cluster to use the aurora-iopt1 storage type.

*

* This setting is only for Aurora DB clusters. */ public java.util.Date getIOOptimizedNextAllowedModificationTime() { return this.iOOptimizedNextAllowedModificationTime; } /** *

* The next time you can modify the DB cluster to use the aurora-iopt1 storage type. *

*

* This setting is only for Aurora DB clusters. *

* * @param iOOptimizedNextAllowedModificationTime * The next time you can modify the DB cluster to use the aurora-iopt1 storage type.

*

* This setting is only for Aurora DB clusters. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withIOOptimizedNextAllowedModificationTime(java.util.Date iOOptimizedNextAllowedModificationTime) { setIOOptimizedNextAllowedModificationTime(iOOptimizedNextAllowedModificationTime); return this; } /** *

* Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or is in * the process of enabling it. *

* * @param localWriteForwardingStatus * Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or * is in the process of enabling it. * @see LocalWriteForwardingStatus */ public void setLocalWriteForwardingStatus(String localWriteForwardingStatus) { this.localWriteForwardingStatus = localWriteForwardingStatus; } /** *

* Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or is in * the process of enabling it. *

* * @return Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, * or is in the process of enabling it. * @see LocalWriteForwardingStatus */ public String getLocalWriteForwardingStatus() { return this.localWriteForwardingStatus; } /** *

* Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or is in * the process of enabling it. *

* * @param localWriteForwardingStatus * Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or * is in the process of enabling it. * @return Returns a reference to this object so that method calls can be chained together. * @see LocalWriteForwardingStatus */ public DBCluster withLocalWriteForwardingStatus(String localWriteForwardingStatus) { setLocalWriteForwardingStatus(localWriteForwardingStatus); return this; } /** *

* Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or is in * the process of enabling it. *

* * @param localWriteForwardingStatus * Indicates whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or * is in the process of enabling it. * @return Returns a reference to this object so that method calls can be chained together. * @see LocalWriteForwardingStatus */ public DBCluster withLocalWriteForwardingStatus(LocalWriteForwardingStatus localWriteForwardingStatus) { this.localWriteForwardingStatus = localWriteForwardingStatus.toString(); return this; } /** *

* The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup. *

* * @param awsBackupRecoveryPointArn * The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup. */ public void setAwsBackupRecoveryPointArn(String awsBackupRecoveryPointArn) { this.awsBackupRecoveryPointArn = awsBackupRecoveryPointArn; } /** *

* The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup. *

* * @return The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup. */ public String getAwsBackupRecoveryPointArn() { return this.awsBackupRecoveryPointArn; } /** *

* The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup. *

* * @param awsBackupRecoveryPointArn * The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withAwsBackupRecoveryPointArn(String awsBackupRecoveryPointArn) { setAwsBackupRecoveryPointArn(awsBackupRecoveryPointArn); return this; } /** *

* The details for Aurora Limitless Database. *

* * @param limitlessDatabase * The details for Aurora Limitless Database. */ public void setLimitlessDatabase(LimitlessDatabase limitlessDatabase) { this.limitlessDatabase = limitlessDatabase; } /** *

* The details for Aurora Limitless Database. *

* * @return The details for Aurora Limitless Database. */ public LimitlessDatabase getLimitlessDatabase() { return this.limitlessDatabase; } /** *

* The details for Aurora Limitless Database. *

* * @param limitlessDatabase * The details for Aurora Limitless Database. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withLimitlessDatabase(LimitlessDatabase limitlessDatabase) { setLimitlessDatabase(limitlessDatabase); return this; } /** *

* The storage throughput for the DB cluster. The throughput is automatically set based on the IOPS that you * provision, and is not configurable. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param storageThroughput * The storage throughput for the DB cluster. The throughput is automatically set based on the IOPS that you * provision, and is not configurable.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public void setStorageThroughput(Integer storageThroughput) { this.storageThroughput = storageThroughput; } /** *

* The storage throughput for the DB cluster. The throughput is automatically set based on the IOPS that you * provision, and is not configurable. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @return The storage throughput for the DB cluster. The throughput is automatically set based on the IOPS that you * provision, and is not configurable.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. */ public Integer getStorageThroughput() { return this.storageThroughput; } /** *

* The storage throughput for the DB cluster. The throughput is automatically set based on the IOPS that you * provision, and is not configurable. *

*

* This setting is only for non-Aurora Multi-AZ DB clusters. *

* * @param storageThroughput * The storage throughput for the DB cluster. The throughput is automatically set based on the IOPS that you * provision, and is not configurable.

*

* This setting is only for non-Aurora Multi-AZ DB clusters. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withStorageThroughput(Integer storageThroughput) { setStorageThroughput(storageThroughput); return this; } /** * @param certificateDetails */ public void setCertificateDetails(CertificateDetails certificateDetails) { this.certificateDetails = certificateDetails; } /** * @return */ public CertificateDetails getCertificateDetails() { return this.certificateDetails; } /** * @param certificateDetails * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withCertificateDetails(CertificateDetails certificateDetails) { setCertificateDetails(certificateDetails); return this; } /** *

* The life cycle type for the DB cluster. *

*

* For more information, see CreateDBCluster. *

* * @param engineLifecycleSupport * The life cycle type for the DB cluster.

*

* For more information, see CreateDBCluster. */ public void setEngineLifecycleSupport(String engineLifecycleSupport) { this.engineLifecycleSupport = engineLifecycleSupport; } /** *

* The life cycle type for the DB cluster. *

*

* For more information, see CreateDBCluster. *

* * @return The life cycle type for the DB cluster.

*

* For more information, see CreateDBCluster. */ public String getEngineLifecycleSupport() { return this.engineLifecycleSupport; } /** *

* The life cycle type for the DB cluster. *

*

* For more information, see CreateDBCluster. *

* * @param engineLifecycleSupport * The life cycle type for the DB cluster.

*

* For more information, see CreateDBCluster. * @return Returns a reference to this object so that method calls can be chained together. */ public DBCluster withEngineLifecycleSupport(String engineLifecycleSupport) { setEngineLifecycleSupport(engineLifecycleSupport); 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 (getAllocatedStorage() != null) sb.append("AllocatedStorage: ").append(getAllocatedStorage()).append(","); if (getAvailabilityZones() != null) sb.append("AvailabilityZones: ").append(getAvailabilityZones()).append(","); if (getBackupRetentionPeriod() != null) sb.append("BackupRetentionPeriod: ").append(getBackupRetentionPeriod()).append(","); if (getCharacterSetName() != null) sb.append("CharacterSetName: ").append(getCharacterSetName()).append(","); if (getDatabaseName() != null) sb.append("DatabaseName: ").append(getDatabaseName()).append(","); if (getDBClusterIdentifier() != null) sb.append("DBClusterIdentifier: ").append(getDBClusterIdentifier()).append(","); if (getDBClusterParameterGroup() != null) sb.append("DBClusterParameterGroup: ").append(getDBClusterParameterGroup()).append(","); if (getDBSubnetGroup() != null) sb.append("DBSubnetGroup: ").append(getDBSubnetGroup()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getAutomaticRestartTime() != null) sb.append("AutomaticRestartTime: ").append(getAutomaticRestartTime()).append(","); if (getPercentProgress() != null) sb.append("PercentProgress: ").append(getPercentProgress()).append(","); if (getEarliestRestorableTime() != null) sb.append("EarliestRestorableTime: ").append(getEarliestRestorableTime()).append(","); if (getEndpoint() != null) sb.append("Endpoint: ").append(getEndpoint()).append(","); if (getReaderEndpoint() != null) sb.append("ReaderEndpoint: ").append(getReaderEndpoint()).append(","); if (getCustomEndpoints() != null) sb.append("CustomEndpoints: ").append(getCustomEndpoints()).append(","); if (getMultiAZ() != null) sb.append("MultiAZ: ").append(getMultiAZ()).append(","); if (getEngine() != null) sb.append("Engine: ").append(getEngine()).append(","); if (getEngineVersion() != null) sb.append("EngineVersion: ").append(getEngineVersion()).append(","); if (getLatestRestorableTime() != null) sb.append("LatestRestorableTime: ").append(getLatestRestorableTime()).append(","); if (getPort() != null) sb.append("Port: ").append(getPort()).append(","); if (getMasterUsername() != null) sb.append("MasterUsername: ").append(getMasterUsername()).append(","); if (getDBClusterOptionGroupMemberships() != null) sb.append("DBClusterOptionGroupMemberships: ").append(getDBClusterOptionGroupMemberships()).append(","); if (getPreferredBackupWindow() != null) sb.append("PreferredBackupWindow: ").append(getPreferredBackupWindow()).append(","); if (getPreferredMaintenanceWindow() != null) sb.append("PreferredMaintenanceWindow: ").append(getPreferredMaintenanceWindow()).append(","); if (getReplicationSourceIdentifier() != null) sb.append("ReplicationSourceIdentifier: ").append(getReplicationSourceIdentifier()).append(","); if (getReadReplicaIdentifiers() != null) sb.append("ReadReplicaIdentifiers: ").append(getReadReplicaIdentifiers()).append(","); if (getStatusInfos() != null) sb.append("StatusInfos: ").append(getStatusInfos()).append(","); if (getDBClusterMembers() != null) sb.append("DBClusterMembers: ").append(getDBClusterMembers()).append(","); if (getVpcSecurityGroups() != null) sb.append("VpcSecurityGroups: ").append(getVpcSecurityGroups()).append(","); if (getHostedZoneId() != null) sb.append("HostedZoneId: ").append(getHostedZoneId()).append(","); if (getStorageEncrypted() != null) sb.append("StorageEncrypted: ").append(getStorageEncrypted()).append(","); if (getKmsKeyId() != null) sb.append("KmsKeyId: ").append(getKmsKeyId()).append(","); if (getDbClusterResourceId() != null) sb.append("DbClusterResourceId: ").append(getDbClusterResourceId()).append(","); if (getDBClusterArn() != null) sb.append("DBClusterArn: ").append(getDBClusterArn()).append(","); if (getAssociatedRoles() != null) sb.append("AssociatedRoles: ").append(getAssociatedRoles()).append(","); if (getIAMDatabaseAuthenticationEnabled() != null) sb.append("IAMDatabaseAuthenticationEnabled: ").append(getIAMDatabaseAuthenticationEnabled()).append(","); if (getCloneGroupId() != null) sb.append("CloneGroupId: ").append(getCloneGroupId()).append(","); if (getClusterCreateTime() != null) sb.append("ClusterCreateTime: ").append(getClusterCreateTime()).append(","); if (getEarliestBacktrackTime() != null) sb.append("EarliestBacktrackTime: ").append(getEarliestBacktrackTime()).append(","); if (getBacktrackWindow() != null) sb.append("BacktrackWindow: ").append(getBacktrackWindow()).append(","); if (getBacktrackConsumedChangeRecords() != null) sb.append("BacktrackConsumedChangeRecords: ").append(getBacktrackConsumedChangeRecords()).append(","); if (getEnabledCloudwatchLogsExports() != null) sb.append("EnabledCloudwatchLogsExports: ").append(getEnabledCloudwatchLogsExports()).append(","); if (getCapacity() != null) sb.append("Capacity: ").append(getCapacity()).append(","); if (getEngineMode() != null) sb.append("EngineMode: ").append(getEngineMode()).append(","); if (getScalingConfigurationInfo() != null) sb.append("ScalingConfigurationInfo: ").append(getScalingConfigurationInfo()).append(","); if (getRdsCustomClusterConfiguration() != null) sb.append("RdsCustomClusterConfiguration: ").append(getRdsCustomClusterConfiguration()).append(","); if (getDeletionProtection() != null) sb.append("DeletionProtection: ").append(getDeletionProtection()).append(","); if (getHttpEndpointEnabled() != null) sb.append("HttpEndpointEnabled: ").append(getHttpEndpointEnabled()).append(","); if (getActivityStreamMode() != null) sb.append("ActivityStreamMode: ").append(getActivityStreamMode()).append(","); if (getActivityStreamStatus() != null) sb.append("ActivityStreamStatus: ").append(getActivityStreamStatus()).append(","); if (getActivityStreamKmsKeyId() != null) sb.append("ActivityStreamKmsKeyId: ").append(getActivityStreamKmsKeyId()).append(","); if (getActivityStreamKinesisStreamName() != null) sb.append("ActivityStreamKinesisStreamName: ").append(getActivityStreamKinesisStreamName()).append(","); if (getCopyTagsToSnapshot() != null) sb.append("CopyTagsToSnapshot: ").append(getCopyTagsToSnapshot()).append(","); if (getCrossAccountClone() != null) sb.append("CrossAccountClone: ").append(getCrossAccountClone()).append(","); if (getDomainMemberships() != null) sb.append("DomainMemberships: ").append(getDomainMemberships()).append(","); if (getTagList() != null) sb.append("TagList: ").append(getTagList()).append(","); if (getGlobalWriteForwardingStatus() != null) sb.append("GlobalWriteForwardingStatus: ").append(getGlobalWriteForwardingStatus()).append(","); if (getGlobalWriteForwardingRequested() != null) sb.append("GlobalWriteForwardingRequested: ").append(getGlobalWriteForwardingRequested()).append(","); if (getPendingModifiedValues() != null) sb.append("PendingModifiedValues: ").append(getPendingModifiedValues()).append(","); if (getDBClusterInstanceClass() != null) sb.append("DBClusterInstanceClass: ").append(getDBClusterInstanceClass()).append(","); if (getStorageType() != null) sb.append("StorageType: ").append(getStorageType()).append(","); if (getIops() != null) sb.append("Iops: ").append(getIops()).append(","); if (getPubliclyAccessible() != null) sb.append("PubliclyAccessible: ").append(getPubliclyAccessible()).append(","); if (getAutoMinorVersionUpgrade() != null) sb.append("AutoMinorVersionUpgrade: ").append(getAutoMinorVersionUpgrade()).append(","); if (getMonitoringInterval() != null) sb.append("MonitoringInterval: ").append(getMonitoringInterval()).append(","); if (getMonitoringRoleArn() != null) sb.append("MonitoringRoleArn: ").append(getMonitoringRoleArn()).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 (getServerlessV2ScalingConfiguration() != null) sb.append("ServerlessV2ScalingConfiguration: ").append(getServerlessV2ScalingConfiguration()).append(","); if (getNetworkType() != null) sb.append("NetworkType: ").append(getNetworkType()).append(","); if (getDBSystemId() != null) sb.append("DBSystemId: ").append(getDBSystemId()).append(","); if (getMasterUserSecret() != null) sb.append("MasterUserSecret: ").append(getMasterUserSecret()).append(","); if (getIOOptimizedNextAllowedModificationTime() != null) sb.append("IOOptimizedNextAllowedModificationTime: ").append(getIOOptimizedNextAllowedModificationTime()).append(","); if (getLocalWriteForwardingStatus() != null) sb.append("LocalWriteForwardingStatus: ").append(getLocalWriteForwardingStatus()).append(","); if (getAwsBackupRecoveryPointArn() != null) sb.append("AwsBackupRecoveryPointArn: ").append(getAwsBackupRecoveryPointArn()).append(","); if (getLimitlessDatabase() != null) sb.append("LimitlessDatabase: ").append(getLimitlessDatabase()).append(","); if (getStorageThroughput() != null) sb.append("StorageThroughput: ").append(getStorageThroughput()).append(","); if (getCertificateDetails() != null) sb.append("CertificateDetails: ").append(getCertificateDetails()).append(","); if (getEngineLifecycleSupport() != null) sb.append("EngineLifecycleSupport: ").append(getEngineLifecycleSupport()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DBCluster == false) return false; DBCluster other = (DBCluster) obj; if (other.getAllocatedStorage() == null ^ this.getAllocatedStorage() == null) return false; if (other.getAllocatedStorage() != null && other.getAllocatedStorage().equals(this.getAllocatedStorage()) == false) return false; if (other.getAvailabilityZones() == null ^ this.getAvailabilityZones() == null) return false; if (other.getAvailabilityZones() != null && other.getAvailabilityZones().equals(this.getAvailabilityZones()) == 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.getCharacterSetName() == null ^ this.getCharacterSetName() == null) return false; if (other.getCharacterSetName() != null && other.getCharacterSetName().equals(this.getCharacterSetName()) == false) return false; if (other.getDatabaseName() == null ^ this.getDatabaseName() == null) return false; if (other.getDatabaseName() != null && other.getDatabaseName().equals(this.getDatabaseName()) == 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.getDBClusterParameterGroup() == null ^ this.getDBClusterParameterGroup() == null) return false; if (other.getDBClusterParameterGroup() != null && other.getDBClusterParameterGroup().equals(this.getDBClusterParameterGroup()) == 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.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getAutomaticRestartTime() == null ^ this.getAutomaticRestartTime() == null) return false; if (other.getAutomaticRestartTime() != null && other.getAutomaticRestartTime().equals(this.getAutomaticRestartTime()) == false) return false; if (other.getPercentProgress() == null ^ this.getPercentProgress() == null) return false; if (other.getPercentProgress() != null && other.getPercentProgress().equals(this.getPercentProgress()) == false) return false; if (other.getEarliestRestorableTime() == null ^ this.getEarliestRestorableTime() == null) return false; if (other.getEarliestRestorableTime() != null && other.getEarliestRestorableTime().equals(this.getEarliestRestorableTime()) == 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.getReaderEndpoint() == null ^ this.getReaderEndpoint() == null) return false; if (other.getReaderEndpoint() != null && other.getReaderEndpoint().equals(this.getReaderEndpoint()) == false) return false; if (other.getCustomEndpoints() == null ^ this.getCustomEndpoints() == null) return false; if (other.getCustomEndpoints() != null && other.getCustomEndpoints().equals(this.getCustomEndpoints()) == 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.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.getLatestRestorableTime() == null ^ this.getLatestRestorableTime() == null) return false; if (other.getLatestRestorableTime() != null && other.getLatestRestorableTime().equals(this.getLatestRestorableTime()) == false) return false; if (other.getPort() == null ^ this.getPort() == null) return false; if (other.getPort() != null && other.getPort().equals(this.getPort()) == 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.getDBClusterOptionGroupMemberships() == null ^ this.getDBClusterOptionGroupMemberships() == null) return false; if (other.getDBClusterOptionGroupMemberships() != null && other.getDBClusterOptionGroupMemberships().equals(this.getDBClusterOptionGroupMemberships()) == 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.getPreferredMaintenanceWindow() == null ^ this.getPreferredMaintenanceWindow() == null) return false; if (other.getPreferredMaintenanceWindow() != null && other.getPreferredMaintenanceWindow().equals(this.getPreferredMaintenanceWindow()) == false) return false; if (other.getReplicationSourceIdentifier() == null ^ this.getReplicationSourceIdentifier() == null) return false; if (other.getReplicationSourceIdentifier() != null && other.getReplicationSourceIdentifier().equals(this.getReplicationSourceIdentifier()) == false) return false; if (other.getReadReplicaIdentifiers() == null ^ this.getReadReplicaIdentifiers() == null) return false; if (other.getReadReplicaIdentifiers() != null && other.getReadReplicaIdentifiers().equals(this.getReadReplicaIdentifiers()) == 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.getDBClusterMembers() == null ^ this.getDBClusterMembers() == null) return false; if (other.getDBClusterMembers() != null && other.getDBClusterMembers().equals(this.getDBClusterMembers()) == 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.getHostedZoneId() == null ^ this.getHostedZoneId() == null) return false; if (other.getHostedZoneId() != null && other.getHostedZoneId().equals(this.getHostedZoneId()) == 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.getKmsKeyId() == null ^ this.getKmsKeyId() == null) return false; if (other.getKmsKeyId() != null && other.getKmsKeyId().equals(this.getKmsKeyId()) == false) return false; if (other.getDbClusterResourceId() == null ^ this.getDbClusterResourceId() == null) return false; if (other.getDbClusterResourceId() != null && other.getDbClusterResourceId().equals(this.getDbClusterResourceId()) == false) return false; if (other.getDBClusterArn() == null ^ this.getDBClusterArn() == null) return false; if (other.getDBClusterArn() != null && other.getDBClusterArn().equals(this.getDBClusterArn()) == false) return false; if (other.getAssociatedRoles() == null ^ this.getAssociatedRoles() == null) return false; if (other.getAssociatedRoles() != null && other.getAssociatedRoles().equals(this.getAssociatedRoles()) == 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.getCloneGroupId() == null ^ this.getCloneGroupId() == null) return false; if (other.getCloneGroupId() != null && other.getCloneGroupId().equals(this.getCloneGroupId()) == false) return false; if (other.getClusterCreateTime() == null ^ this.getClusterCreateTime() == null) return false; if (other.getClusterCreateTime() != null && other.getClusterCreateTime().equals(this.getClusterCreateTime()) == false) return false; if (other.getEarliestBacktrackTime() == null ^ this.getEarliestBacktrackTime() == null) return false; if (other.getEarliestBacktrackTime() != null && other.getEarliestBacktrackTime().equals(this.getEarliestBacktrackTime()) == false) return false; if (other.getBacktrackWindow() == null ^ this.getBacktrackWindow() == null) return false; if (other.getBacktrackWindow() != null && other.getBacktrackWindow().equals(this.getBacktrackWindow()) == false) return false; if (other.getBacktrackConsumedChangeRecords() == null ^ this.getBacktrackConsumedChangeRecords() == null) return false; if (other.getBacktrackConsumedChangeRecords() != null && other.getBacktrackConsumedChangeRecords().equals(this.getBacktrackConsumedChangeRecords()) == 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.getCapacity() == null ^ this.getCapacity() == null) return false; if (other.getCapacity() != null && other.getCapacity().equals(this.getCapacity()) == false) return false; if (other.getEngineMode() == null ^ this.getEngineMode() == null) return false; if (other.getEngineMode() != null && other.getEngineMode().equals(this.getEngineMode()) == false) return false; if (other.getScalingConfigurationInfo() == null ^ this.getScalingConfigurationInfo() == null) return false; if (other.getScalingConfigurationInfo() != null && other.getScalingConfigurationInfo().equals(this.getScalingConfigurationInfo()) == false) return false; if (other.getRdsCustomClusterConfiguration() == null ^ this.getRdsCustomClusterConfiguration() == null) return false; if (other.getRdsCustomClusterConfiguration() != null && other.getRdsCustomClusterConfiguration().equals(this.getRdsCustomClusterConfiguration()) == 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.getHttpEndpointEnabled() == null ^ this.getHttpEndpointEnabled() == null) return false; if (other.getHttpEndpointEnabled() != null && other.getHttpEndpointEnabled().equals(this.getHttpEndpointEnabled()) == false) return false; if (other.getActivityStreamMode() == null ^ this.getActivityStreamMode() == null) return false; if (other.getActivityStreamMode() != null && other.getActivityStreamMode().equals(this.getActivityStreamMode()) == false) return false; if (other.getActivityStreamStatus() == null ^ this.getActivityStreamStatus() == null) return false; if (other.getActivityStreamStatus() != null && other.getActivityStreamStatus().equals(this.getActivityStreamStatus()) == false) return false; if (other.getActivityStreamKmsKeyId() == null ^ this.getActivityStreamKmsKeyId() == null) return false; if (other.getActivityStreamKmsKeyId() != null && other.getActivityStreamKmsKeyId().equals(this.getActivityStreamKmsKeyId()) == false) return false; if (other.getActivityStreamKinesisStreamName() == null ^ this.getActivityStreamKinesisStreamName() == null) return false; if (other.getActivityStreamKinesisStreamName() != null && other.getActivityStreamKinesisStreamName().equals(this.getActivityStreamKinesisStreamName()) == 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.getCrossAccountClone() == null ^ this.getCrossAccountClone() == null) return false; if (other.getCrossAccountClone() != null && other.getCrossAccountClone().equals(this.getCrossAccountClone()) == 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.getTagList() == null ^ this.getTagList() == null) return false; if (other.getTagList() != null && other.getTagList().equals(this.getTagList()) == false) return false; if (other.getGlobalWriteForwardingStatus() == null ^ this.getGlobalWriteForwardingStatus() == null) return false; if (other.getGlobalWriteForwardingStatus() != null && other.getGlobalWriteForwardingStatus().equals(this.getGlobalWriteForwardingStatus()) == false) return false; if (other.getGlobalWriteForwardingRequested() == null ^ this.getGlobalWriteForwardingRequested() == null) return false; if (other.getGlobalWriteForwardingRequested() != null && other.getGlobalWriteForwardingRequested().equals(this.getGlobalWriteForwardingRequested()) == 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.getDBClusterInstanceClass() == null ^ this.getDBClusterInstanceClass() == null) return false; if (other.getDBClusterInstanceClass() != null && other.getDBClusterInstanceClass().equals(this.getDBClusterInstanceClass()) == 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.getIops() == null ^ this.getIops() == null) return false; if (other.getIops() != null && other.getIops().equals(this.getIops()) == 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.getAutoMinorVersionUpgrade() == null ^ this.getAutoMinorVersionUpgrade() == null) return false; if (other.getAutoMinorVersionUpgrade() != null && other.getAutoMinorVersionUpgrade().equals(this.getAutoMinorVersionUpgrade()) == 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.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.getServerlessV2ScalingConfiguration() == null ^ this.getServerlessV2ScalingConfiguration() == null) return false; if (other.getServerlessV2ScalingConfiguration() != null && other.getServerlessV2ScalingConfiguration().equals(this.getServerlessV2ScalingConfiguration()) == false) return false; if (other.getNetworkType() == null ^ this.getNetworkType() == null) return false; if (other.getNetworkType() != null && other.getNetworkType().equals(this.getNetworkType()) == false) return false; if (other.getDBSystemId() == null ^ this.getDBSystemId() == null) return false; if (other.getDBSystemId() != null && other.getDBSystemId().equals(this.getDBSystemId()) == false) return false; if (other.getMasterUserSecret() == null ^ this.getMasterUserSecret() == null) return false; if (other.getMasterUserSecret() != null && other.getMasterUserSecret().equals(this.getMasterUserSecret()) == false) return false; if (other.getIOOptimizedNextAllowedModificationTime() == null ^ this.getIOOptimizedNextAllowedModificationTime() == null) return false; if (other.getIOOptimizedNextAllowedModificationTime() != null && other.getIOOptimizedNextAllowedModificationTime().equals(this.getIOOptimizedNextAllowedModificationTime()) == false) return false; if (other.getLocalWriteForwardingStatus() == null ^ this.getLocalWriteForwardingStatus() == null) return false; if (other.getLocalWriteForwardingStatus() != null && other.getLocalWriteForwardingStatus().equals(this.getLocalWriteForwardingStatus()) == false) return false; if (other.getAwsBackupRecoveryPointArn() == null ^ this.getAwsBackupRecoveryPointArn() == null) return false; if (other.getAwsBackupRecoveryPointArn() != null && other.getAwsBackupRecoveryPointArn().equals(this.getAwsBackupRecoveryPointArn()) == false) return false; if (other.getLimitlessDatabase() == null ^ this.getLimitlessDatabase() == null) return false; if (other.getLimitlessDatabase() != null && other.getLimitlessDatabase().equals(this.getLimitlessDatabase()) == false) return false; if (other.getStorageThroughput() == null ^ this.getStorageThroughput() == null) return false; if (other.getStorageThroughput() != null && other.getStorageThroughput().equals(this.getStorageThroughput()) == false) return false; if (other.getCertificateDetails() == null ^ this.getCertificateDetails() == null) return false; if (other.getCertificateDetails() != null && other.getCertificateDetails().equals(this.getCertificateDetails()) == false) return false; if (other.getEngineLifecycleSupport() == null ^ this.getEngineLifecycleSupport() == null) return false; if (other.getEngineLifecycleSupport() != null && other.getEngineLifecycleSupport().equals(this.getEngineLifecycleSupport()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAllocatedStorage() == null) ? 0 : getAllocatedStorage().hashCode()); hashCode = prime * hashCode + ((getAvailabilityZones() == null) ? 0 : getAvailabilityZones().hashCode()); hashCode = prime * hashCode + ((getBackupRetentionPeriod() == null) ? 0 : getBackupRetentionPeriod().hashCode()); hashCode = prime * hashCode + ((getCharacterSetName() == null) ? 0 : getCharacterSetName().hashCode()); hashCode = prime * hashCode + ((getDatabaseName() == null) ? 0 : getDatabaseName().hashCode()); hashCode = prime * hashCode + ((getDBClusterIdentifier() == null) ? 0 : getDBClusterIdentifier().hashCode()); hashCode = prime * hashCode + ((getDBClusterParameterGroup() == null) ? 0 : getDBClusterParameterGroup().hashCode()); hashCode = prime * hashCode + ((getDBSubnetGroup() == null) ? 0 : getDBSubnetGroup().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getAutomaticRestartTime() == null) ? 0 : getAutomaticRestartTime().hashCode()); hashCode = prime * hashCode + ((getPercentProgress() == null) ? 0 : getPercentProgress().hashCode()); hashCode = prime * hashCode + ((getEarliestRestorableTime() == null) ? 0 : getEarliestRestorableTime().hashCode()); hashCode = prime * hashCode + ((getEndpoint() == null) ? 0 : getEndpoint().hashCode()); hashCode = prime * hashCode + ((getReaderEndpoint() == null) ? 0 : getReaderEndpoint().hashCode()); hashCode = prime * hashCode + ((getCustomEndpoints() == null) ? 0 : getCustomEndpoints().hashCode()); hashCode = prime * hashCode + ((getMultiAZ() == null) ? 0 : getMultiAZ().hashCode()); hashCode = prime * hashCode + ((getEngine() == null) ? 0 : getEngine().hashCode()); hashCode = prime * hashCode + ((getEngineVersion() == null) ? 0 : getEngineVersion().hashCode()); hashCode = prime * hashCode + ((getLatestRestorableTime() == null) ? 0 : getLatestRestorableTime().hashCode()); hashCode = prime * hashCode + ((getPort() == null) ? 0 : getPort().hashCode()); hashCode = prime * hashCode + ((getMasterUsername() == null) ? 0 : getMasterUsername().hashCode()); hashCode = prime * hashCode + ((getDBClusterOptionGroupMemberships() == null) ? 0 : getDBClusterOptionGroupMemberships().hashCode()); hashCode = prime * hashCode + ((getPreferredBackupWindow() == null) ? 0 : getPreferredBackupWindow().hashCode()); hashCode = prime * hashCode + ((getPreferredMaintenanceWindow() == null) ? 0 : getPreferredMaintenanceWindow().hashCode()); hashCode = prime * hashCode + ((getReplicationSourceIdentifier() == null) ? 0 : getReplicationSourceIdentifier().hashCode()); hashCode = prime * hashCode + ((getReadReplicaIdentifiers() == null) ? 0 : getReadReplicaIdentifiers().hashCode()); hashCode = prime * hashCode + ((getStatusInfos() == null) ? 0 : getStatusInfos().hashCode()); hashCode = prime * hashCode + ((getDBClusterMembers() == null) ? 0 : getDBClusterMembers().hashCode()); hashCode = prime * hashCode + ((getVpcSecurityGroups() == null) ? 0 : getVpcSecurityGroups().hashCode()); hashCode = prime * hashCode + ((getHostedZoneId() == null) ? 0 : getHostedZoneId().hashCode()); hashCode = prime * hashCode + ((getStorageEncrypted() == null) ? 0 : getStorageEncrypted().hashCode()); hashCode = prime * hashCode + ((getKmsKeyId() == null) ? 0 : getKmsKeyId().hashCode()); hashCode = prime * hashCode + ((getDbClusterResourceId() == null) ? 0 : getDbClusterResourceId().hashCode()); hashCode = prime * hashCode + ((getDBClusterArn() == null) ? 0 : getDBClusterArn().hashCode()); hashCode = prime * hashCode + ((getAssociatedRoles() == null) ? 0 : getAssociatedRoles().hashCode()); hashCode = prime * hashCode + ((getIAMDatabaseAuthenticationEnabled() == null) ? 0 : getIAMDatabaseAuthenticationEnabled().hashCode()); hashCode = prime * hashCode + ((getCloneGroupId() == null) ? 0 : getCloneGroupId().hashCode()); hashCode = prime * hashCode + ((getClusterCreateTime() == null) ? 0 : getClusterCreateTime().hashCode()); hashCode = prime * hashCode + ((getEarliestBacktrackTime() == null) ? 0 : getEarliestBacktrackTime().hashCode()); hashCode = prime * hashCode + ((getBacktrackWindow() == null) ? 0 : getBacktrackWindow().hashCode()); hashCode = prime * hashCode + ((getBacktrackConsumedChangeRecords() == null) ? 0 : getBacktrackConsumedChangeRecords().hashCode()); hashCode = prime * hashCode + ((getEnabledCloudwatchLogsExports() == null) ? 0 : getEnabledCloudwatchLogsExports().hashCode()); hashCode = prime * hashCode + ((getCapacity() == null) ? 0 : getCapacity().hashCode()); hashCode = prime * hashCode + ((getEngineMode() == null) ? 0 : getEngineMode().hashCode()); hashCode = prime * hashCode + ((getScalingConfigurationInfo() == null) ? 0 : getScalingConfigurationInfo().hashCode()); hashCode = prime * hashCode + ((getRdsCustomClusterConfiguration() == null) ? 0 : getRdsCustomClusterConfiguration().hashCode()); hashCode = prime * hashCode + ((getDeletionProtection() == null) ? 0 : getDeletionProtection().hashCode()); hashCode = prime * hashCode + ((getHttpEndpointEnabled() == null) ? 0 : getHttpEndpointEnabled().hashCode()); hashCode = prime * hashCode + ((getActivityStreamMode() == null) ? 0 : getActivityStreamMode().hashCode()); hashCode = prime * hashCode + ((getActivityStreamStatus() == null) ? 0 : getActivityStreamStatus().hashCode()); hashCode = prime * hashCode + ((getActivityStreamKmsKeyId() == null) ? 0 : getActivityStreamKmsKeyId().hashCode()); hashCode = prime * hashCode + ((getActivityStreamKinesisStreamName() == null) ? 0 : getActivityStreamKinesisStreamName().hashCode()); hashCode = prime * hashCode + ((getCopyTagsToSnapshot() == null) ? 0 : getCopyTagsToSnapshot().hashCode()); hashCode = prime * hashCode + ((getCrossAccountClone() == null) ? 0 : getCrossAccountClone().hashCode()); hashCode = prime * hashCode + ((getDomainMemberships() == null) ? 0 : getDomainMemberships().hashCode()); hashCode = prime * hashCode + ((getTagList() == null) ? 0 : getTagList().hashCode()); hashCode = prime * hashCode + ((getGlobalWriteForwardingStatus() == null) ? 0 : getGlobalWriteForwardingStatus().hashCode()); hashCode = prime * hashCode + ((getGlobalWriteForwardingRequested() == null) ? 0 : getGlobalWriteForwardingRequested().hashCode()); hashCode = prime * hashCode + ((getPendingModifiedValues() == null) ? 0 : getPendingModifiedValues().hashCode()); hashCode = prime * hashCode + ((getDBClusterInstanceClass() == null) ? 0 : getDBClusterInstanceClass().hashCode()); hashCode = prime * hashCode + ((getStorageType() == null) ? 0 : getStorageType().hashCode()); hashCode = prime * hashCode + ((getIops() == null) ? 0 : getIops().hashCode()); hashCode = prime * hashCode + ((getPubliclyAccessible() == null) ? 0 : getPubliclyAccessible().hashCode()); hashCode = prime * hashCode + ((getAutoMinorVersionUpgrade() == null) ? 0 : getAutoMinorVersionUpgrade().hashCode()); hashCode = prime * hashCode + ((getMonitoringInterval() == null) ? 0 : getMonitoringInterval().hashCode()); hashCode = prime * hashCode + ((getMonitoringRoleArn() == null) ? 0 : getMonitoringRoleArn().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 + ((getServerlessV2ScalingConfiguration() == null) ? 0 : getServerlessV2ScalingConfiguration().hashCode()); hashCode = prime * hashCode + ((getNetworkType() == null) ? 0 : getNetworkType().hashCode()); hashCode = prime * hashCode + ((getDBSystemId() == null) ? 0 : getDBSystemId().hashCode()); hashCode = prime * hashCode + ((getMasterUserSecret() == null) ? 0 : getMasterUserSecret().hashCode()); hashCode = prime * hashCode + ((getIOOptimizedNextAllowedModificationTime() == null) ? 0 : getIOOptimizedNextAllowedModificationTime().hashCode()); hashCode = prime * hashCode + ((getLocalWriteForwardingStatus() == null) ? 0 : getLocalWriteForwardingStatus().hashCode()); hashCode = prime * hashCode + ((getAwsBackupRecoveryPointArn() == null) ? 0 : getAwsBackupRecoveryPointArn().hashCode()); hashCode = prime * hashCode + ((getLimitlessDatabase() == null) ? 0 : getLimitlessDatabase().hashCode()); hashCode = prime * hashCode + ((getStorageThroughput() == null) ? 0 : getStorageThroughput().hashCode()); hashCode = prime * hashCode + ((getCertificateDetails() == null) ? 0 : getCertificateDetails().hashCode()); hashCode = prime * hashCode + ((getEngineLifecycleSupport() == null) ? 0 : getEngineLifecycleSupport().hashCode()); return hashCode; } @Override public DBCluster clone() { try { return (DBCluster) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy