public class OrderableDBInstanceOption
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains a list of available options for a DB instance
This data type is used as a response element in the DescribeOrderableDBInstanceOptions action.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<AvailabilityZone> |
availabilityZones
A list of Availability Zones for the orderable DB instance.
|
private java.lang.String |
dBInstanceClass
The DB instance class for the orderable DB instance.
|
private java.lang.String |
engine
The engine type of the orderable DB instance.
|
private java.lang.String |
engineVersion
The engine version of the orderable DB instance.
|
private java.lang.String |
licenseModel
The license model for the orderable DB instance.
|
private java.lang.Boolean |
multiAZCapable
Indicates whether this orderable DB instance is multi-AZ capable.
|
private java.lang.Boolean |
readReplicaCapable
Indicates whether this orderable DB instance can have a Read Replica.
|
private java.lang.String |
storageType
Indicates the storage type for this orderable DB instance.
|
private java.lang.Boolean |
supportsEnhancedMonitoring
Indicates whether the DB instance supports enhanced monitoring at
intervals from 1 to 60 seconds.
|
private java.lang.Boolean |
supportsIops
Indicates whether this orderable DB instance supports provisioned IOPS.
|
private java.lang.Boolean |
supportsStorageEncryption
Indicates whether this orderable DB instance supports encrypted storage.
|
private java.lang.Boolean |
vpc
Indicates whether this is a VPC orderable DB instance.
|
Constructor and Description |
---|
OrderableDBInstanceOption() |
Modifier and Type | Method and Description |
---|---|
OrderableDBInstanceOption |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<AvailabilityZone> |
getAvailabilityZones()
A list of Availability Zones for the orderable DB instance.
|
java.lang.String |
getDBInstanceClass()
The DB instance class for the orderable DB instance.
|
java.lang.String |
getEngine()
The engine type of the orderable DB instance.
|
java.lang.String |
getEngineVersion()
The engine version of the orderable DB instance.
|
java.lang.String |
getLicenseModel()
The license model for the orderable DB instance.
|
java.lang.Boolean |
getMultiAZCapable()
Indicates whether this orderable DB instance is multi-AZ capable.
|
java.lang.Boolean |
getReadReplicaCapable()
Indicates whether this orderable DB instance can have a Read Replica.
|
java.lang.String |
getStorageType()
Indicates the storage type for this orderable DB instance.
|
java.lang.Boolean |
getSupportsEnhancedMonitoring()
Indicates whether the DB instance supports enhanced monitoring at
intervals from 1 to 60 seconds.
|
java.lang.Boolean |
getSupportsIops()
Indicates whether this orderable DB instance supports provisioned IOPS.
|
java.lang.Boolean |
getSupportsStorageEncryption()
Indicates whether this orderable DB instance supports encrypted storage.
|
java.lang.Boolean |
getVpc()
Indicates whether this is a VPC orderable DB instance.
|
int |
hashCode() |
java.lang.Boolean |
isMultiAZCapable()
Indicates whether this orderable DB instance is multi-AZ capable.
|
java.lang.Boolean |
isReadReplicaCapable()
Indicates whether this orderable DB instance can have a Read Replica.
|
java.lang.Boolean |
isSupportsEnhancedMonitoring()
Indicates whether the DB instance supports enhanced monitoring at
intervals from 1 to 60 seconds.
|
java.lang.Boolean |
isSupportsIops()
Indicates whether this orderable DB instance supports provisioned IOPS.
|
java.lang.Boolean |
isSupportsStorageEncryption()
Indicates whether this orderable DB instance supports encrypted storage.
|
java.lang.Boolean |
isVpc()
Indicates whether this is a VPC orderable DB instance.
|
void |
setAvailabilityZones(java.util.Collection<AvailabilityZone> availabilityZones)
A list of Availability Zones for the orderable DB instance.
|
void |
setDBInstanceClass(java.lang.String dBInstanceClass)
The DB instance class for the orderable DB instance.
|
void |
setEngine(java.lang.String engine)
The engine type of the orderable DB instance.
|
void |
setEngineVersion(java.lang.String engineVersion)
The engine version of the orderable DB instance.
|
void |
setLicenseModel(java.lang.String licenseModel)
The license model for the orderable DB instance.
|
void |
setMultiAZCapable(java.lang.Boolean multiAZCapable)
Indicates whether this orderable DB instance is multi-AZ capable.
|
void |
setReadReplicaCapable(java.lang.Boolean readReplicaCapable)
Indicates whether this orderable DB instance can have a Read Replica.
|
void |
setStorageType(java.lang.String storageType)
Indicates the storage type for this orderable DB instance.
|
void |
setSupportsEnhancedMonitoring(java.lang.Boolean supportsEnhancedMonitoring)
Indicates whether the DB instance supports enhanced monitoring at
intervals from 1 to 60 seconds.
|
void |
setSupportsIops(java.lang.Boolean supportsIops)
Indicates whether this orderable DB instance supports provisioned IOPS.
|
void |
setSupportsStorageEncryption(java.lang.Boolean supportsStorageEncryption)
Indicates whether this orderable DB instance supports encrypted storage.
|
void |
setVpc(java.lang.Boolean vpc)
Indicates whether this is a VPC orderable DB instance.
|
java.lang.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(java.util.Collection<AvailabilityZone> availabilityZones)
A list of Availability Zones for the orderable DB instance.
|
OrderableDBInstanceOption |
withDBInstanceClass(java.lang.String dBInstanceClass)
The DB instance class for the orderable DB instance.
|
OrderableDBInstanceOption |
withEngine(java.lang.String engine)
The engine type of the orderable DB instance.
|
OrderableDBInstanceOption |
withEngineVersion(java.lang.String engineVersion)
The engine version of the orderable DB instance.
|
OrderableDBInstanceOption |
withLicenseModel(java.lang.String licenseModel)
The license model for the orderable DB instance.
|
OrderableDBInstanceOption |
withMultiAZCapable(java.lang.Boolean multiAZCapable)
Indicates whether this orderable DB instance is multi-AZ capable.
|
OrderableDBInstanceOption |
withReadReplicaCapable(java.lang.Boolean readReplicaCapable)
Indicates whether this orderable DB instance can have a Read Replica.
|
OrderableDBInstanceOption |
withStorageType(java.lang.String storageType)
Indicates the storage type for this orderable DB instance.
|
OrderableDBInstanceOption |
withSupportsEnhancedMonitoring(java.lang.Boolean supportsEnhancedMonitoring)
Indicates whether the DB instance supports enhanced monitoring at
intervals from 1 to 60 seconds.
|
OrderableDBInstanceOption |
withSupportsIops(java.lang.Boolean supportsIops)
Indicates whether this orderable DB instance supports provisioned IOPS.
|
OrderableDBInstanceOption |
withSupportsStorageEncryption(java.lang.Boolean supportsStorageEncryption)
Indicates whether this orderable DB instance supports encrypted storage.
|
OrderableDBInstanceOption |
withVpc(java.lang.Boolean vpc)
Indicates whether this is a VPC orderable DB instance.
|
private java.lang.String engine
The engine type of the orderable DB instance.
private java.lang.String engineVersion
The engine version of the orderable DB instance.
private java.lang.String dBInstanceClass
The DB instance class for the orderable DB instance.
private java.lang.String licenseModel
The license model for the orderable DB instance.
private SdkInternalList<AvailabilityZone> availabilityZones
A list of Availability Zones for the orderable DB instance.
private java.lang.Boolean multiAZCapable
Indicates whether this orderable DB instance is multi-AZ capable.
private java.lang.Boolean readReplicaCapable
Indicates whether this orderable DB instance can have a Read Replica.
private java.lang.Boolean vpc
Indicates whether this is a VPC orderable DB instance.
private java.lang.Boolean supportsStorageEncryption
Indicates whether this orderable DB instance supports encrypted storage.
private java.lang.String storageType
Indicates the storage type for this orderable DB instance.
private java.lang.Boolean supportsIops
Indicates whether this orderable DB instance supports provisioned IOPS.
private java.lang.Boolean supportsEnhancedMonitoring
Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.
public void setEngine(java.lang.String engine)
The engine type of the orderable DB instance.
engine
- The engine type of the orderable DB instance.public java.lang.String getEngine()
The engine type of the orderable DB instance.
public OrderableDBInstanceOption withEngine(java.lang.String engine)
The engine type of the orderable DB instance.
engine
- The engine type of the orderable DB instance.public void setEngineVersion(java.lang.String engineVersion)
The engine version of the orderable DB instance.
engineVersion
- The engine version of the orderable DB instance.public java.lang.String getEngineVersion()
The engine version of the orderable DB instance.
public OrderableDBInstanceOption withEngineVersion(java.lang.String engineVersion)
The engine version of the orderable DB instance.
engineVersion
- The engine version of the orderable DB instance.public void setDBInstanceClass(java.lang.String dBInstanceClass)
The DB instance class for the orderable DB instance.
dBInstanceClass
- The DB instance class for the orderable DB instance.public java.lang.String getDBInstanceClass()
The DB instance class for the orderable DB instance.
public OrderableDBInstanceOption withDBInstanceClass(java.lang.String dBInstanceClass)
The DB instance class for the orderable DB instance.
dBInstanceClass
- The DB instance class for the orderable DB instance.public void setLicenseModel(java.lang.String licenseModel)
The license model for the orderable DB instance.
licenseModel
- The license model for the orderable DB instance.public java.lang.String getLicenseModel()
The license model for the orderable DB instance.
public OrderableDBInstanceOption withLicenseModel(java.lang.String licenseModel)
The license model for the orderable DB instance.
licenseModel
- The license model for the orderable DB instance.public java.util.List<AvailabilityZone> getAvailabilityZones()
A list of Availability Zones for the orderable DB instance.
public void setAvailabilityZones(java.util.Collection<AvailabilityZone> availabilityZones)
A list of Availability Zones for the orderable DB instance.
availabilityZones
- A list of Availability Zones for the orderable DB instance.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)
or
withAvailabilityZones(java.util.Collection)
if you want to
override the existing values.
availabilityZones
- A list of Availability Zones for the orderable DB instance.public OrderableDBInstanceOption withAvailabilityZones(java.util.Collection<AvailabilityZone> availabilityZones)
A list of Availability Zones for the orderable DB instance.
availabilityZones
- A list of Availability Zones for the orderable DB instance.public void setMultiAZCapable(java.lang.Boolean multiAZCapable)
Indicates whether this orderable DB instance is multi-AZ capable.
multiAZCapable
- Indicates whether this orderable DB instance is multi-AZ capable.public java.lang.Boolean getMultiAZCapable()
Indicates whether this orderable DB instance is multi-AZ capable.
public OrderableDBInstanceOption withMultiAZCapable(java.lang.Boolean multiAZCapable)
Indicates whether this orderable DB instance is multi-AZ capable.
multiAZCapable
- Indicates whether this orderable DB instance is multi-AZ capable.public java.lang.Boolean isMultiAZCapable()
Indicates whether this orderable DB instance is multi-AZ capable.
public void setReadReplicaCapable(java.lang.Boolean readReplicaCapable)
Indicates whether this orderable DB instance can have a Read Replica.
readReplicaCapable
- Indicates whether this orderable DB instance can have a Read
Replica.public java.lang.Boolean getReadReplicaCapable()
Indicates whether this orderable DB instance can have a Read Replica.
public OrderableDBInstanceOption withReadReplicaCapable(java.lang.Boolean readReplicaCapable)
Indicates whether this orderable DB instance can have a Read Replica.
readReplicaCapable
- Indicates whether this orderable DB instance can have a Read
Replica.public java.lang.Boolean isReadReplicaCapable()
Indicates whether this orderable DB instance can have a Read Replica.
public void setVpc(java.lang.Boolean vpc)
Indicates whether this is a VPC orderable DB instance.
vpc
- Indicates whether this is a VPC orderable DB instance.public java.lang.Boolean getVpc()
Indicates whether this is a VPC orderable DB instance.
public OrderableDBInstanceOption withVpc(java.lang.Boolean vpc)
Indicates whether this is a VPC orderable DB instance.
vpc
- Indicates whether this is a VPC orderable DB instance.public java.lang.Boolean isVpc()
Indicates whether this is a VPC orderable DB instance.
public void setSupportsStorageEncryption(java.lang.Boolean supportsStorageEncryption)
Indicates whether this orderable DB instance supports encrypted storage.
supportsStorageEncryption
- Indicates whether this orderable DB instance supports encrypted
storage.public java.lang.Boolean getSupportsStorageEncryption()
Indicates whether this orderable DB instance supports encrypted storage.
public OrderableDBInstanceOption withSupportsStorageEncryption(java.lang.Boolean supportsStorageEncryption)
Indicates whether this orderable DB instance supports encrypted storage.
supportsStorageEncryption
- Indicates whether this orderable DB instance supports encrypted
storage.public java.lang.Boolean isSupportsStorageEncryption()
Indicates whether this orderable DB instance supports encrypted storage.
public void setStorageType(java.lang.String storageType)
Indicates the storage type for this orderable DB instance.
storageType
- Indicates the storage type for this orderable DB instance.public java.lang.String getStorageType()
Indicates the storage type for this orderable DB instance.
public OrderableDBInstanceOption withStorageType(java.lang.String storageType)
Indicates the storage type for this orderable DB instance.
storageType
- Indicates the storage type for this orderable DB instance.public void setSupportsIops(java.lang.Boolean supportsIops)
Indicates whether this orderable DB instance supports provisioned IOPS.
supportsIops
- Indicates whether this orderable DB instance supports provisioned
IOPS.public java.lang.Boolean getSupportsIops()
Indicates whether this orderable DB instance supports provisioned IOPS.
public OrderableDBInstanceOption withSupportsIops(java.lang.Boolean supportsIops)
Indicates whether this orderable DB instance supports provisioned IOPS.
supportsIops
- Indicates whether this orderable DB instance supports provisioned
IOPS.public java.lang.Boolean isSupportsIops()
Indicates whether this orderable DB instance supports provisioned IOPS.
public void setSupportsEnhancedMonitoring(java.lang.Boolean supportsEnhancedMonitoring)
Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.
supportsEnhancedMonitoring
- Indicates whether the DB instance supports enhanced monitoring at
intervals from 1 to 60 seconds.public java.lang.Boolean getSupportsEnhancedMonitoring()
Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.
public OrderableDBInstanceOption withSupportsEnhancedMonitoring(java.lang.Boolean supportsEnhancedMonitoring)
Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.
supportsEnhancedMonitoring
- Indicates whether the DB instance supports enhanced monitoring at
intervals from 1 to 60 seconds.public java.lang.Boolean isSupportsEnhancedMonitoring()
Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public OrderableDBInstanceOption clone()
clone
in class java.lang.Object