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

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

Go to download

The AWS Java SDK for Amazon RDS module holds the client classes that are used for communicating with Amazon Relational Database Service

The newest version!
/*
 * 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;

/**
 * 

* This data type is used as a response element in the ModifyDBInstance operation and contains changes that * will be applied during the next maintenance window. *

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

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

*/ private String dBInstanceClass; /** *

* The allocated storage size for the DB instance specified in gibibytes (GiB). *

*/ private Integer allocatedStorage; /** *

* The master credentials for the DB instance. *

*/ private String masterUserPassword; /** *

* The port for the DB instance. *

*/ private Integer port; /** *

* The number of days for which automated backups are retained. *

*/ private Integer backupRetentionPeriod; /** *

* Indicates whether the Single-AZ DB instance will change to a Multi-AZ deployment. *

*/ private Boolean multiAZ; /** *

* The database engine version. *

*/ private String engineVersion; /** *

* The license model for the DB instance. *

*

* Valid values: license-included | bring-your-own-license | * general-public-license *

*/ private String licenseModel; /** *

* The Provisioned IOPS value for the DB instance. *

*/ private Integer iops; /** *

* The database identifier for the DB instance. *

*/ private String dBInstanceIdentifier; /** *

* The storage type of the DB instance. *

*/ private String storageType; /** *

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

*

* For more information, see Using SSL/TLS to encrypt a * connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to * encrypt a connection to a DB cluster in the Amazon Aurora User Guide. *

*/ private String cACertificateIdentifier; /** *

* The DB subnet group for the DB instance. *

*/ private String dBSubnetGroupName; private PendingCloudwatchLogsExports pendingCloudwatchLogsExports; /** *

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

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

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

*/ private Boolean iAMDatabaseAuthenticationEnabled; /** *

* The automation mode of the RDS Custom DB instance: full or all-paused. If * full, the DB instance automates monitoring and instance recovery. If all-paused, the * instance pauses automation for the duration set by --resume-full-automation-mode-minutes. *

*/ private String automationMode; /** *

* The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full automation. The * minimum value is 60 (default). The maximum value is 1,440. *

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

* The storage throughput of the DB instance. *

*/ private Integer storageThroughput; /** *

* The database engine of the DB instance. *

*/ private String engine; /** *

* Indicates whether the DB instance has a dedicated log volume (DLV) enabled.> *

*/ private Boolean dedicatedLogVolume; /** *

* Indicates whether the DB instance will change to the multi-tenant configuration (TRUE) or the single-tenant * configuration (FALSE). *

*/ private Boolean multiTenant; /** *

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

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

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

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

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

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

* The allocated storage size for the DB instance specified in gibibytes (GiB). *

* * @param allocatedStorage * The allocated storage size for the DB instance specified in gibibytes (GiB). */ public void setAllocatedStorage(Integer allocatedStorage) { this.allocatedStorage = allocatedStorage; } /** *

* The allocated storage size for the DB instance specified in gibibytes (GiB). *

* * @return The allocated storage size for the DB instance specified in gibibytes (GiB). */ public Integer getAllocatedStorage() { return this.allocatedStorage; } /** *

* The allocated storage size for the DB instance specified in gibibytes (GiB). *

* * @param allocatedStorage * The allocated storage size for the DB instance specified in gibibytes (GiB). * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withAllocatedStorage(Integer allocatedStorage) { setAllocatedStorage(allocatedStorage); return this; } /** *

* The master credentials for the DB instance. *

* * @param masterUserPassword * The master credentials for the DB instance. */ public void setMasterUserPassword(String masterUserPassword) { this.masterUserPassword = masterUserPassword; } /** *

* The master credentials for the DB instance. *

* * @return The master credentials for the DB instance. */ public String getMasterUserPassword() { return this.masterUserPassword; } /** *

* The master credentials for the DB instance. *

* * @param masterUserPassword * The master credentials for the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withMasterUserPassword(String masterUserPassword) { setMasterUserPassword(masterUserPassword); return this; } /** *

* The port for the DB instance. *

* * @param port * The port for the DB instance. */ public void setPort(Integer port) { this.port = port; } /** *

* The port for the DB instance. *

* * @return The port for the DB instance. */ public Integer getPort() { return this.port; } /** *

* The port for the DB instance. *

* * @param port * The port for the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withPort(Integer port) { setPort(port); return this; } /** *

* The number of days for which automated backups are retained. *

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

* The number of days for which automated backups are retained. *

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

* The number of days for which automated backups are retained. *

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

* Indicates whether the Single-AZ DB instance will change to a Multi-AZ deployment. *

* * @param multiAZ * Indicates whether the Single-AZ DB instance will change to a Multi-AZ deployment. */ public void setMultiAZ(Boolean multiAZ) { this.multiAZ = multiAZ; } /** *

* Indicates whether the Single-AZ DB instance will change to a Multi-AZ deployment. *

* * @return Indicates whether the Single-AZ DB instance will change to a Multi-AZ deployment. */ public Boolean getMultiAZ() { return this.multiAZ; } /** *

* Indicates whether the Single-AZ DB instance will change to a Multi-AZ deployment. *

* * @param multiAZ * Indicates whether the Single-AZ DB instance will change to a Multi-AZ deployment. * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withMultiAZ(Boolean multiAZ) { setMultiAZ(multiAZ); return this; } /** *

* Indicates whether the Single-AZ DB instance will change to a Multi-AZ deployment. *

* * @return Indicates whether the Single-AZ DB instance will change to a Multi-AZ deployment. */ public Boolean isMultiAZ() { return this.multiAZ; } /** *

* The database engine version. *

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

* The database engine version. *

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

* The database engine version. *

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

* The license model for the DB instance. *

*

* Valid values: license-included | bring-your-own-license | * general-public-license *

* * @param licenseModel * The license model for the DB instance.

*

* Valid values: license-included | bring-your-own-license | * general-public-license */ public void setLicenseModel(String licenseModel) { this.licenseModel = licenseModel; } /** *

* The license model for the DB instance. *

*

* Valid values: license-included | bring-your-own-license | * general-public-license *

* * @return The license model for the DB instance.

*

* Valid values: license-included | bring-your-own-license | * general-public-license */ public String getLicenseModel() { return this.licenseModel; } /** *

* The license model for the DB instance. *

*

* Valid values: license-included | bring-your-own-license | * general-public-license *

* * @param licenseModel * The license model for the DB instance.

*

* Valid values: license-included | bring-your-own-license | * general-public-license * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withLicenseModel(String licenseModel) { setLicenseModel(licenseModel); return this; } /** *

* The Provisioned IOPS value for the DB instance. *

* * @param iops * The Provisioned IOPS value for the DB instance. */ public void setIops(Integer iops) { this.iops = iops; } /** *

* The Provisioned IOPS value for the DB instance. *

* * @return The Provisioned IOPS value for the DB instance. */ public Integer getIops() { return this.iops; } /** *

* The Provisioned IOPS value for the DB instance. *

* * @param iops * The Provisioned IOPS value for the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withIops(Integer iops) { setIops(iops); return this; } /** *

* The database identifier for the DB instance. *

* * @param dBInstanceIdentifier * The database identifier for the DB instance. */ public void setDBInstanceIdentifier(String dBInstanceIdentifier) { this.dBInstanceIdentifier = dBInstanceIdentifier; } /** *

* The database identifier for the DB instance. *

* * @return The database identifier for the DB instance. */ public String getDBInstanceIdentifier() { return this.dBInstanceIdentifier; } /** *

* The database identifier for the DB instance. *

* * @param dBInstanceIdentifier * The database identifier for the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withDBInstanceIdentifier(String dBInstanceIdentifier) { setDBInstanceIdentifier(dBInstanceIdentifier); return this; } /** *

* The storage type of the DB instance. *

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

* The storage type of the DB instance. *

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

* The storage type of the DB instance. *

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

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

*

* For more information, see Using SSL/TLS to encrypt a * connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to * encrypt a connection to a DB cluster in the Amazon Aurora User Guide. *

* * @param cACertificateIdentifier * The identifier of the CA certificate for the DB instance.

*

* For more information, see Using SSL/TLS to * encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS * to encrypt a connection to a DB cluster in the Amazon Aurora User Guide. */ public void setCACertificateIdentifier(String cACertificateIdentifier) { this.cACertificateIdentifier = cACertificateIdentifier; } /** *

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

*

* For more information, see Using SSL/TLS to encrypt a * connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to * encrypt a connection to a DB cluster in the Amazon Aurora User Guide. *

* * @return The identifier of the CA certificate for the DB instance.

*

* For more information, see Using SSL/TLS to * encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS * to encrypt a connection to a DB cluster in the Amazon Aurora User Guide. */ public String getCACertificateIdentifier() { return this.cACertificateIdentifier; } /** *

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

*

* For more information, see Using SSL/TLS to encrypt a * connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to * encrypt a connection to a DB cluster in the Amazon Aurora User Guide. *

* * @param cACertificateIdentifier * The identifier of the CA certificate for the DB instance.

*

* For more information, see Using SSL/TLS to * encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS * to encrypt a connection to a DB cluster in the Amazon Aurora User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withCACertificateIdentifier(String cACertificateIdentifier) { setCACertificateIdentifier(cACertificateIdentifier); return this; } /** *

* The DB subnet group for the DB instance. *

* * @param dBSubnetGroupName * The DB subnet group for the DB instance. */ public void setDBSubnetGroupName(String dBSubnetGroupName) { this.dBSubnetGroupName = dBSubnetGroupName; } /** *

* The DB subnet group for the DB instance. *

* * @return The DB subnet group for the DB instance. */ public String getDBSubnetGroupName() { return this.dBSubnetGroupName; } /** *

* The DB subnet group for the DB instance. *

* * @param dBSubnetGroupName * The DB subnet group for the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withDBSubnetGroupName(String dBSubnetGroupName) { setDBSubnetGroupName(dBSubnetGroupName); return this; } /** * @param pendingCloudwatchLogsExports */ public void setPendingCloudwatchLogsExports(PendingCloudwatchLogsExports pendingCloudwatchLogsExports) { this.pendingCloudwatchLogsExports = pendingCloudwatchLogsExports; } /** * @return */ public PendingCloudwatchLogsExports getPendingCloudwatchLogsExports() { return this.pendingCloudwatchLogsExports; } /** * @param pendingCloudwatchLogsExports * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withPendingCloudwatchLogsExports(PendingCloudwatchLogsExports pendingCloudwatchLogsExports) { setPendingCloudwatchLogsExports(pendingCloudwatchLogsExports); return this; } /** *

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

* * @return The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. */ public java.util.List getProcessorFeatures() { if (processorFeatures == null) { processorFeatures = new com.amazonaws.internal.SdkInternalList(); } return processorFeatures; } /** *

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

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

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

*

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

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

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

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

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

* * @param iAMDatabaseAuthenticationEnabled * Indicates whether 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 mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database * accounts is enabled. *

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

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

* * @param iAMDatabaseAuthenticationEnabled * Indicates whether 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 PendingModifiedValues withIAMDatabaseAuthenticationEnabled(Boolean iAMDatabaseAuthenticationEnabled) { setIAMDatabaseAuthenticationEnabled(iAMDatabaseAuthenticationEnabled); return this; } /** *

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

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

* The automation mode of the RDS Custom DB instance: full or all-paused. If * full, the DB instance automates monitoring and instance recovery. If all-paused, the * instance pauses automation for the duration set by --resume-full-automation-mode-minutes. *

* * @param automationMode * The automation mode of the RDS Custom DB instance: full or all-paused. If * full, the DB instance automates monitoring and instance recovery. If all-paused, * the instance pauses automation for the duration set by --resume-full-automation-mode-minutes. * @see AutomationMode */ public void setAutomationMode(String automationMode) { this.automationMode = automationMode; } /** *

* The automation mode of the RDS Custom DB instance: full or all-paused. If * full, the DB instance automates monitoring and instance recovery. If all-paused, the * instance pauses automation for the duration set by --resume-full-automation-mode-minutes. *

* * @return The automation mode of the RDS Custom DB instance: full or all-paused. If * full, the DB instance automates monitoring and instance recovery. If all-paused * , the instance pauses automation for the duration set by * --resume-full-automation-mode-minutes. * @see AutomationMode */ public String getAutomationMode() { return this.automationMode; } /** *

* The automation mode of the RDS Custom DB instance: full or all-paused. If * full, the DB instance automates monitoring and instance recovery. If all-paused, the * instance pauses automation for the duration set by --resume-full-automation-mode-minutes. *

* * @param automationMode * The automation mode of the RDS Custom DB instance: full or all-paused. If * full, the DB instance automates monitoring and instance recovery. If all-paused, * the instance pauses automation for the duration set by --resume-full-automation-mode-minutes. * @return Returns a reference to this object so that method calls can be chained together. * @see AutomationMode */ public PendingModifiedValues withAutomationMode(String automationMode) { setAutomationMode(automationMode); return this; } /** *

* The automation mode of the RDS Custom DB instance: full or all-paused. If * full, the DB instance automates monitoring and instance recovery. If all-paused, the * instance pauses automation for the duration set by --resume-full-automation-mode-minutes. *

* * @param automationMode * The automation mode of the RDS Custom DB instance: full or all-paused. If * full, the DB instance automates monitoring and instance recovery. If all-paused, * the instance pauses automation for the duration set by --resume-full-automation-mode-minutes. * @return Returns a reference to this object so that method calls can be chained together. * @see AutomationMode */ public PendingModifiedValues withAutomationMode(AutomationMode automationMode) { this.automationMode = automationMode.toString(); return this; } /** *

* The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full automation. The * minimum value is 60 (default). The maximum value is 1,440. *

* * @param resumeFullAutomationModeTime * The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full * automation. The minimum value is 60 (default). The maximum value is 1,440. */ public void setResumeFullAutomationModeTime(java.util.Date resumeFullAutomationModeTime) { this.resumeFullAutomationModeTime = resumeFullAutomationModeTime; } /** *

* The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full automation. The * minimum value is 60 (default). The maximum value is 1,440. *

* * @return The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full * automation. The minimum value is 60 (default). The maximum value is 1,440. */ public java.util.Date getResumeFullAutomationModeTime() { return this.resumeFullAutomationModeTime; } /** *

* The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full automation. The * minimum value is 60 (default). The maximum value is 1,440. *

* * @param resumeFullAutomationModeTime * The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full * automation. The minimum value is 60 (default). The maximum value is 1,440. * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withResumeFullAutomationModeTime(java.util.Date resumeFullAutomationModeTime) { setResumeFullAutomationModeTime(resumeFullAutomationModeTime); return this; } /** *

* The storage throughput of the DB instance. *

* * @param storageThroughput * The storage throughput of the DB instance. */ public void setStorageThroughput(Integer storageThroughput) { this.storageThroughput = storageThroughput; } /** *

* The storage throughput of the DB instance. *

* * @return The storage throughput of the DB instance. */ public Integer getStorageThroughput() { return this.storageThroughput; } /** *

* The storage throughput of the DB instance. *

* * @param storageThroughput * The storage throughput of the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withStorageThroughput(Integer storageThroughput) { setStorageThroughput(storageThroughput); return this; } /** *

* The database engine of the DB instance. *

* * @param engine * The database engine of the DB instance. */ public void setEngine(String engine) { this.engine = engine; } /** *

* The database engine of the DB instance. *

* * @return The database engine of the DB instance. */ public String getEngine() { return this.engine; } /** *

* The database engine of the DB instance. *

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

* Indicates whether the DB instance has a dedicated log volume (DLV) enabled.> *

* * @param dedicatedLogVolume * Indicates whether the DB instance has a dedicated log volume (DLV) enabled.> */ public void setDedicatedLogVolume(Boolean dedicatedLogVolume) { this.dedicatedLogVolume = dedicatedLogVolume; } /** *

* Indicates whether the DB instance has a dedicated log volume (DLV) enabled.> *

* * @return Indicates whether the DB instance has a dedicated log volume (DLV) enabled.> */ public Boolean getDedicatedLogVolume() { return this.dedicatedLogVolume; } /** *

* Indicates whether the DB instance has a dedicated log volume (DLV) enabled.> *

* * @param dedicatedLogVolume * Indicates whether the DB instance has a dedicated log volume (DLV) enabled.> * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withDedicatedLogVolume(Boolean dedicatedLogVolume) { setDedicatedLogVolume(dedicatedLogVolume); return this; } /** *

* Indicates whether the DB instance has a dedicated log volume (DLV) enabled.> *

* * @return Indicates whether the DB instance has a dedicated log volume (DLV) enabled.> */ public Boolean isDedicatedLogVolume() { return this.dedicatedLogVolume; } /** *

* Indicates whether the DB instance will change to the multi-tenant configuration (TRUE) or the single-tenant * configuration (FALSE). *

* * @param multiTenant * Indicates whether the DB instance will change to the multi-tenant configuration (TRUE) or the * single-tenant configuration (FALSE). */ public void setMultiTenant(Boolean multiTenant) { this.multiTenant = multiTenant; } /** *

* Indicates whether the DB instance will change to the multi-tenant configuration (TRUE) or the single-tenant * configuration (FALSE). *

* * @return Indicates whether the DB instance will change to the multi-tenant configuration (TRUE) or the * single-tenant configuration (FALSE). */ public Boolean getMultiTenant() { return this.multiTenant; } /** *

* Indicates whether the DB instance will change to the multi-tenant configuration (TRUE) or the single-tenant * configuration (FALSE). *

* * @param multiTenant * Indicates whether the DB instance will change to the multi-tenant configuration (TRUE) or the * single-tenant configuration (FALSE). * @return Returns a reference to this object so that method calls can be chained together. */ public PendingModifiedValues withMultiTenant(Boolean multiTenant) { setMultiTenant(multiTenant); return this; } /** *

* Indicates whether the DB instance will change to the multi-tenant configuration (TRUE) or the single-tenant * configuration (FALSE). *

* * @return Indicates whether the DB instance will change to the multi-tenant configuration (TRUE) or the * single-tenant configuration (FALSE). */ public Boolean isMultiTenant() { return this.multiTenant; } /** * 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 (getDBInstanceClass() != null) sb.append("DBInstanceClass: ").append(getDBInstanceClass()).append(","); if (getAllocatedStorage() != null) sb.append("AllocatedStorage: ").append(getAllocatedStorage()).append(","); if (getMasterUserPassword() != null) sb.append("MasterUserPassword: ").append(getMasterUserPassword()).append(","); if (getPort() != null) sb.append("Port: ").append(getPort()).append(","); if (getBackupRetentionPeriod() != null) sb.append("BackupRetentionPeriod: ").append(getBackupRetentionPeriod()).append(","); if (getMultiAZ() != null) sb.append("MultiAZ: ").append(getMultiAZ()).append(","); if (getEngineVersion() != null) sb.append("EngineVersion: ").append(getEngineVersion()).append(","); if (getLicenseModel() != null) sb.append("LicenseModel: ").append(getLicenseModel()).append(","); if (getIops() != null) sb.append("Iops: ").append(getIops()).append(","); if (getDBInstanceIdentifier() != null) sb.append("DBInstanceIdentifier: ").append(getDBInstanceIdentifier()).append(","); if (getStorageType() != null) sb.append("StorageType: ").append(getStorageType()).append(","); if (getCACertificateIdentifier() != null) sb.append("CACertificateIdentifier: ").append(getCACertificateIdentifier()).append(","); if (getDBSubnetGroupName() != null) sb.append("DBSubnetGroupName: ").append(getDBSubnetGroupName()).append(","); if (getPendingCloudwatchLogsExports() != null) sb.append("PendingCloudwatchLogsExports: ").append(getPendingCloudwatchLogsExports()).append(","); if (getProcessorFeatures() != null) sb.append("ProcessorFeatures: ").append(getProcessorFeatures()).append(","); if (getIAMDatabaseAuthenticationEnabled() != null) sb.append("IAMDatabaseAuthenticationEnabled: ").append(getIAMDatabaseAuthenticationEnabled()).append(","); if (getAutomationMode() != null) sb.append("AutomationMode: ").append(getAutomationMode()).append(","); if (getResumeFullAutomationModeTime() != null) sb.append("ResumeFullAutomationModeTime: ").append(getResumeFullAutomationModeTime()).append(","); if (getStorageThroughput() != null) sb.append("StorageThroughput: ").append(getStorageThroughput()).append(","); if (getEngine() != null) sb.append("Engine: ").append(getEngine()).append(","); if (getDedicatedLogVolume() != null) sb.append("DedicatedLogVolume: ").append(getDedicatedLogVolume()).append(","); if (getMultiTenant() != null) sb.append("MultiTenant: ").append(getMultiTenant()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof PendingModifiedValues == false) return false; PendingModifiedValues other = (PendingModifiedValues) obj; if (other.getDBInstanceClass() == null ^ this.getDBInstanceClass() == null) return false; if (other.getDBInstanceClass() != null && other.getDBInstanceClass().equals(this.getDBInstanceClass()) == false) return false; if (other.getAllocatedStorage() == null ^ this.getAllocatedStorage() == null) return false; if (other.getAllocatedStorage() != null && other.getAllocatedStorage().equals(this.getAllocatedStorage()) == false) return false; if (other.getMasterUserPassword() == null ^ this.getMasterUserPassword() == null) return false; if (other.getMasterUserPassword() != null && other.getMasterUserPassword().equals(this.getMasterUserPassword()) == 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.getBackupRetentionPeriod() == null ^ this.getBackupRetentionPeriod() == null) return false; if (other.getBackupRetentionPeriod() != null && other.getBackupRetentionPeriod().equals(this.getBackupRetentionPeriod()) == 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.getEngineVersion() == null ^ this.getEngineVersion() == null) return false; if (other.getEngineVersion() != null && other.getEngineVersion().equals(this.getEngineVersion()) == false) return false; if (other.getLicenseModel() == null ^ this.getLicenseModel() == null) return false; if (other.getLicenseModel() != null && other.getLicenseModel().equals(this.getLicenseModel()) == false) return false; if (other.getIops() == null ^ this.getIops() == null) return false; if (other.getIops() != null && other.getIops().equals(this.getIops()) == false) return false; if (other.getDBInstanceIdentifier() == null ^ this.getDBInstanceIdentifier() == null) return false; if (other.getDBInstanceIdentifier() != null && other.getDBInstanceIdentifier().equals(this.getDBInstanceIdentifier()) == 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.getCACertificateIdentifier() == null ^ this.getCACertificateIdentifier() == null) return false; if (other.getCACertificateIdentifier() != null && other.getCACertificateIdentifier().equals(this.getCACertificateIdentifier()) == false) return false; if (other.getDBSubnetGroupName() == null ^ this.getDBSubnetGroupName() == null) return false; if (other.getDBSubnetGroupName() != null && other.getDBSubnetGroupName().equals(this.getDBSubnetGroupName()) == false) return false; if (other.getPendingCloudwatchLogsExports() == null ^ this.getPendingCloudwatchLogsExports() == null) return false; if (other.getPendingCloudwatchLogsExports() != null && other.getPendingCloudwatchLogsExports().equals(this.getPendingCloudwatchLogsExports()) == false) return false; if (other.getProcessorFeatures() == null ^ this.getProcessorFeatures() == null) return false; if (other.getProcessorFeatures() != null && other.getProcessorFeatures().equals(this.getProcessorFeatures()) == false) return false; if (other.getIAMDatabaseAuthenticationEnabled() == null ^ this.getIAMDatabaseAuthenticationEnabled() == null) return false; if (other.getIAMDatabaseAuthenticationEnabled() != null && other.getIAMDatabaseAuthenticationEnabled().equals(this.getIAMDatabaseAuthenticationEnabled()) == false) return false; if (other.getAutomationMode() == null ^ this.getAutomationMode() == null) return false; if (other.getAutomationMode() != null && other.getAutomationMode().equals(this.getAutomationMode()) == false) return false; if (other.getResumeFullAutomationModeTime() == null ^ this.getResumeFullAutomationModeTime() == null) return false; if (other.getResumeFullAutomationModeTime() != null && other.getResumeFullAutomationModeTime().equals(this.getResumeFullAutomationModeTime()) == 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.getEngine() == null ^ this.getEngine() == null) return false; if (other.getEngine() != null && other.getEngine().equals(this.getEngine()) == false) return false; if (other.getDedicatedLogVolume() == null ^ this.getDedicatedLogVolume() == null) return false; if (other.getDedicatedLogVolume() != null && other.getDedicatedLogVolume().equals(this.getDedicatedLogVolume()) == false) return false; if (other.getMultiTenant() == null ^ this.getMultiTenant() == null) return false; if (other.getMultiTenant() != null && other.getMultiTenant().equals(this.getMultiTenant()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDBInstanceClass() == null) ? 0 : getDBInstanceClass().hashCode()); hashCode = prime * hashCode + ((getAllocatedStorage() == null) ? 0 : getAllocatedStorage().hashCode()); hashCode = prime * hashCode + ((getMasterUserPassword() == null) ? 0 : getMasterUserPassword().hashCode()); hashCode = prime * hashCode + ((getPort() == null) ? 0 : getPort().hashCode()); hashCode = prime * hashCode + ((getBackupRetentionPeriod() == null) ? 0 : getBackupRetentionPeriod().hashCode()); hashCode = prime * hashCode + ((getMultiAZ() == null) ? 0 : getMultiAZ().hashCode()); hashCode = prime * hashCode + ((getEngineVersion() == null) ? 0 : getEngineVersion().hashCode()); hashCode = prime * hashCode + ((getLicenseModel() == null) ? 0 : getLicenseModel().hashCode()); hashCode = prime * hashCode + ((getIops() == null) ? 0 : getIops().hashCode()); hashCode = prime * hashCode + ((getDBInstanceIdentifier() == null) ? 0 : getDBInstanceIdentifier().hashCode()); hashCode = prime * hashCode + ((getStorageType() == null) ? 0 : getStorageType().hashCode()); hashCode = prime * hashCode + ((getCACertificateIdentifier() == null) ? 0 : getCACertificateIdentifier().hashCode()); hashCode = prime * hashCode + ((getDBSubnetGroupName() == null) ? 0 : getDBSubnetGroupName().hashCode()); hashCode = prime * hashCode + ((getPendingCloudwatchLogsExports() == null) ? 0 : getPendingCloudwatchLogsExports().hashCode()); hashCode = prime * hashCode + ((getProcessorFeatures() == null) ? 0 : getProcessorFeatures().hashCode()); hashCode = prime * hashCode + ((getIAMDatabaseAuthenticationEnabled() == null) ? 0 : getIAMDatabaseAuthenticationEnabled().hashCode()); hashCode = prime * hashCode + ((getAutomationMode() == null) ? 0 : getAutomationMode().hashCode()); hashCode = prime * hashCode + ((getResumeFullAutomationModeTime() == null) ? 0 : getResumeFullAutomationModeTime().hashCode()); hashCode = prime * hashCode + ((getStorageThroughput() == null) ? 0 : getStorageThroughput().hashCode()); hashCode = prime * hashCode + ((getEngine() == null) ? 0 : getEngine().hashCode()); hashCode = prime * hashCode + ((getDedicatedLogVolume() == null) ? 0 : getDedicatedLogVolume().hashCode()); hashCode = prime * hashCode + ((getMultiTenant() == null) ? 0 : getMultiTenant().hashCode()); return hashCode; } @Override public PendingModifiedValues clone() { try { return (PendingModifiedValues) 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