com.amazonaws.services.rds.model
Class OrderableDBInstanceOption

java.lang.Object
  extended by com.amazonaws.services.rds.model.OrderableDBInstanceOption

public class OrderableDBInstanceOption
extends Object

Contains a list of available options for a DB Instance

This data type is used as a response element in the DescribeOrderableDBInstanceOptions action.


Constructor Summary
OrderableDBInstanceOption()
           
 
Method Summary
 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 getVpcCapable()
          Indicates whether this orderable DB Instance is VPC capable.
 Boolean getVpcMultiAZCapable()
          Indicates whether this orderable DB Instance is VPC multi-AZ capable.
 Boolean getVpcReadReplicaCapable()
          Indicates whether this orderable DB Instance can have a VPC read replica.
 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 isVpcCapable()
          Indicates whether this orderable DB Instance is VPC capable.
 Boolean isVpcMultiAZCapable()
          Indicates whether this orderable DB Instance is VPC multi-AZ capable.
 Boolean isVpcReadReplicaCapable()
          Indicates whether this orderable DB Instance can have a VPC read replica.
 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 setVpcCapable(Boolean vpcCapable)
          Indicates whether this orderable DB Instance is VPC capable.
 void setVpcMultiAZCapable(Boolean vpcMultiAZCapable)
          Indicates whether this orderable DB Instance is VPC multi-AZ capable.
 void setVpcReadReplicaCapable(Boolean vpcReadReplicaCapable)
          Indicates whether this orderable DB Instance can have a VPC read replica.
 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 withVpcCapable(Boolean vpcCapable)
          Indicates whether this orderable DB Instance is VPC capable.
 OrderableDBInstanceOption withVpcMultiAZCapable(Boolean vpcMultiAZCapable)
          Indicates whether this orderable DB Instance is VPC multi-AZ capable.
 OrderableDBInstanceOption withVpcReadReplicaCapable(Boolean vpcReadReplicaCapable)
          Indicates whether this orderable DB Instance can have a VPC read replica.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderableDBInstanceOption

public OrderableDBInstanceOption()
Method Detail

getEngine

public String getEngine()
The engine type of the orderable DB Instance.

Returns:
The engine type of the orderable DB Instance.

setEngine

public void setEngine(String engine)
The engine type of the orderable DB Instance.

Parameters:
engine - The engine type of the orderable DB Instance.

withEngine

public OrderableDBInstanceOption withEngine(String engine)
The engine type of the orderable DB Instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
engine - The engine type of the orderable DB Instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getEngineVersion

public String getEngineVersion()
The engine version of the orderable DB Instance.

Returns:
The engine version of the orderable DB Instance.

setEngineVersion

public void setEngineVersion(String engineVersion)
The engine version of the orderable DB Instance.

Parameters:
engineVersion - The engine version of the orderable DB Instance.

withEngineVersion

public OrderableDBInstanceOption withEngineVersion(String engineVersion)
The engine version of the orderable DB Instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
engineVersion - The engine version of the orderable DB Instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getDBInstanceClass

public String getDBInstanceClass()
The DB Instance Class for the orderable DB Instance

Returns:
The DB Instance Class for the orderable DB Instance

setDBInstanceClass

public void setDBInstanceClass(String dBInstanceClass)
The DB Instance Class for the orderable DB Instance

Parameters:
dBInstanceClass - The DB Instance Class for the orderable DB Instance

withDBInstanceClass

public OrderableDBInstanceOption withDBInstanceClass(String dBInstanceClass)
The DB Instance Class for the orderable DB Instance

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBInstanceClass - The DB Instance Class for the orderable DB Instance
Returns:
A reference to this updated object so that method calls can be chained together.

getLicenseModel

public String getLicenseModel()
The license model for the orderable DB Instance.

Returns:
The license model for the orderable DB Instance.

setLicenseModel

public void setLicenseModel(String licenseModel)
The license model for the orderable DB Instance.

Parameters:
licenseModel - The license model for the orderable DB Instance.

withLicenseModel

public OrderableDBInstanceOption withLicenseModel(String licenseModel)
The license model for the orderable DB Instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
licenseModel - The license model for the orderable DB Instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZones

public List<AvailabilityZone> getAvailabilityZones()
A list of availability zones for the orderable DB Instance.

Returns:
A list of availability zones for the orderable DB Instance.

setAvailabilityZones

public void setAvailabilityZones(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.

withAvailabilityZones

public OrderableDBInstanceOption withAvailabilityZones(AvailabilityZone... availabilityZones)
A list of availability zones for the orderable DB Instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZones - A list of availability zones for the orderable DB Instance.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZones - A list of availability zones for the orderable DB Instance.
Returns:
A reference to this updated object so that method calls can be chained together.

isMultiAZCapable

public Boolean isMultiAZCapable()
Indicates whether this orderable DB Instance is multi-AZ capable.

Returns:
Indicates whether this orderable DB Instance is multi-AZ capable.

setMultiAZCapable

public void setMultiAZCapable(Boolean multiAZCapable)
Indicates whether this orderable DB Instance is multi-AZ capable.

Parameters:
multiAZCapable - Indicates whether this orderable DB Instance is multi-AZ capable.

withMultiAZCapable

public OrderableDBInstanceOption withMultiAZCapable(Boolean multiAZCapable)
Indicates whether this orderable DB Instance is multi-AZ capable.

Returns a reference to this object so that method calls can be chained together.

Parameters:
multiAZCapable - Indicates whether this orderable DB Instance is multi-AZ capable.
Returns:
A reference to this updated object so that method calls can be chained together.

getMultiAZCapable

public Boolean getMultiAZCapable()
Indicates whether this orderable DB Instance is multi-AZ capable.

Returns:
Indicates whether this orderable DB Instance is multi-AZ capable.

isReadReplicaCapable

public Boolean isReadReplicaCapable()
Indicates whether this orderable DB Instance can have a read replica.

Returns:
Indicates whether this orderable DB Instance can have a read replica.

setReadReplicaCapable

public void setReadReplicaCapable(Boolean readReplicaCapable)
Indicates whether this orderable DB Instance can have a read replica.

Parameters:
readReplicaCapable - Indicates whether this orderable DB Instance can have a read replica.

withReadReplicaCapable

public OrderableDBInstanceOption withReadReplicaCapable(Boolean readReplicaCapable)
Indicates whether this orderable DB Instance can have a read replica.

Returns a reference to this object so that method calls can be chained together.

Parameters:
readReplicaCapable - Indicates whether this orderable DB Instance can have a read replica.
Returns:
A reference to this updated object so that method calls can be chained together.

getReadReplicaCapable

public Boolean getReadReplicaCapable()
Indicates whether this orderable DB Instance can have a read replica.

Returns:
Indicates whether this orderable DB Instance can have a read replica.

isVpcCapable

public Boolean isVpcCapable()
Indicates whether this orderable DB Instance is VPC capable.

Returns:
Indicates whether this orderable DB Instance is VPC capable.

setVpcCapable

public void setVpcCapable(Boolean vpcCapable)
Indicates whether this orderable DB Instance is VPC capable.

Parameters:
vpcCapable - Indicates whether this orderable DB Instance is VPC capable.

withVpcCapable

public OrderableDBInstanceOption withVpcCapable(Boolean vpcCapable)
Indicates whether this orderable DB Instance is VPC capable.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcCapable - Indicates whether this orderable DB Instance is VPC capable.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcCapable

public Boolean getVpcCapable()
Indicates whether this orderable DB Instance is VPC capable.

Returns:
Indicates whether this orderable DB Instance is VPC capable.

isVpcMultiAZCapable

public Boolean isVpcMultiAZCapable()
Indicates whether this orderable DB Instance is VPC multi-AZ capable.

Returns:
Indicates whether this orderable DB Instance is VPC multi-AZ capable.

setVpcMultiAZCapable

public void setVpcMultiAZCapable(Boolean vpcMultiAZCapable)
Indicates whether this orderable DB Instance is VPC multi-AZ capable.

Parameters:
vpcMultiAZCapable - Indicates whether this orderable DB Instance is VPC multi-AZ capable.

withVpcMultiAZCapable

public OrderableDBInstanceOption withVpcMultiAZCapable(Boolean vpcMultiAZCapable)
Indicates whether this orderable DB Instance is VPC multi-AZ capable.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcMultiAZCapable - Indicates whether this orderable DB Instance is VPC multi-AZ capable.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcMultiAZCapable

public Boolean getVpcMultiAZCapable()
Indicates whether this orderable DB Instance is VPC multi-AZ capable.

Returns:
Indicates whether this orderable DB Instance is VPC multi-AZ capable.

isVpcReadReplicaCapable

public Boolean isVpcReadReplicaCapable()
Indicates whether this orderable DB Instance can have a VPC read replica.

Returns:
Indicates whether this orderable DB Instance can have a VPC read replica.

setVpcReadReplicaCapable

public void setVpcReadReplicaCapable(Boolean vpcReadReplicaCapable)
Indicates whether this orderable DB Instance can have a VPC read replica.

Parameters:
vpcReadReplicaCapable - Indicates whether this orderable DB Instance can have a VPC read replica.

withVpcReadReplicaCapable

public OrderableDBInstanceOption withVpcReadReplicaCapable(Boolean vpcReadReplicaCapable)
Indicates whether this orderable DB Instance can have a VPC read replica.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcReadReplicaCapable - Indicates whether this orderable DB Instance can have a VPC read replica.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcReadReplicaCapable

public Boolean getVpcReadReplicaCapable()
Indicates whether this orderable DB Instance can have a VPC read replica.

Returns:
Indicates whether this orderable DB Instance can have a VPC read replica.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.