Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class OrderableDBInstanceOption

java.lang.Object
  extended by com.amazonaws.services.rds.model.OrderableDBInstanceOption
All Implemented Interfaces:
Serializable

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.

See Also:
Serialized Form

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 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.
 
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.

isVpc

public Boolean isVpc()
Indicates whether this is a VPC orderable DB Instance.

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

setVpc

public void setVpc(Boolean vpc)
Indicates whether this is a VPC orderable DB Instance.

Parameters:
vpc - Indicates whether this is a VPC orderable DB Instance.

withVpc

public OrderableDBInstanceOption withVpc(Boolean vpc)
Indicates whether this is a VPC orderable DB Instance.

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

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

getVpc

public Boolean getVpc()
Indicates whether this is a VPC orderable DB Instance.

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

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.