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 OrderableDBInstanceOption
clone()
boolean
equals(Object obj)
List<AvailabilityZone>
getAvailabilityZones()
A list of Availability Zones for the orderable DB instance.String
getDBInstanceClass()
The DB instance class for the orderable DB instance.String
getEngine()
The engine type of the orderable DB instance.String
getEngineVersion()
The engine version of the orderable DB instance.String
getLicenseModel()
The license model for the orderable DB instance.Boolean
getMultiAZCapable()
Indicates whether this orderable DB instance is multi-AZ capable.Boolean
getReadReplicaCapable()
Indicates whether this orderable DB instance can have a Read Replica.String
getStorageType()
Indicates the storage type for this orderable DB instance.Boolean
getSupportsEnhancedMonitoring()
Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.Boolean
getSupportsIops()
Indicates whether this orderable DB instance supports provisioned IOPS.Boolean
getSupportsStorageEncryption()
Indicates whether this orderable DB instance supports encrypted storage.Boolean
getVpc()
Indicates whether this is a VPC orderable DB instance.int
hashCode()
Boolean
isMultiAZCapable()
Indicates whether this orderable DB instance is multi-AZ capable.Boolean
isReadReplicaCapable()
Indicates whether this orderable DB instance can have a Read Replica.Boolean
isSupportsEnhancedMonitoring()
Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.Boolean
isSupportsIops()
Indicates whether this orderable DB instance supports provisioned IOPS.Boolean
isSupportsStorageEncryption()
Indicates whether this orderable DB instance supports encrypted storage.Boolean
isVpc()
Indicates whether this is a VPC orderable DB instance.void
setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
A list of Availability Zones for the orderable DB instance.void
setDBInstanceClass(String dBInstanceClass)
The DB instance class for the orderable DB instance.void
setEngine(String engine)
The engine type of the orderable DB instance.void
setEngineVersion(String engineVersion)
The engine version of the orderable DB instance.void
setLicenseModel(String licenseModel)
The license model for the orderable DB instance.void
setMultiAZCapable(Boolean multiAZCapable)
Indicates whether this orderable DB instance is multi-AZ capable.void
setReadReplicaCapable(Boolean readReplicaCapable)
Indicates whether this orderable DB instance can have a Read Replica.void
setStorageType(String storageType)
Indicates the storage type for this orderable DB instance.void
setSupportsEnhancedMonitoring(Boolean supportsEnhancedMonitoring)
Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.void
setSupportsIops(Boolean supportsIops)
Indicates whether this orderable DB instance supports provisioned IOPS.void
setSupportsStorageEncryption(Boolean supportsStorageEncryption)
Indicates whether this orderable DB instance supports encrypted storage.void
setVpc(Boolean vpc)
Indicates whether this is a VPC orderable DB instance.String
toString()
Returns a string representation of this object; useful for testing and debugging.OrderableDBInstanceOption
withAvailabilityZones(AvailabilityZone... availabilityZones)
A list of Availability Zones for the orderable DB instance.OrderableDBInstanceOption
withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
A list of Availability Zones for the orderable DB instance.OrderableDBInstanceOption
withDBInstanceClass(String dBInstanceClass)
The DB instance class for the orderable DB instance.OrderableDBInstanceOption
withEngine(String engine)
The engine type of the orderable DB instance.OrderableDBInstanceOption
withEngineVersion(String engineVersion)
The engine version of the orderable DB instance.OrderableDBInstanceOption
withLicenseModel(String licenseModel)
The license model for the orderable DB instance.OrderableDBInstanceOption
withMultiAZCapable(Boolean multiAZCapable)
Indicates whether this orderable DB instance is multi-AZ capable.OrderableDBInstanceOption
withReadReplicaCapable(Boolean readReplicaCapable)
Indicates whether this orderable DB instance can have a Read Replica.OrderableDBInstanceOption
withStorageType(String storageType)
Indicates the storage type for this orderable DB instance.OrderableDBInstanceOption
withSupportsEnhancedMonitoring(Boolean supportsEnhancedMonitoring)
Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.OrderableDBInstanceOption
withSupportsIops(Boolean supportsIops)
Indicates whether this orderable DB instance supports provisioned IOPS.OrderableDBInstanceOption
withSupportsStorageEncryption(Boolean supportsStorageEncryption)
Indicates whether this orderable DB instance supports encrypted storage.OrderableDBInstanceOption
withVpc(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public OrderableDBInstanceOption clone()
-
-