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.
Constructor and Description |
---|
OrderableDBInstanceOption() |
Modifier and Type | Method and 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 |
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 |
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 |
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 |
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.
|
public String getEngine()
public void setEngine(String engine)
engine
- The engine type of the orderable DB instance.public OrderableDBInstanceOption withEngine(String engine)
Returns a reference to this object so that method calls can be chained together.
engine
- The engine type of the orderable DB instance.public String getEngineVersion()
public void setEngineVersion(String engineVersion)
engineVersion
- The engine version of the orderable DB instance.public OrderableDBInstanceOption withEngineVersion(String engineVersion)
Returns a reference to this object so that method calls can be chained together.
engineVersion
- The engine version of the orderable DB instance.public String getDBInstanceClass()
public void setDBInstanceClass(String dBInstanceClass)
dBInstanceClass
- The DB instance class for the orderable DB instance.public OrderableDBInstanceOption withDBInstanceClass(String dBInstanceClass)
Returns a reference to this object so that method calls can be chained together.
dBInstanceClass
- The DB instance class for the orderable DB instance.public String getLicenseModel()
public void setLicenseModel(String licenseModel)
licenseModel
- The license model for the orderable DB instance.public OrderableDBInstanceOption withLicenseModel(String licenseModel)
Returns a reference to this object so that method calls can be chained together.
licenseModel
- The license model for the orderable DB instance.public List<AvailabilityZone> getAvailabilityZones()
public void setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
availabilityZones
- A list of Availability Zones for the orderable DB instance.public OrderableDBInstanceOption withAvailabilityZones(AvailabilityZone... availabilityZones)
NOTE: This method appends the values to the existing list (if
any). Use setAvailabilityZones(java.util.Collection)
or
withAvailabilityZones(java.util.Collection)
if you want to
override the existing values.
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- A list of Availability Zones for the orderable DB instance.public OrderableDBInstanceOption withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- A list of Availability Zones for the orderable DB instance.public Boolean isMultiAZCapable()
public void setMultiAZCapable(Boolean multiAZCapable)
multiAZCapable
- Indicates whether this orderable DB instance is multi-AZ capable.public OrderableDBInstanceOption withMultiAZCapable(Boolean multiAZCapable)
Returns a reference to this object so that method calls can be chained together.
multiAZCapable
- Indicates whether this orderable DB instance is multi-AZ capable.public Boolean getMultiAZCapable()
public Boolean isReadReplicaCapable()
public void setReadReplicaCapable(Boolean readReplicaCapable)
readReplicaCapable
- Indicates whether this orderable DB instance can have a Read Replica.public OrderableDBInstanceOption withReadReplicaCapable(Boolean readReplicaCapable)
Returns a reference to this object so that method calls can be chained together.
readReplicaCapable
- Indicates whether this orderable DB instance can have a Read Replica.public Boolean getReadReplicaCapable()
public Boolean isVpc()
public void setVpc(Boolean vpc)
vpc
- Indicates whether this is a VPC orderable DB instance.public OrderableDBInstanceOption withVpc(Boolean vpc)
Returns a reference to this object so that method calls can be chained together.
vpc
- Indicates whether this is a VPC orderable DB instance.public Boolean getVpc()
public Boolean isSupportsStorageEncryption()
public void setSupportsStorageEncryption(Boolean supportsStorageEncryption)
supportsStorageEncryption
- Indicates whether this orderable DB instance supports encrypted
storage.public OrderableDBInstanceOption withSupportsStorageEncryption(Boolean supportsStorageEncryption)
Returns a reference to this object so that method calls can be chained together.
supportsStorageEncryption
- Indicates whether this orderable DB instance supports encrypted
storage.public Boolean getSupportsStorageEncryption()
public String getStorageType()
public void setStorageType(String storageType)
storageType
- Indicates the storage type for this orderable DB instance.public OrderableDBInstanceOption withStorageType(String storageType)
Returns a reference to this object so that method calls can be chained together.
storageType
- Indicates the storage type for this orderable DB instance.public Boolean isSupportsIops()
public void setSupportsIops(Boolean supportsIops)
supportsIops
- Indicates whether this orderable DB instance supports provisioned
IOPS.public OrderableDBInstanceOption withSupportsIops(Boolean supportsIops)
Returns a reference to this object so that method calls can be chained together.
supportsIops
- Indicates whether this orderable DB instance supports provisioned
IOPS.public Boolean getSupportsIops()
public String toString()
toString
in class Object
Object.toString()
public OrderableDBInstanceOption clone()
Copyright © 2015. All rights reserved.