Class OrderableDBInstanceOption
- java.lang.Object
-
- com.amazonaws.services.rds.model.OrderableDBInstanceOption
-
- All Implemented Interfaces:
Serializable,Cloneable
public class OrderableDBInstanceOption extends Object implements Serializable, Cloneable
Contains a list of available options for a DB instance
This data type is used as a response element in the DescribeOrderableDBInstanceOptions action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OrderableDBInstanceOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrderableDBInstanceOptionclone()booleanequals(Object obj)List<AvailabilityZone>getAvailabilityZones()A list of Availability Zones for the orderable DB instance.StringgetDBInstanceClass()The DB instance class for the orderable DB instance.StringgetEngine()The engine type of the orderable DB instance.StringgetEngineVersion()The engine version of the orderable DB instance.StringgetLicenseModel()The license model for the orderable DB instance.BooleangetMultiAZCapable()Indicates whether this orderable DB instance is multi-AZ capable.BooleangetReadReplicaCapable()Indicates whether this orderable DB instance can have a Read Replica.StringgetStorageType()Indicates the storage type for this orderable DB instance.BooleangetSupportsEnhancedMonitoring()Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.BooleangetSupportsIops()Indicates whether this orderable DB instance supports provisioned IOPS.BooleangetSupportsStorageEncryption()Indicates whether this orderable DB instance supports encrypted storage.BooleangetVpc()Indicates whether this is a VPC orderable DB instance.inthashCode()BooleanisMultiAZCapable()Indicates whether this orderable DB instance is multi-AZ capable.BooleanisReadReplicaCapable()Indicates whether this orderable DB instance can have a Read Replica.BooleanisSupportsEnhancedMonitoring()Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.BooleanisSupportsIops()Indicates whether this orderable DB instance supports provisioned IOPS.BooleanisSupportsStorageEncryption()Indicates whether this orderable DB instance supports encrypted storage.BooleanisVpc()Indicates whether this is a VPC orderable DB instance.voidsetAvailabilityZones(Collection<AvailabilityZone> availabilityZones)A list of Availability Zones for the orderable DB instance.voidsetDBInstanceClass(String dBInstanceClass)The DB instance class for the orderable DB instance.voidsetEngine(String engine)The engine type of the orderable DB instance.voidsetEngineVersion(String engineVersion)The engine version of the orderable DB instance.voidsetLicenseModel(String licenseModel)The license model for the orderable DB instance.voidsetMultiAZCapable(Boolean multiAZCapable)Indicates whether this orderable DB instance is multi-AZ capable.voidsetReadReplicaCapable(Boolean readReplicaCapable)Indicates whether this orderable DB instance can have a Read Replica.voidsetStorageType(String storageType)Indicates the storage type for this orderable DB instance.voidsetSupportsEnhancedMonitoring(Boolean supportsEnhancedMonitoring)Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.voidsetSupportsIops(Boolean supportsIops)Indicates whether this orderable DB instance supports provisioned IOPS.voidsetSupportsStorageEncryption(Boolean supportsStorageEncryption)Indicates whether this orderable DB instance supports encrypted storage.voidsetVpc(Boolean vpc)Indicates whether this is a VPC orderable DB instance.StringtoString()Returns a string representation of this object; useful for testing and debugging.OrderableDBInstanceOptionwithAvailabilityZones(AvailabilityZone... availabilityZones)A list of Availability Zones for the orderable DB instance.OrderableDBInstanceOptionwithAvailabilityZones(Collection<AvailabilityZone> availabilityZones)A list of Availability Zones for the orderable DB instance.OrderableDBInstanceOptionwithDBInstanceClass(String dBInstanceClass)The DB instance class for the orderable DB instance.OrderableDBInstanceOptionwithEngine(String engine)The engine type of the orderable DB instance.OrderableDBInstanceOptionwithEngineVersion(String engineVersion)The engine version of the orderable DB instance.OrderableDBInstanceOptionwithLicenseModel(String licenseModel)The license model for the orderable DB instance.OrderableDBInstanceOptionwithMultiAZCapable(Boolean multiAZCapable)Indicates whether this orderable DB instance is multi-AZ capable.OrderableDBInstanceOptionwithReadReplicaCapable(Boolean readReplicaCapable)Indicates whether this orderable DB instance can have a Read Replica.OrderableDBInstanceOptionwithStorageType(String storageType)Indicates the storage type for this orderable DB instance.OrderableDBInstanceOptionwithSupportsEnhancedMonitoring(Boolean supportsEnhancedMonitoring)Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.OrderableDBInstanceOptionwithSupportsIops(Boolean supportsIops)Indicates whether this orderable DB instance supports provisioned IOPS.OrderableDBInstanceOptionwithSupportsStorageEncryption(Boolean supportsStorageEncryption)Indicates whether this orderable DB instance supports encrypted storage.OrderableDBInstanceOptionwithVpc(Boolean vpc)Indicates whether this is a VPC orderable DB instance.
-
-
-
Method Detail
-
setEngine
public void setEngine(String engine)
The engine type of the orderable DB instance.
- Parameters:
engine- The engine type of the orderable DB instance.
-
getEngine
public String getEngine()
The engine type of the orderable DB instance.
- Returns:
- The engine type of the orderable DB instance.
-
withEngine
public OrderableDBInstanceOption withEngine(String engine)
The engine type of the orderable DB instance.
- Parameters:
engine- The engine type of the orderable DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEngineVersion
public void setEngineVersion(String engineVersion)
The engine version of the orderable DB instance.
- Parameters:
engineVersion- The engine version of the orderable DB instance.
-
getEngineVersion
public String getEngineVersion()
The engine version of the orderable DB instance.
- Returns:
- The engine version of the orderable DB instance.
-
withEngineVersion
public OrderableDBInstanceOption withEngineVersion(String engineVersion)
The engine version of the orderable DB instance.
- Parameters:
engineVersion- The engine version of the orderable DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBInstanceClass
public void setDBInstanceClass(String dBInstanceClass)
The DB instance class for the orderable DB instance.
- Parameters:
dBInstanceClass- The DB instance class for the orderable DB instance.
-
getDBInstanceClass
public String getDBInstanceClass()
The DB instance class for the orderable DB instance.
- Returns:
- The DB instance class for the orderable DB instance.
-
withDBInstanceClass
public OrderableDBInstanceOption withDBInstanceClass(String dBInstanceClass)
The DB instance class for the orderable DB instance.
- Parameters:
dBInstanceClass- The DB instance class for the orderable DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLicenseModel
public void setLicenseModel(String licenseModel)
The license model for the orderable DB instance.
- Parameters:
licenseModel- The license model for the orderable DB instance.
-
getLicenseModel
public String getLicenseModel()
The license model for the orderable DB instance.
- Returns:
- The license model for the orderable DB instance.
-
withLicenseModel
public OrderableDBInstanceOption withLicenseModel(String licenseModel)
The license model for the orderable DB instance.
- Parameters:
licenseModel- The license model for the orderable DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAvailabilityZones
public List<AvailabilityZone> getAvailabilityZones()
A list of Availability Zones for the orderable DB instance.
- Returns:
- A list of Availability Zones for the orderable DB instance.
-
setAvailabilityZones
public void setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
A list of Availability Zones for the orderable DB instance.
- Parameters:
availabilityZones- A list of Availability Zones for the orderable DB instance.
-
withAvailabilityZones
public OrderableDBInstanceOption withAvailabilityZones(AvailabilityZone... availabilityZones)
A list of Availability Zones for the orderable DB instance.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)orwithAvailabilityZones(java.util.Collection)if you want to override the existing values.- Parameters:
availabilityZones- A list of Availability Zones for the orderable DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAvailabilityZones
public OrderableDBInstanceOption withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
A list of Availability Zones for the orderable DB instance.
- Parameters:
availabilityZones- A list of Availability Zones for the orderable DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMultiAZCapable
public void setMultiAZCapable(Boolean multiAZCapable)
Indicates whether this orderable DB instance is multi-AZ capable.
- Parameters:
multiAZCapable- Indicates whether this orderable DB instance is multi-AZ capable.
-
getMultiAZCapable
public Boolean getMultiAZCapable()
Indicates whether this orderable DB instance is multi-AZ capable.
- Returns:
- Indicates whether this orderable DB instance is multi-AZ capable.
-
withMultiAZCapable
public OrderableDBInstanceOption withMultiAZCapable(Boolean multiAZCapable)
Indicates whether this orderable DB instance is multi-AZ capable.
- Parameters:
multiAZCapable- Indicates whether this orderable DB instance is multi-AZ capable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isMultiAZCapable
public Boolean isMultiAZCapable()
Indicates whether this orderable DB instance is multi-AZ capable.
- Returns:
- Indicates whether this orderable DB instance is multi-AZ capable.
-
setReadReplicaCapable
public void setReadReplicaCapable(Boolean readReplicaCapable)
Indicates whether this orderable DB instance can have a Read Replica.
- Parameters:
readReplicaCapable- Indicates whether this orderable DB instance can have a Read Replica.
-
getReadReplicaCapable
public Boolean getReadReplicaCapable()
Indicates whether this orderable DB instance can have a Read Replica.
- Returns:
- Indicates whether this orderable DB instance can have a Read Replica.
-
withReadReplicaCapable
public OrderableDBInstanceOption withReadReplicaCapable(Boolean readReplicaCapable)
Indicates whether this orderable DB instance can have a Read Replica.
- Parameters:
readReplicaCapable- Indicates whether this orderable DB instance can have a Read Replica.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isReadReplicaCapable
public Boolean isReadReplicaCapable()
Indicates whether this orderable DB instance can have a Read Replica.
- Returns:
- Indicates whether this orderable DB instance can have a Read Replica.
-
setVpc
public void setVpc(Boolean vpc)
Indicates whether this is a VPC orderable DB instance.
- Parameters:
vpc- Indicates whether this is a VPC orderable DB instance.
-
getVpc
public Boolean getVpc()
Indicates whether this is a VPC orderable DB instance.
- Returns:
- Indicates whether this is a VPC orderable DB instance.
-
withVpc
public OrderableDBInstanceOption withVpc(Boolean vpc)
Indicates whether this is a VPC orderable DB instance.
- Parameters:
vpc- Indicates whether this is a VPC orderable DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isVpc
public Boolean isVpc()
Indicates whether this is a VPC orderable DB instance.
- Returns:
- Indicates whether this is a VPC orderable DB instance.
-
setSupportsStorageEncryption
public void setSupportsStorageEncryption(Boolean supportsStorageEncryption)
Indicates whether this orderable DB instance supports encrypted storage.
- Parameters:
supportsStorageEncryption- Indicates whether this orderable DB instance supports encrypted storage.
-
getSupportsStorageEncryption
public Boolean getSupportsStorageEncryption()
Indicates whether this orderable DB instance supports encrypted storage.
- Returns:
- Indicates whether this orderable DB instance supports encrypted storage.
-
withSupportsStorageEncryption
public OrderableDBInstanceOption withSupportsStorageEncryption(Boolean supportsStorageEncryption)
Indicates whether this orderable DB instance supports encrypted storage.
- Parameters:
supportsStorageEncryption- Indicates whether this orderable DB instance supports encrypted storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isSupportsStorageEncryption
public Boolean isSupportsStorageEncryption()
Indicates whether this orderable DB instance supports encrypted storage.
- Returns:
- Indicates whether this orderable DB instance supports encrypted storage.
-
setStorageType
public void setStorageType(String storageType)
Indicates the storage type for this orderable DB instance.
- Parameters:
storageType- Indicates the storage type for this orderable DB instance.
-
getStorageType
public String getStorageType()
Indicates the storage type for this orderable DB instance.
- Returns:
- Indicates the storage type for this orderable DB instance.
-
withStorageType
public OrderableDBInstanceOption withStorageType(String storageType)
Indicates the storage type for this orderable DB instance.
- Parameters:
storageType- Indicates the storage type for this orderable DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSupportsIops
public void setSupportsIops(Boolean supportsIops)
Indicates whether this orderable DB instance supports provisioned IOPS.
- Parameters:
supportsIops- Indicates whether this orderable DB instance supports provisioned IOPS.
-
getSupportsIops
public Boolean getSupportsIops()
Indicates whether this orderable DB instance supports provisioned IOPS.
- Returns:
- Indicates whether this orderable DB instance supports provisioned IOPS.
-
withSupportsIops
public OrderableDBInstanceOption withSupportsIops(Boolean supportsIops)
Indicates whether this orderable DB instance supports provisioned IOPS.
- Parameters:
supportsIops- Indicates whether this orderable DB instance supports provisioned IOPS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isSupportsIops
public Boolean isSupportsIops()
Indicates whether this orderable DB instance supports provisioned IOPS.
- Returns:
- Indicates whether this orderable DB instance supports provisioned IOPS.
-
setSupportsEnhancedMonitoring
public void setSupportsEnhancedMonitoring(Boolean supportsEnhancedMonitoring)
Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.
- Parameters:
supportsEnhancedMonitoring- Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.
-
getSupportsEnhancedMonitoring
public Boolean getSupportsEnhancedMonitoring()
Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.
- Returns:
- Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.
-
withSupportsEnhancedMonitoring
public OrderableDBInstanceOption withSupportsEnhancedMonitoring(Boolean supportsEnhancedMonitoring)
Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.
- Parameters:
supportsEnhancedMonitoring- Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isSupportsEnhancedMonitoring
public Boolean isSupportsEnhancedMonitoring()
Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.
- Returns:
- Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public OrderableDBInstanceOption clone()
-
-