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

software.amazon.awssdk.services.neptune.model.PendingModifiedValues Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Neptune module holds the client classes that are used for communicating with Neptune.

There is a newer version: 2.29.39
Show newest version
/*
 * Copyright 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 software.amazon.awssdk.services.neptune.model;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.function.Function;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.core.SdkField;
import software.amazon.awssdk.core.SdkPojo;
import software.amazon.awssdk.core.protocol.MarshallLocation;
import software.amazon.awssdk.core.protocol.MarshallingType;
import software.amazon.awssdk.core.traits.LocationTrait;
import software.amazon.awssdk.utils.ToString;
import software.amazon.awssdk.utils.builder.CopyableBuilder;
import software.amazon.awssdk.utils.builder.ToCopyableBuilder;

/**
 * 

* This data type is used as a response element in the ModifyDBInstance action. *

*/ @Generated("software.amazon.awssdk:codegen") public final class PendingModifiedValues implements SdkPojo, Serializable, ToCopyableBuilder { private static final SdkField DB_INSTANCE_CLASS_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("DBInstanceClass").getter(getter(PendingModifiedValues::dbInstanceClass)) .setter(setter(Builder::dbInstanceClass)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("DBInstanceClass").build()).build(); private static final SdkField ALLOCATED_STORAGE_FIELD = SdkField. builder(MarshallingType.INTEGER) .memberName("AllocatedStorage").getter(getter(PendingModifiedValues::allocatedStorage)) .setter(setter(Builder::allocatedStorage)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("AllocatedStorage").build()).build(); private static final SdkField MASTER_USER_PASSWORD_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("MasterUserPassword").getter(getter(PendingModifiedValues::masterUserPassword)) .setter(setter(Builder::masterUserPassword)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("MasterUserPassword").build()) .build(); private static final SdkField PORT_FIELD = SdkField. builder(MarshallingType.INTEGER).memberName("Port") .getter(getter(PendingModifiedValues::port)).setter(setter(Builder::port)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("Port").build()).build(); private static final SdkField BACKUP_RETENTION_PERIOD_FIELD = SdkField. builder(MarshallingType.INTEGER) .memberName("BackupRetentionPeriod").getter(getter(PendingModifiedValues::backupRetentionPeriod)) .setter(setter(Builder::backupRetentionPeriod)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("BackupRetentionPeriod").build()) .build(); private static final SdkField MULTI_AZ_FIELD = SdkField. builder(MarshallingType.BOOLEAN) .memberName("MultiAZ").getter(getter(PendingModifiedValues::multiAZ)).setter(setter(Builder::multiAZ)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("MultiAZ").build()).build(); private static final SdkField ENGINE_VERSION_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("EngineVersion").getter(getter(PendingModifiedValues::engineVersion)) .setter(setter(Builder::engineVersion)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("EngineVersion").build()).build(); private static final SdkField LICENSE_MODEL_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("LicenseModel").getter(getter(PendingModifiedValues::licenseModel)).setter(setter(Builder::licenseModel)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("LicenseModel").build()).build(); private static final SdkField IOPS_FIELD = SdkField. builder(MarshallingType.INTEGER).memberName("Iops") .getter(getter(PendingModifiedValues::iops)).setter(setter(Builder::iops)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("Iops").build()).build(); private static final SdkField DB_INSTANCE_IDENTIFIER_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("DBInstanceIdentifier").getter(getter(PendingModifiedValues::dbInstanceIdentifier)) .setter(setter(Builder::dbInstanceIdentifier)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("DBInstanceIdentifier").build()) .build(); private static final SdkField STORAGE_TYPE_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("StorageType").getter(getter(PendingModifiedValues::storageType)).setter(setter(Builder::storageType)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("StorageType").build()).build(); private static final SdkField CA_CERTIFICATE_IDENTIFIER_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("CACertificateIdentifier").getter(getter(PendingModifiedValues::caCertificateIdentifier)) .setter(setter(Builder::caCertificateIdentifier)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("CACertificateIdentifier").build()) .build(); private static final SdkField DB_SUBNET_GROUP_NAME_FIELD = SdkField. builder(MarshallingType.STRING) .memberName("DBSubnetGroupName").getter(getter(PendingModifiedValues::dbSubnetGroupName)) .setter(setter(Builder::dbSubnetGroupName)) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("DBSubnetGroupName").build()).build(); private static final SdkField PENDING_CLOUDWATCH_LOGS_EXPORTS_FIELD = SdkField . builder(MarshallingType.SDK_POJO) .memberName("PendingCloudwatchLogsExports") .getter(getter(PendingModifiedValues::pendingCloudwatchLogsExports)) .setter(setter(Builder::pendingCloudwatchLogsExports)) .constructor(PendingCloudwatchLogsExports::builder) .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("PendingCloudwatchLogsExports") .build()).build(); private static final List> SDK_FIELDS = Collections.unmodifiableList(Arrays.asList(DB_INSTANCE_CLASS_FIELD, ALLOCATED_STORAGE_FIELD, MASTER_USER_PASSWORD_FIELD, PORT_FIELD, BACKUP_RETENTION_PERIOD_FIELD, MULTI_AZ_FIELD, ENGINE_VERSION_FIELD, LICENSE_MODEL_FIELD, IOPS_FIELD, DB_INSTANCE_IDENTIFIER_FIELD, STORAGE_TYPE_FIELD, CA_CERTIFICATE_IDENTIFIER_FIELD, DB_SUBNET_GROUP_NAME_FIELD, PENDING_CLOUDWATCH_LOGS_EXPORTS_FIELD)); private static final long serialVersionUID = 1L; private final String dbInstanceClass; private final Integer allocatedStorage; private final String masterUserPassword; private final Integer port; private final Integer backupRetentionPeriod; private final Boolean multiAZ; private final String engineVersion; private final String licenseModel; private final Integer iops; private final String dbInstanceIdentifier; private final String storageType; private final String caCertificateIdentifier; private final String dbSubnetGroupName; private final PendingCloudwatchLogsExports pendingCloudwatchLogsExports; private PendingModifiedValues(BuilderImpl builder) { this.dbInstanceClass = builder.dbInstanceClass; this.allocatedStorage = builder.allocatedStorage; this.masterUserPassword = builder.masterUserPassword; this.port = builder.port; this.backupRetentionPeriod = builder.backupRetentionPeriod; this.multiAZ = builder.multiAZ; this.engineVersion = builder.engineVersion; this.licenseModel = builder.licenseModel; this.iops = builder.iops; this.dbInstanceIdentifier = builder.dbInstanceIdentifier; this.storageType = builder.storageType; this.caCertificateIdentifier = builder.caCertificateIdentifier; this.dbSubnetGroupName = builder.dbSubnetGroupName; this.pendingCloudwatchLogsExports = builder.pendingCloudwatchLogsExports; } /** *

* Contains the new DBInstanceClass for the DB instance that will be applied or is currently being * applied. *

* * @return Contains the new DBInstanceClass for the DB instance that will be applied or is currently * being applied. */ public final String dbInstanceClass() { return dbInstanceClass; } /** *

* Contains the new AllocatedStorage size for the DB instance that will be applied or is currently * being applied. *

* * @return Contains the new AllocatedStorage size for the DB instance that will be applied or is * currently being applied. */ public final Integer allocatedStorage() { return allocatedStorage; } /** *

* Not supported by Neptune. *

* * @return Not supported by Neptune. */ public final String masterUserPassword() { return masterUserPassword; } /** *

* Specifies the pending port for the DB instance. *

* * @return Specifies the pending port for the DB instance. */ public final Integer port() { return port; } /** *

* Specifies the pending number of days for which automated backups are retained. *

* * @return Specifies the pending number of days for which automated backups are retained. */ public final Integer backupRetentionPeriod() { return backupRetentionPeriod; } /** *

* Indicates that the Single-AZ DB instance is to change to a Multi-AZ deployment. *

* * @return Indicates that the Single-AZ DB instance is to change to a Multi-AZ deployment. */ public final Boolean multiAZ() { return multiAZ; } /** *

* Indicates the database engine version. *

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

* Not supported by Neptune. *

* * @return Not supported by Neptune. */ public final String licenseModel() { return licenseModel; } /** *

* Specifies the new Provisioned IOPS value for the DB instance that will be applied or is currently being applied. *

* * @return Specifies the new Provisioned IOPS value for the DB instance that will be applied or is currently being * applied. */ public final Integer iops() { return iops; } /** *

* Contains the new DBInstanceIdentifier for the DB instance that will be applied or is currently being * applied. *

* * @return Contains the new DBInstanceIdentifier for the DB instance that will be applied or is * currently being applied. */ public final String dbInstanceIdentifier() { return dbInstanceIdentifier; } /** *

* Specifies the storage type to be associated with the DB instance. *

* * @return Specifies the storage type to be associated with the DB instance. */ public final String storageType() { return storageType; } /** *

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

* * @return Specifies the identifier of the CA certificate for the DB instance. */ public final String caCertificateIdentifier() { return caCertificateIdentifier; } /** *

* The new DB subnet group for the DB instance. *

* * @return The new DB subnet group for the DB instance. */ public final String dbSubnetGroupName() { return dbSubnetGroupName; } /** *

* This PendingCloudwatchLogsExports structure specifies pending changes to which CloudWatch logs are * enabled and which are disabled. *

* * @return This PendingCloudwatchLogsExports structure specifies pending changes to which CloudWatch * logs are enabled and which are disabled. */ public final PendingCloudwatchLogsExports pendingCloudwatchLogsExports() { return pendingCloudwatchLogsExports; } @Override public Builder toBuilder() { return new BuilderImpl(this); } public static Builder builder() { return new BuilderImpl(); } public static Class serializableBuilderClass() { return BuilderImpl.class; } @Override public final int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + Objects.hashCode(dbInstanceClass()); hashCode = 31 * hashCode + Objects.hashCode(allocatedStorage()); hashCode = 31 * hashCode + Objects.hashCode(masterUserPassword()); hashCode = 31 * hashCode + Objects.hashCode(port()); hashCode = 31 * hashCode + Objects.hashCode(backupRetentionPeriod()); hashCode = 31 * hashCode + Objects.hashCode(multiAZ()); hashCode = 31 * hashCode + Objects.hashCode(engineVersion()); hashCode = 31 * hashCode + Objects.hashCode(licenseModel()); hashCode = 31 * hashCode + Objects.hashCode(iops()); hashCode = 31 * hashCode + Objects.hashCode(dbInstanceIdentifier()); hashCode = 31 * hashCode + Objects.hashCode(storageType()); hashCode = 31 * hashCode + Objects.hashCode(caCertificateIdentifier()); hashCode = 31 * hashCode + Objects.hashCode(dbSubnetGroupName()); hashCode = 31 * hashCode + Objects.hashCode(pendingCloudwatchLogsExports()); return hashCode; } @Override public final boolean equals(Object obj) { return equalsBySdkFields(obj); } @Override public final boolean equalsBySdkFields(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof PendingModifiedValues)) { return false; } PendingModifiedValues other = (PendingModifiedValues) obj; return Objects.equals(dbInstanceClass(), other.dbInstanceClass()) && Objects.equals(allocatedStorage(), other.allocatedStorage()) && Objects.equals(masterUserPassword(), other.masterUserPassword()) && Objects.equals(port(), other.port()) && Objects.equals(backupRetentionPeriod(), other.backupRetentionPeriod()) && Objects.equals(multiAZ(), other.multiAZ()) && Objects.equals(engineVersion(), other.engineVersion()) && Objects.equals(licenseModel(), other.licenseModel()) && Objects.equals(iops(), other.iops()) && Objects.equals(dbInstanceIdentifier(), other.dbInstanceIdentifier()) && Objects.equals(storageType(), other.storageType()) && Objects.equals(caCertificateIdentifier(), other.caCertificateIdentifier()) && Objects.equals(dbSubnetGroupName(), other.dbSubnetGroupName()) && Objects.equals(pendingCloudwatchLogsExports(), other.pendingCloudwatchLogsExports()); } /** * 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. */ @Override public final String toString() { return ToString.builder("PendingModifiedValues").add("DBInstanceClass", dbInstanceClass()) .add("AllocatedStorage", allocatedStorage()).add("MasterUserPassword", masterUserPassword()).add("Port", port()) .add("BackupRetentionPeriod", backupRetentionPeriod()).add("MultiAZ", multiAZ()) .add("EngineVersion", engineVersion()).add("LicenseModel", licenseModel()).add("Iops", iops()) .add("DBInstanceIdentifier", dbInstanceIdentifier()).add("StorageType", storageType()) .add("CACertificateIdentifier", caCertificateIdentifier()).add("DBSubnetGroupName", dbSubnetGroupName()) .add("PendingCloudwatchLogsExports", pendingCloudwatchLogsExports()).build(); } public final Optional getValueForField(String fieldName, Class clazz) { switch (fieldName) { case "DBInstanceClass": return Optional.ofNullable(clazz.cast(dbInstanceClass())); case "AllocatedStorage": return Optional.ofNullable(clazz.cast(allocatedStorage())); case "MasterUserPassword": return Optional.ofNullable(clazz.cast(masterUserPassword())); case "Port": return Optional.ofNullable(clazz.cast(port())); case "BackupRetentionPeriod": return Optional.ofNullable(clazz.cast(backupRetentionPeriod())); case "MultiAZ": return Optional.ofNullable(clazz.cast(multiAZ())); case "EngineVersion": return Optional.ofNullable(clazz.cast(engineVersion())); case "LicenseModel": return Optional.ofNullable(clazz.cast(licenseModel())); case "Iops": return Optional.ofNullable(clazz.cast(iops())); case "DBInstanceIdentifier": return Optional.ofNullable(clazz.cast(dbInstanceIdentifier())); case "StorageType": return Optional.ofNullable(clazz.cast(storageType())); case "CACertificateIdentifier": return Optional.ofNullable(clazz.cast(caCertificateIdentifier())); case "DBSubnetGroupName": return Optional.ofNullable(clazz.cast(dbSubnetGroupName())); case "PendingCloudwatchLogsExports": return Optional.ofNullable(clazz.cast(pendingCloudwatchLogsExports())); default: return Optional.empty(); } } @Override public final List> sdkFields() { return SDK_FIELDS; } private static Function getter(Function g) { return obj -> g.apply((PendingModifiedValues) obj); } private static BiConsumer setter(BiConsumer s) { return (obj, val) -> s.accept((Builder) obj, val); } public interface Builder extends SdkPojo, CopyableBuilder { /** *

* Contains the new DBInstanceClass for the DB instance that will be applied or is currently being * applied. *

* * @param dbInstanceClass * Contains the new DBInstanceClass for the DB instance that will be applied or is currently * being applied. * @return Returns a reference to this object so that method calls can be chained together. */ Builder dbInstanceClass(String dbInstanceClass); /** *

* Contains the new AllocatedStorage size for the DB instance that will be applied or is currently * being applied. *

* * @param allocatedStorage * Contains the new AllocatedStorage size for the DB instance that will be applied or is * currently being applied. * @return Returns a reference to this object so that method calls can be chained together. */ Builder allocatedStorage(Integer allocatedStorage); /** *

* Not supported by Neptune. *

* * @param masterUserPassword * Not supported by Neptune. * @return Returns a reference to this object so that method calls can be chained together. */ Builder masterUserPassword(String masterUserPassword); /** *

* Specifies the pending port for the DB instance. *

* * @param port * Specifies the pending port for the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ Builder port(Integer port); /** *

* Specifies the pending number of days for which automated backups are retained. *

* * @param backupRetentionPeriod * Specifies the pending number of days for which automated backups are retained. * @return Returns a reference to this object so that method calls can be chained together. */ Builder backupRetentionPeriod(Integer backupRetentionPeriod); /** *

* Indicates that the Single-AZ DB instance is to change to a Multi-AZ deployment. *

* * @param multiAZ * Indicates that the Single-AZ DB instance is to change to a Multi-AZ deployment. * @return Returns a reference to this object so that method calls can be chained together. */ Builder multiAZ(Boolean multiAZ); /** *

* Indicates the database engine version. *

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

* Not supported by Neptune. *

* * @param licenseModel * Not supported by Neptune. * @return Returns a reference to this object so that method calls can be chained together. */ Builder licenseModel(String licenseModel); /** *

* Specifies the new Provisioned IOPS value for the DB instance that will be applied or is currently being * applied. *

* * @param iops * Specifies the new Provisioned IOPS value for the DB instance that will be applied or is currently * being applied. * @return Returns a reference to this object so that method calls can be chained together. */ Builder iops(Integer iops); /** *

* Contains the new DBInstanceIdentifier for the DB instance that will be applied or is currently * being applied. *

* * @param dbInstanceIdentifier * Contains the new DBInstanceIdentifier for the DB instance that will be applied or is * currently being applied. * @return Returns a reference to this object so that method calls can be chained together. */ Builder dbInstanceIdentifier(String dbInstanceIdentifier); /** *

* Specifies the storage type to be associated with the DB instance. *

* * @param storageType * Specifies the storage type to be associated with the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ Builder storageType(String storageType); /** *

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

* * @param caCertificateIdentifier * Specifies the identifier of the CA certificate for the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ Builder caCertificateIdentifier(String caCertificateIdentifier); /** *

* The new DB subnet group for the DB instance. *

* * @param dbSubnetGroupName * The new DB subnet group for the DB instance. * @return Returns a reference to this object so that method calls can be chained together. */ Builder dbSubnetGroupName(String dbSubnetGroupName); /** *

* This PendingCloudwatchLogsExports structure specifies pending changes to which CloudWatch logs * are enabled and which are disabled. *

* * @param pendingCloudwatchLogsExports * This PendingCloudwatchLogsExports structure specifies pending changes to which CloudWatch * logs are enabled and which are disabled. * @return Returns a reference to this object so that method calls can be chained together. */ Builder pendingCloudwatchLogsExports(PendingCloudwatchLogsExports pendingCloudwatchLogsExports); /** *

* This PendingCloudwatchLogsExports structure specifies pending changes to which CloudWatch logs * are enabled and which are disabled. *

* This is a convenience method that creates an instance of the {@link PendingCloudwatchLogsExports.Builder} * avoiding the need to create one manually via {@link PendingCloudwatchLogsExports#builder()}. * *

* When the {@link Consumer} completes, {@link PendingCloudwatchLogsExports.Builder#build()} is called * immediately and its result is passed to {@link #pendingCloudwatchLogsExports(PendingCloudwatchLogsExports)}. * * @param pendingCloudwatchLogsExports * a consumer that will call methods on {@link PendingCloudwatchLogsExports.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #pendingCloudwatchLogsExports(PendingCloudwatchLogsExports) */ default Builder pendingCloudwatchLogsExports(Consumer pendingCloudwatchLogsExports) { return pendingCloudwatchLogsExports(PendingCloudwatchLogsExports.builder() .applyMutation(pendingCloudwatchLogsExports).build()); } } static final class BuilderImpl implements Builder { private String dbInstanceClass; private Integer allocatedStorage; private String masterUserPassword; private Integer port; private Integer backupRetentionPeriod; private Boolean multiAZ; private String engineVersion; private String licenseModel; private Integer iops; private String dbInstanceIdentifier; private String storageType; private String caCertificateIdentifier; private String dbSubnetGroupName; private PendingCloudwatchLogsExports pendingCloudwatchLogsExports; private BuilderImpl() { } private BuilderImpl(PendingModifiedValues model) { dbInstanceClass(model.dbInstanceClass); allocatedStorage(model.allocatedStorage); masterUserPassword(model.masterUserPassword); port(model.port); backupRetentionPeriod(model.backupRetentionPeriod); multiAZ(model.multiAZ); engineVersion(model.engineVersion); licenseModel(model.licenseModel); iops(model.iops); dbInstanceIdentifier(model.dbInstanceIdentifier); storageType(model.storageType); caCertificateIdentifier(model.caCertificateIdentifier); dbSubnetGroupName(model.dbSubnetGroupName); pendingCloudwatchLogsExports(model.pendingCloudwatchLogsExports); } public final String getDbInstanceClass() { return dbInstanceClass; } public final void setDbInstanceClass(String dbInstanceClass) { this.dbInstanceClass = dbInstanceClass; } @Override public final Builder dbInstanceClass(String dbInstanceClass) { this.dbInstanceClass = dbInstanceClass; return this; } public final Integer getAllocatedStorage() { return allocatedStorage; } public final void setAllocatedStorage(Integer allocatedStorage) { this.allocatedStorage = allocatedStorage; } @Override public final Builder allocatedStorage(Integer allocatedStorage) { this.allocatedStorage = allocatedStorage; return this; } public final String getMasterUserPassword() { return masterUserPassword; } public final void setMasterUserPassword(String masterUserPassword) { this.masterUserPassword = masterUserPassword; } @Override public final Builder masterUserPassword(String masterUserPassword) { this.masterUserPassword = masterUserPassword; return this; } public final Integer getPort() { return port; } public final void setPort(Integer port) { this.port = port; } @Override public final Builder port(Integer port) { this.port = port; return this; } public final Integer getBackupRetentionPeriod() { return backupRetentionPeriod; } public final void setBackupRetentionPeriod(Integer backupRetentionPeriod) { this.backupRetentionPeriod = backupRetentionPeriod; } @Override public final Builder backupRetentionPeriod(Integer backupRetentionPeriod) { this.backupRetentionPeriod = backupRetentionPeriod; return this; } public final Boolean getMultiAZ() { return multiAZ; } public final void setMultiAZ(Boolean multiAZ) { this.multiAZ = multiAZ; } @Override public final Builder multiAZ(Boolean multiAZ) { this.multiAZ = multiAZ; return this; } public final String getEngineVersion() { return engineVersion; } public final void setEngineVersion(String engineVersion) { this.engineVersion = engineVersion; } @Override public final Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } public final String getLicenseModel() { return licenseModel; } public final void setLicenseModel(String licenseModel) { this.licenseModel = licenseModel; } @Override public final Builder licenseModel(String licenseModel) { this.licenseModel = licenseModel; return this; } public final Integer getIops() { return iops; } public final void setIops(Integer iops) { this.iops = iops; } @Override public final Builder iops(Integer iops) { this.iops = iops; return this; } public final String getDbInstanceIdentifier() { return dbInstanceIdentifier; } public final void setDbInstanceIdentifier(String dbInstanceIdentifier) { this.dbInstanceIdentifier = dbInstanceIdentifier; } @Override public final Builder dbInstanceIdentifier(String dbInstanceIdentifier) { this.dbInstanceIdentifier = dbInstanceIdentifier; return this; } public final String getStorageType() { return storageType; } public final void setStorageType(String storageType) { this.storageType = storageType; } @Override public final Builder storageType(String storageType) { this.storageType = storageType; return this; } public final String getCaCertificateIdentifier() { return caCertificateIdentifier; } public final void setCaCertificateIdentifier(String caCertificateIdentifier) { this.caCertificateIdentifier = caCertificateIdentifier; } @Override public final Builder caCertificateIdentifier(String caCertificateIdentifier) { this.caCertificateIdentifier = caCertificateIdentifier; return this; } public final String getDbSubnetGroupName() { return dbSubnetGroupName; } public final void setDbSubnetGroupName(String dbSubnetGroupName) { this.dbSubnetGroupName = dbSubnetGroupName; } @Override public final Builder dbSubnetGroupName(String dbSubnetGroupName) { this.dbSubnetGroupName = dbSubnetGroupName; return this; } public final PendingCloudwatchLogsExports.Builder getPendingCloudwatchLogsExports() { return pendingCloudwatchLogsExports != null ? pendingCloudwatchLogsExports.toBuilder() : null; } public final void setPendingCloudwatchLogsExports(PendingCloudwatchLogsExports.BuilderImpl pendingCloudwatchLogsExports) { this.pendingCloudwatchLogsExports = pendingCloudwatchLogsExports != null ? pendingCloudwatchLogsExports.build() : null; } @Override public final Builder pendingCloudwatchLogsExports(PendingCloudwatchLogsExports pendingCloudwatchLogsExports) { this.pendingCloudwatchLogsExports = pendingCloudwatchLogsExports; return this; } @Override public PendingModifiedValues build() { return new PendingModifiedValues(this); } @Override public List> sdkFields() { return SDK_FIELDS; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy