@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrderableDBInstanceOption extends Object implements Serializable, Cloneable
The options that are available for an instance.
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 an instance.
|
String |
getDBInstanceClass()
The instance class for an instance.
|
String |
getEngine()
The engine type of an instance.
|
String |
getEngineVersion()
The engine version of an instance.
|
String |
getLicenseModel()
The license model for an instance.
|
String |
getStorageType()
The storage type to associate with the DB cluster
|
Boolean |
getVpc()
Indicates whether an instance is in a virtual private cloud (VPC).
|
int |
hashCode() |
Boolean |
isVpc()
Indicates whether an instance is in a virtual private cloud (VPC).
|
void |
setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
A list of Availability Zones for an instance.
|
void |
setDBInstanceClass(String dBInstanceClass)
The instance class for an instance.
|
void |
setEngine(String engine)
The engine type of an instance.
|
void |
setEngineVersion(String engineVersion)
The engine version of an instance.
|
void |
setLicenseModel(String licenseModel)
The license model for an instance.
|
void |
setStorageType(String storageType)
The storage type to associate with the DB cluster
|
void |
setVpc(Boolean vpc)
Indicates whether an instance is in a virtual private cloud (VPC).
|
String |
toString()
Returns a string representation of this object.
|
OrderableDBInstanceOption |
withAvailabilityZones(AvailabilityZone... availabilityZones)
A list of Availability Zones for an instance.
|
OrderableDBInstanceOption |
withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
A list of Availability Zones for an instance.
|
OrderableDBInstanceOption |
withDBInstanceClass(String dBInstanceClass)
The instance class for an instance.
|
OrderableDBInstanceOption |
withEngine(String engine)
The engine type of an instance.
|
OrderableDBInstanceOption |
withEngineVersion(String engineVersion)
The engine version of an instance.
|
OrderableDBInstanceOption |
withLicenseModel(String licenseModel)
The license model for an instance.
|
OrderableDBInstanceOption |
withStorageType(String storageType)
The storage type to associate with the DB cluster
|
OrderableDBInstanceOption |
withVpc(Boolean vpc)
Indicates whether an instance is in a virtual private cloud (VPC).
|
public void setEngine(String engine)
The engine type of an instance.
engine
- The engine type of an instance.public String getEngine()
The engine type of an instance.
public OrderableDBInstanceOption withEngine(String engine)
The engine type of an instance.
engine
- The engine type of an instance.public void setEngineVersion(String engineVersion)
The engine version of an instance.
engineVersion
- The engine version of an instance.public String getEngineVersion()
The engine version of an instance.
public OrderableDBInstanceOption withEngineVersion(String engineVersion)
The engine version of an instance.
engineVersion
- The engine version of an instance.public void setDBInstanceClass(String dBInstanceClass)
The instance class for an instance.
dBInstanceClass
- The instance class for an instance.public String getDBInstanceClass()
The instance class for an instance.
public OrderableDBInstanceOption withDBInstanceClass(String dBInstanceClass)
The instance class for an instance.
dBInstanceClass
- The instance class for an instance.public void setLicenseModel(String licenseModel)
The license model for an instance.
licenseModel
- The license model for an instance.public String getLicenseModel()
The license model for an instance.
public OrderableDBInstanceOption withLicenseModel(String licenseModel)
The license model for an instance.
licenseModel
- The license model for an instance.public List<AvailabilityZone> getAvailabilityZones()
A list of Availability Zones for an instance.
public void setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
A list of Availability Zones for an instance.
availabilityZones
- A list of Availability Zones for an instance.public OrderableDBInstanceOption withAvailabilityZones(AvailabilityZone... availabilityZones)
A list of Availability Zones for an instance.
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.
availabilityZones
- A list of Availability Zones for an instance.public OrderableDBInstanceOption withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
A list of Availability Zones for an instance.
availabilityZones
- A list of Availability Zones for an instance.public void setVpc(Boolean vpc)
Indicates whether an instance is in a virtual private cloud (VPC).
vpc
- Indicates whether an instance is in a virtual private cloud (VPC).public Boolean getVpc()
Indicates whether an instance is in a virtual private cloud (VPC).
public OrderableDBInstanceOption withVpc(Boolean vpc)
Indicates whether an instance is in a virtual private cloud (VPC).
vpc
- Indicates whether an instance is in a virtual private cloud (VPC).public Boolean isVpc()
Indicates whether an instance is in a virtual private cloud (VPC).
public void setStorageType(String storageType)
The storage type to associate with the DB cluster
storageType
- The storage type to associate with the DB clusterpublic String getStorageType()
The storage type to associate with the DB cluster
public OrderableDBInstanceOption withStorageType(String storageType)
The storage type to associate with the DB cluster
storageType
- The storage type to associate with the DB clusterpublic String toString()
toString
in class Object
Object.toString()
public OrderableDBInstanceOption clone()