Class UpgradeTarget
- java.lang.Object
-
- software.amazon.awssdk.services.rds.model.UpgradeTarget
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UpgradeTarget.Builder,UpgradeTarget>
@Generated("software.amazon.awssdk:codegen") public final class UpgradeTarget extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpgradeTarget.Builder,UpgradeTarget>
The version of the database engine that a DB instance can be upgraded to.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpgradeTarget.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanautoUpgrade()Indicates whether the target version is applied to any source DB instances that haveAutoMinorVersionUpgradeset to true.static UpgradeTarget.Builderbuilder()Stringdescription()The version of the database engine that a DB instance can be upgraded to.Stringengine()The name of the upgrade target database engine.StringengineVersion()The version number of the upgrade target database engine.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasSupportedEngineModes()For responses, this returns true if the service returned a value for the SupportedEngineModes property.BooleanisMajorVersionUpgrade()Indicates whether upgrading to the target version requires upgrading the major version of the database engine.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpgradeTarget.Builder>serializableBuilderClass()List<String>supportedEngineModes()A list of the supported DB engine modes for the target engine version.BooleansupportsBabelfish()Indicates whether you can use Babelfish for Aurora PostgreSQL with the target engine version.BooleansupportsGlobalDatabases()Indicates whether you can use Aurora global databases with the target engine version.BooleansupportsIntegrations()Indicates whether the DB engine version supports zero-ETL integrations with Amazon Redshift.BooleansupportsLimitlessDatabase()Indicates whether the DB engine version supports Aurora Limitless Database.BooleansupportsLocalWriteForwarding()Indicates whether the target engine version supports forwarding write operations from reader DB instances to the writer DB instance in the DB cluster.BooleansupportsParallelQuery()Indicates whether you can use Aurora parallel query with the target engine version.UpgradeTarget.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
engine
public final String engine()
The name of the upgrade target database engine.
- Returns:
- The name of the upgrade target database engine.
-
engineVersion
public final String engineVersion()
The version number of the upgrade target database engine.
- Returns:
- The version number of the upgrade target database engine.
-
description
public final String description()
The version of the database engine that a DB instance can be upgraded to.
- Returns:
- The version of the database engine that a DB instance can be upgraded to.
-
autoUpgrade
public final Boolean autoUpgrade()
Indicates whether the target version is applied to any source DB instances that have
AutoMinorVersionUpgradeset to true.This parameter is dynamic, and is set by RDS.
- Returns:
- Indicates whether the target version is applied to any source DB instances that have
AutoMinorVersionUpgradeset to true.This parameter is dynamic, and is set by RDS.
-
isMajorVersionUpgrade
public final Boolean isMajorVersionUpgrade()
Indicates whether upgrading to the target version requires upgrading the major version of the database engine.
- Returns:
- Indicates whether upgrading to the target version requires upgrading the major version of the database engine.
-
hasSupportedEngineModes
public final boolean hasSupportedEngineModes()
For responses, this returns true if the service returned a value for the SupportedEngineModes property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
supportedEngineModes
public final List<String> supportedEngineModes()
A list of the supported DB engine modes for the target engine version.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSupportedEngineModes()method.- Returns:
- A list of the supported DB engine modes for the target engine version.
-
supportsParallelQuery
public final Boolean supportsParallelQuery()
Indicates whether you can use Aurora parallel query with the target engine version.
- Returns:
- Indicates whether you can use Aurora parallel query with the target engine version.
-
supportsGlobalDatabases
public final Boolean supportsGlobalDatabases()
Indicates whether you can use Aurora global databases with the target engine version.
- Returns:
- Indicates whether you can use Aurora global databases with the target engine version.
-
supportsBabelfish
public final Boolean supportsBabelfish()
Indicates whether you can use Babelfish for Aurora PostgreSQL with the target engine version.
- Returns:
- Indicates whether you can use Babelfish for Aurora PostgreSQL with the target engine version.
-
supportsLimitlessDatabase
public final Boolean supportsLimitlessDatabase()
Indicates whether the DB engine version supports Aurora Limitless Database.
- Returns:
- Indicates whether the DB engine version supports Aurora Limitless Database.
-
supportsLocalWriteForwarding
public final Boolean supportsLocalWriteForwarding()
Indicates whether the target engine version supports forwarding write operations from reader DB instances to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances.
Valid for: Aurora DB clusters only
- Returns:
- Indicates whether the target engine version supports forwarding write operations from reader DB instances
to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB
instances.
Valid for: Aurora DB clusters only
-
supportsIntegrations
public final Boolean supportsIntegrations()
Indicates whether the DB engine version supports zero-ETL integrations with Amazon Redshift.
- Returns:
- Indicates whether the DB engine version supports zero-ETL integrations with Amazon Redshift.
-
toBuilder
public UpgradeTarget.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpgradeTarget.Builder,UpgradeTarget>
-
builder
public static UpgradeTarget.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpgradeTarget.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-