Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class OptionGroup

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

public class OptionGroup
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
OptionGroup()
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getAllowsVpcAndNonVpcInstanceMemberships()
          Indicates whether this option group can be applied to both VPC and non-VPC instances.
 String getEngineName()
          Engine name that this option group can be applied to.
 String getMajorEngineVersion()
          Indicates the major engine version associated with this option group.
 String getOptionGroupDescription()
          Provides the description of the option group.
 String getOptionGroupName()
          Specifies the name of the option group.
 List<Option> getOptions()
          Indicates what options are available in the option group.
 String getVpcId()
          If AllowsVpcAndNonVpcInstanceMemberships is 'false', this field is blank.
 int hashCode()
           
 Boolean isAllowsVpcAndNonVpcInstanceMemberships()
          Indicates whether this option group can be applied to both VPC and non-VPC instances.
 void setAllowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships)
          Indicates whether this option group can be applied to both VPC and non-VPC instances.
 void setEngineName(String engineName)
          Engine name that this option group can be applied to.
 void setMajorEngineVersion(String majorEngineVersion)
          Indicates the major engine version associated with this option group.
 void setOptionGroupDescription(String optionGroupDescription)
          Provides the description of the option group.
 void setOptionGroupName(String optionGroupName)
          Specifies the name of the option group.
 void setOptions(Collection<Option> options)
          Indicates what options are available in the option group.
 void setVpcId(String vpcId)
          If AllowsVpcAndNonVpcInstanceMemberships is 'false', this field is blank.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 OptionGroup withAllowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships)
          Indicates whether this option group can be applied to both VPC and non-VPC instances.
 OptionGroup withEngineName(String engineName)
          Engine name that this option group can be applied to.
 OptionGroup withMajorEngineVersion(String majorEngineVersion)
          Indicates the major engine version associated with this option group.
 OptionGroup withOptionGroupDescription(String optionGroupDescription)
          Provides the description of the option group.
 OptionGroup withOptionGroupName(String optionGroupName)
          Specifies the name of the option group.
 OptionGroup withOptions(Collection<Option> options)
          Indicates what options are available in the option group.
 OptionGroup withOptions(Option... options)
          Indicates what options are available in the option group.
 OptionGroup withVpcId(String vpcId)
          If AllowsVpcAndNonVpcInstanceMemberships is 'false', this field is blank.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OptionGroup

public OptionGroup()
Method Detail

getOptionGroupName

public String getOptionGroupName()
Specifies the name of the option group.

Returns:
Specifies the name of the option group.

setOptionGroupName

public void setOptionGroupName(String optionGroupName)
Specifies the name of the option group.

Parameters:
optionGroupName - Specifies the name of the option group.

withOptionGroupName

public OptionGroup withOptionGroupName(String optionGroupName)
Specifies the name of the option group.

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

Parameters:
optionGroupName - Specifies the name of the option group.
Returns:
A reference to this updated object so that method calls can be chained together.

getOptionGroupDescription

public String getOptionGroupDescription()
Provides the description of the option group.

Returns:
Provides the description of the option group.

setOptionGroupDescription

public void setOptionGroupDescription(String optionGroupDescription)
Provides the description of the option group.

Parameters:
optionGroupDescription - Provides the description of the option group.

withOptionGroupDescription

public OptionGroup withOptionGroupDescription(String optionGroupDescription)
Provides the description of the option group.

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

Parameters:
optionGroupDescription - Provides the description of the option group.
Returns:
A reference to this updated object so that method calls can be chained together.

getEngineName

public String getEngineName()
Engine name that this option group can be applied to.

Returns:
Engine name that this option group can be applied to.

setEngineName

public void setEngineName(String engineName)
Engine name that this option group can be applied to.

Parameters:
engineName - Engine name that this option group can be applied to.

withEngineName

public OptionGroup withEngineName(String engineName)
Engine name that this option group can be applied to.

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

Parameters:
engineName - Engine name that this option group can be applied to.
Returns:
A reference to this updated object so that method calls can be chained together.

getMajorEngineVersion

public String getMajorEngineVersion()
Indicates the major engine version associated with this option group.

Returns:
Indicates the major engine version associated with this option group.

setMajorEngineVersion

public void setMajorEngineVersion(String majorEngineVersion)
Indicates the major engine version associated with this option group.

Parameters:
majorEngineVersion - Indicates the major engine version associated with this option group.

withMajorEngineVersion

public OptionGroup withMajorEngineVersion(String majorEngineVersion)
Indicates the major engine version associated with this option group.

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

Parameters:
majorEngineVersion - Indicates the major engine version associated with this option group.
Returns:
A reference to this updated object so that method calls can be chained together.

getOptions

public List<Option> getOptions()
Indicates what options are available in the option group.

Returns:
Indicates what options are available in the option group.

setOptions

public void setOptions(Collection<Option> options)
Indicates what options are available in the option group.

Parameters:
options - Indicates what options are available in the option group.

withOptions

public OptionGroup withOptions(Option... options)
Indicates what options are available in the option group.

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

Parameters:
options - Indicates what options are available in the option group.
Returns:
A reference to this updated object so that method calls can be chained together.

withOptions

public OptionGroup withOptions(Collection<Option> options)
Indicates what options are available in the option group.

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

Parameters:
options - Indicates what options are available in the option group.
Returns:
A reference to this updated object so that method calls can be chained together.

isAllowsVpcAndNonVpcInstanceMemberships

public Boolean isAllowsVpcAndNonVpcInstanceMemberships()
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value 'true' indicates the option group can be applied to both VPC and non-VPC instances.

Returns:
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value 'true' indicates the option group can be applied to both VPC and non-VPC instances.

setAllowsVpcAndNonVpcInstanceMemberships

public void setAllowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships)
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value 'true' indicates the option group can be applied to both VPC and non-VPC instances.

Parameters:
allowsVpcAndNonVpcInstanceMemberships - Indicates whether this option group can be applied to both VPC and non-VPC instances. The value 'true' indicates the option group can be applied to both VPC and non-VPC instances.

withAllowsVpcAndNonVpcInstanceMemberships

public OptionGroup withAllowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships)
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value 'true' indicates the option group can be applied to both VPC and non-VPC instances.

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

Parameters:
allowsVpcAndNonVpcInstanceMemberships - Indicates whether this option group can be applied to both VPC and non-VPC instances. The value 'true' indicates the option group can be applied to both VPC and non-VPC instances.
Returns:
A reference to this updated object so that method calls can be chained together.

getAllowsVpcAndNonVpcInstanceMemberships

public Boolean getAllowsVpcAndNonVpcInstanceMemberships()
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value 'true' indicates the option group can be applied to both VPC and non-VPC instances.

Returns:
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value 'true' indicates the option group can be applied to both VPC and non-VPC instances.

getVpcId

public String getVpcId()
If AllowsVpcAndNonVpcInstanceMemberships is 'false', this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is 'true' and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.

Returns:
If AllowsVpcAndNonVpcInstanceMemberships is 'false', this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is 'true' and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.

setVpcId

public void setVpcId(String vpcId)
If AllowsVpcAndNonVpcInstanceMemberships is 'false', this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is 'true' and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.

Parameters:
vpcId - If AllowsVpcAndNonVpcInstanceMemberships is 'false', this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is 'true' and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.

withVpcId

public OptionGroup withVpcId(String vpcId)
If AllowsVpcAndNonVpcInstanceMemberships is 'false', this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is 'true' and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.

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

Parameters:
vpcId - If AllowsVpcAndNonVpcInstanceMemberships is 'false', this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is 'true' and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.
Returns:
A reference to this updated object so that method calls can be chained together.

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.