Class UpgradeTarget

java.lang.Object
com.amazonaws.services.rds.model.UpgradeTarget
All Implemented Interfaces:
Serializable, Cloneable

public class UpgradeTarget extends Object implements Serializable, Cloneable

The version of the database engine that a DB instance can be upgraded to.

See Also:
  • Constructor Details

    • UpgradeTarget

      public UpgradeTarget()
  • Method Details

    • setEngine

      public void setEngine(String engine)

      The name of the upgrade target database engine.

      Parameters:
      engine - The name of the upgrade target database engine.
    • getEngine

      public String getEngine()

      The name of the upgrade target database engine.

      Returns:
      The name of the upgrade target database engine.
    • withEngine

      public UpgradeTarget withEngine(String engine)

      The name of the upgrade target database engine.

      Parameters:
      engine - The name of the upgrade target database engine.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEngineVersion

      public void setEngineVersion(String engineVersion)

      The version number of the upgrade target database engine.

      Parameters:
      engineVersion - The version number of the upgrade target database engine.
    • getEngineVersion

      public String getEngineVersion()

      The version number of the upgrade target database engine.

      Returns:
      The version number of the upgrade target database engine.
    • withEngineVersion

      public UpgradeTarget withEngineVersion(String engineVersion)

      The version number of the upgrade target database engine.

      Parameters:
      engineVersion - The version number of the upgrade target database engine.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDescription

      public void setDescription(String description)

      The version of the database engine that a DB instance can be upgraded to.

      Parameters:
      description - The version of the database engine that a DB instance can be upgraded to.
    • getDescription

      public String getDescription()

      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.
    • withDescription

      public UpgradeTarget withDescription(String description)

      The version of the database engine that a DB instance can be upgraded to.

      Parameters:
      description - The version of the database engine that a DB instance can be upgraded to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAutoUpgrade

      public void setAutoUpgrade(Boolean autoUpgrade)

      A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.

      Parameters:
      autoUpgrade - A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
    • getAutoUpgrade

      public Boolean getAutoUpgrade()

      A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.

      Returns:
      A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
    • withAutoUpgrade

      public UpgradeTarget withAutoUpgrade(Boolean autoUpgrade)

      A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.

      Parameters:
      autoUpgrade - A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isAutoUpgrade

      public Boolean isAutoUpgrade()

      A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.

      Returns:
      A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
    • setIsMajorVersionUpgrade

      public void setIsMajorVersionUpgrade(Boolean isMajorVersionUpgrade)

      A value that indicates whether a database engine will be upgraded to a major version.

      Parameters:
      isMajorVersionUpgrade - A value that indicates whether a database engine will be upgraded to a major version.
    • getIsMajorVersionUpgrade

      public Boolean getIsMajorVersionUpgrade()

      A value that indicates whether a database engine will be upgraded to a major version.

      Returns:
      A value that indicates whether a database engine will be upgraded to a major version.
    • withIsMajorVersionUpgrade

      public UpgradeTarget withIsMajorVersionUpgrade(Boolean isMajorVersionUpgrade)

      A value that indicates whether a database engine will be upgraded to a major version.

      Parameters:
      isMajorVersionUpgrade - A value that indicates whether a database engine will be upgraded to a major version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isMajorVersionUpgrade

      public Boolean isMajorVersionUpgrade()

      A value that indicates whether a database engine will be upgraded to a major version.

      Returns:
      A value that indicates whether a database engine will be upgraded to a major version.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public UpgradeTarget clone()
      Overrides:
      clone in class Object