Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class Option

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

public class Option
extends Object

Option


Constructor Summary
Option()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<DBSecurityGroupMembership> getDBSecurityGroupMemberships()
          Returns the value of the DBSecurityGroupMemberships property for this object.
 String getOptionDescription()
          The description of the option.
 String getOptionName()
          The name of the option.
 Integer getPort()
          If required, the port configured for this option to use.
 int hashCode()
           
 void setDBSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dBSecurityGroupMemberships)
          Sets the value of the DBSecurityGroupMemberships property for this object.
 void setOptionDescription(String optionDescription)
          The description of the option.
 void setOptionName(String optionName)
          The name of the option.
 void setPort(Integer port)
          If required, the port configured for this option to use.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Option withDBSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dBSecurityGroupMemberships)
          Sets the value of the DBSecurityGroupMemberships property for this object.
 Option withDBSecurityGroupMemberships(DBSecurityGroupMembership... dBSecurityGroupMemberships)
          Sets the value of the DBSecurityGroupMemberships property for this object.
 Option withOptionDescription(String optionDescription)
          The description of the option.
 Option withOptionName(String optionName)
          The name of the option.
 Option withPort(Integer port)
          If required, the port configured for this option to use.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Option

public Option()
Method Detail

getOptionName

public String getOptionName()
The name of the option.

Returns:
The name of the option.

setOptionName

public void setOptionName(String optionName)
The name of the option.

Parameters:
optionName - The name of the option.

withOptionName

public Option withOptionName(String optionName)
The name of the option.

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

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

getOptionDescription

public String getOptionDescription()
The description of the option.

Returns:
The description of the option.

setOptionDescription

public void setOptionDescription(String optionDescription)
The description of the option.

Parameters:
optionDescription - The description of the option.

withOptionDescription

public Option withOptionDescription(String optionDescription)
The description of the option.

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

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

getPort

public Integer getPort()
If required, the port configured for this option to use.

Returns:
If required, the port configured for this option to use.

setPort

public void setPort(Integer port)
If required, the port configured for this option to use.

Parameters:
port - If required, the port configured for this option to use.

withPort

public Option withPort(Integer port)
If required, the port configured for this option to use.

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

Parameters:
port - If required, the port configured for this option to use.
Returns:
A reference to this updated object so that method calls can be chained together.

getDBSecurityGroupMemberships

public List<DBSecurityGroupMembership> getDBSecurityGroupMemberships()
Returns the value of the DBSecurityGroupMemberships property for this object.

Returns:
The value of the DBSecurityGroupMemberships property for this object.

setDBSecurityGroupMemberships

public void setDBSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dBSecurityGroupMemberships)
Sets the value of the DBSecurityGroupMemberships property for this object.

Parameters:
dBSecurityGroupMemberships - The new value for the DBSecurityGroupMemberships property for this object.

withDBSecurityGroupMemberships

public Option withDBSecurityGroupMemberships(DBSecurityGroupMembership... dBSecurityGroupMemberships)
Sets the value of the DBSecurityGroupMemberships property for this object.

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

Parameters:
dBSecurityGroupMemberships - The new value for the DBSecurityGroupMemberships property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withDBSecurityGroupMemberships

public Option withDBSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dBSecurityGroupMemberships)
Sets the value of the DBSecurityGroupMemberships property for this object.

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

Parameters:
dBSecurityGroupMemberships - The new value for the DBSecurityGroupMemberships property for this object.
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.