public class OrderableDBInstanceOption extends Object implements Serializable
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 |
---|---|
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.
|
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 |
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 |
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 |
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 instancepublic 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 instancepublic 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)
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.