Class OrderableDBInstanceOption
- All Implemented Interfaces:
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of Availability Zones for the orderable DB instance.The DB instance class for the orderable DB instance.The engine type of the orderable DB instance.The engine version of the orderable DB instance.The license model for the orderable DB instance.Indicates whether this orderable DB instance is multi-AZ capable.Indicates whether this orderable DB instance can have a Read Replica.Indicates the storage type for this orderable DB instance.Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.Indicates whether this orderable DB instance supports provisioned IOPS.Indicates whether this orderable DB instance supports encrypted storage.getVpc()
Indicates whether this is a VPC orderable DB instance.int
hashCode()
Indicates whether this orderable DB instance is multi-AZ capable.Indicates whether this orderable DB instance can have a Read Replica.Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.Indicates whether this orderable DB instance supports provisioned IOPS.Indicates whether this orderable DB instance supports encrypted storage.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
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
Indicates whether this is a VPC orderable DB instance.toString()
Returns a string representation of this object; useful for testing and debugging.withAvailabilityZones
(AvailabilityZone... availabilityZones) A list of Availability Zones for the orderable DB instance.withAvailabilityZones
(Collection<AvailabilityZone> availabilityZones) A list of Availability Zones for the orderable DB instance.withDBInstanceClass
(String dBInstanceClass) The DB instance class for the orderable DB instance.withEngine
(String engine) The engine type of the orderable DB instance.withEngineVersion
(String engineVersion) The engine version of the orderable DB instance.withLicenseModel
(String licenseModel) The license model for the orderable DB instance.withMultiAZCapable
(Boolean multiAZCapable) Indicates whether this orderable DB instance is multi-AZ capable.withReadReplicaCapable
(Boolean readReplicaCapable) Indicates whether this orderable DB instance can have a Read Replica.withStorageType
(String storageType) Indicates the storage type for this orderable DB instance.withSupportsEnhancedMonitoring
(Boolean supportsEnhancedMonitoring) Indicates whether the DB instance supports enhanced monitoring at intervals from 1 to 60 seconds.withSupportsIops
(Boolean supportsIops) Indicates whether this orderable DB instance supports provisioned IOPS.withSupportsStorageEncryption
(Boolean supportsStorageEncryption) Indicates whether this orderable DB instance supports encrypted storage.Indicates whether this is a VPC orderable DB instance.
-
Constructor Details
-
OrderableDBInstanceOption
public OrderableDBInstanceOption()
-
-
Method Details
-
setEngine
The engine type of the orderable DB instance.
- Parameters:
engine
- The engine type of the orderable DB instance.
-
getEngine
The engine type of the orderable DB instance.
- Returns:
- The engine type of the orderable DB instance.
-
withEngine
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
The engine version of the orderable DB instance.
- Parameters:
engineVersion
- The engine version of the orderable DB instance.
-
getEngineVersion
The engine version of the orderable DB instance.
- Returns:
- The engine version of the orderable DB instance.
-
withEngineVersion
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
The DB instance class for the orderable DB instance.
- Parameters:
dBInstanceClass
- The DB instance class for the orderable DB instance.
-
getDBInstanceClass
The DB instance class for the orderable DB instance.
- Returns:
- The DB instance class for the orderable DB instance.
-
withDBInstanceClass
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
The license model for the orderable DB instance.
- Parameters:
licenseModel
- The license model for the orderable DB instance.
-
getLicenseModel
The license model for the orderable DB instance.
- Returns:
- The license model for the orderable DB instance.
-
withLicenseModel
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
A list of Availability Zones for the orderable DB instance.
- Returns:
- A list of Availability Zones for the orderable DB instance.
-
setAvailabilityZones
A list of Availability Zones for the orderable DB instance.
- Parameters:
availabilityZones
- A list of Availability Zones for the orderable DB instance.
-
withAvailabilityZones
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
Indicates whether this orderable DB instance is multi-AZ capable.
- Parameters:
multiAZCapable
- Indicates whether this orderable DB instance is multi-AZ capable.
-
getMultiAZCapable
Indicates whether this orderable DB instance is multi-AZ capable.
- Returns:
- Indicates whether this orderable DB instance is multi-AZ capable.
-
withMultiAZCapable
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
Indicates whether this orderable DB instance is multi-AZ capable.
- Returns:
- Indicates whether this orderable DB instance is multi-AZ capable.
-
setReadReplicaCapable
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
Indicates whether this orderable DB instance can have a Read Replica.
- Returns:
- Indicates whether this orderable DB instance can have a Read Replica.
-
withReadReplicaCapable
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
Indicates whether this orderable DB instance can have a Read Replica.
- Returns:
- Indicates whether this orderable DB instance can have a Read Replica.
-
setVpc
Indicates whether this is a VPC orderable DB instance.
- Parameters:
vpc
- Indicates whether this is a VPC orderable DB instance.
-
getVpc
Indicates whether this is a VPC orderable DB instance.
- Returns:
- Indicates whether this is a VPC orderable DB instance.
-
withVpc
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
Indicates whether this is a VPC orderable DB instance.
- Returns:
- Indicates whether this is a VPC orderable DB instance.
-
setSupportsStorageEncryption
Indicates whether this orderable DB instance supports encrypted storage.
- Parameters:
supportsStorageEncryption
- Indicates whether this orderable DB instance supports encrypted storage.
-
getSupportsStorageEncryption
Indicates whether this orderable DB instance supports encrypted storage.
- Returns:
- Indicates whether this orderable DB instance supports encrypted storage.
-
withSupportsStorageEncryption
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
Indicates whether this orderable DB instance supports encrypted storage.
- Returns:
- Indicates whether this orderable DB instance supports encrypted storage.
-
setStorageType
Indicates the storage type for this orderable DB instance.
- Parameters:
storageType
- Indicates the storage type for this orderable DB instance.
-
getStorageType
Indicates the storage type for this orderable DB instance.
- Returns:
- Indicates the storage type for this orderable DB instance.
-
withStorageType
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
Indicates whether this orderable DB instance supports provisioned IOPS.
- Parameters:
supportsIops
- Indicates whether this orderable DB instance supports provisioned IOPS.
-
getSupportsIops
Indicates whether this orderable DB instance supports provisioned IOPS.
- Returns:
- Indicates whether this orderable DB instance supports provisioned IOPS.
-
withSupportsIops
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
Indicates whether this orderable DB instance supports provisioned IOPS.
- Returns:
- Indicates whether this orderable DB instance supports provisioned IOPS.
-
setSupportsEnhancedMonitoring
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-