@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RDSInstanceDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about the Amazon RDS reservations that Amazon Web Services recommends that you purchase.
Constructor and Description |
---|
RDSInstanceDetails() |
Modifier and Type | Method and Description |
---|---|
RDSInstanceDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCurrentGeneration()
Determines whether the recommendation is for a current-generation instance.
|
String |
getDatabaseEdition()
The database edition that the recommended reservation supports.
|
String |
getDatabaseEngine()
The database engine that the recommended reservation supports.
|
String |
getDeploymentOption()
Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a
backup in a second Availability Zone.
|
String |
getFamily()
The instance family of the recommended reservation.
|
String |
getInstanceType()
The type of instance that Amazon Web Services recommends.
|
String |
getLicenseModel()
The license model that the recommended reservation supports.
|
String |
getRegion()
The Amazon Web Services Region of the recommended reservation.
|
Boolean |
getSizeFlexEligible()
Determines whether the recommended reservation is size flexible.
|
int |
hashCode() |
Boolean |
isCurrentGeneration()
Determines whether the recommendation is for a current-generation instance.
|
Boolean |
isSizeFlexEligible()
Determines whether the recommended reservation is size flexible.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCurrentGeneration(Boolean currentGeneration)
Determines whether the recommendation is for a current-generation instance.
|
void |
setDatabaseEdition(String databaseEdition)
The database edition that the recommended reservation supports.
|
void |
setDatabaseEngine(String databaseEngine)
The database engine that the recommended reservation supports.
|
void |
setDeploymentOption(String deploymentOption)
Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a
backup in a second Availability Zone.
|
void |
setFamily(String family)
The instance family of the recommended reservation.
|
void |
setInstanceType(String instanceType)
The type of instance that Amazon Web Services recommends.
|
void |
setLicenseModel(String licenseModel)
The license model that the recommended reservation supports.
|
void |
setRegion(String region)
The Amazon Web Services Region of the recommended reservation.
|
void |
setSizeFlexEligible(Boolean sizeFlexEligible)
Determines whether the recommended reservation is size flexible.
|
String |
toString()
Returns a string representation of this object.
|
RDSInstanceDetails |
withCurrentGeneration(Boolean currentGeneration)
Determines whether the recommendation is for a current-generation instance.
|
RDSInstanceDetails |
withDatabaseEdition(String databaseEdition)
The database edition that the recommended reservation supports.
|
RDSInstanceDetails |
withDatabaseEngine(String databaseEngine)
The database engine that the recommended reservation supports.
|
RDSInstanceDetails |
withDeploymentOption(String deploymentOption)
Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a
backup in a second Availability Zone.
|
RDSInstanceDetails |
withFamily(String family)
The instance family of the recommended reservation.
|
RDSInstanceDetails |
withInstanceType(String instanceType)
The type of instance that Amazon Web Services recommends.
|
RDSInstanceDetails |
withLicenseModel(String licenseModel)
The license model that the recommended reservation supports.
|
RDSInstanceDetails |
withRegion(String region)
The Amazon Web Services Region of the recommended reservation.
|
RDSInstanceDetails |
withSizeFlexEligible(Boolean sizeFlexEligible)
Determines whether the recommended reservation is size flexible.
|
public void setFamily(String family)
The instance family of the recommended reservation.
family
- The instance family of the recommended reservation.public String getFamily()
The instance family of the recommended reservation.
public RDSInstanceDetails withFamily(String family)
The instance family of the recommended reservation.
family
- The instance family of the recommended reservation.public void setInstanceType(String instanceType)
The type of instance that Amazon Web Services recommends.
instanceType
- The type of instance that Amazon Web Services recommends.public String getInstanceType()
The type of instance that Amazon Web Services recommends.
public RDSInstanceDetails withInstanceType(String instanceType)
The type of instance that Amazon Web Services recommends.
instanceType
- The type of instance that Amazon Web Services recommends.public void setRegion(String region)
The Amazon Web Services Region of the recommended reservation.
region
- The Amazon Web Services Region of the recommended reservation.public String getRegion()
The Amazon Web Services Region of the recommended reservation.
public RDSInstanceDetails withRegion(String region)
The Amazon Web Services Region of the recommended reservation.
region
- The Amazon Web Services Region of the recommended reservation.public void setDatabaseEngine(String databaseEngine)
The database engine that the recommended reservation supports.
databaseEngine
- The database engine that the recommended reservation supports.public String getDatabaseEngine()
The database engine that the recommended reservation supports.
public RDSInstanceDetails withDatabaseEngine(String databaseEngine)
The database engine that the recommended reservation supports.
databaseEngine
- The database engine that the recommended reservation supports.public void setDatabaseEdition(String databaseEdition)
The database edition that the recommended reservation supports.
databaseEdition
- The database edition that the recommended reservation supports.public String getDatabaseEdition()
The database edition that the recommended reservation supports.
public RDSInstanceDetails withDatabaseEdition(String databaseEdition)
The database edition that the recommended reservation supports.
databaseEdition
- The database edition that the recommended reservation supports.public void setDeploymentOption(String deploymentOption)
Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a backup in a second Availability Zone.
deploymentOption
- Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation
with a backup in a second Availability Zone.public String getDeploymentOption()
Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a backup in a second Availability Zone.
public RDSInstanceDetails withDeploymentOption(String deploymentOption)
Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a backup in a second Availability Zone.
deploymentOption
- Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation
with a backup in a second Availability Zone.public void setLicenseModel(String licenseModel)
The license model that the recommended reservation supports.
licenseModel
- The license model that the recommended reservation supports.public String getLicenseModel()
The license model that the recommended reservation supports.
public RDSInstanceDetails withLicenseModel(String licenseModel)
The license model that the recommended reservation supports.
licenseModel
- The license model that the recommended reservation supports.public void setCurrentGeneration(Boolean currentGeneration)
Determines whether the recommendation is for a current-generation instance.
currentGeneration
- Determines whether the recommendation is for a current-generation instance.public Boolean getCurrentGeneration()
Determines whether the recommendation is for a current-generation instance.
public RDSInstanceDetails withCurrentGeneration(Boolean currentGeneration)
Determines whether the recommendation is for a current-generation instance.
currentGeneration
- Determines whether the recommendation is for a current-generation instance.public Boolean isCurrentGeneration()
Determines whether the recommendation is for a current-generation instance.
public void setSizeFlexEligible(Boolean sizeFlexEligible)
Determines whether the recommended reservation is size flexible.
sizeFlexEligible
- Determines whether the recommended reservation is size flexible.public Boolean getSizeFlexEligible()
Determines whether the recommended reservation is size flexible.
public RDSInstanceDetails withSizeFlexEligible(Boolean sizeFlexEligible)
Determines whether the recommended reservation is size flexible.
sizeFlexEligible
- Determines whether the recommended reservation is size flexible.public Boolean isSizeFlexEligible()
Determines whether the recommended reservation is size flexible.
public String toString()
toString
in class Object
Object.toString()
public RDSInstanceDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.