Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class OptionSetting

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

public class OptionSetting
extends Object
implements Serializable

Option settings are the actual settings being applied or configured for that option. It is used when you modify an option group or describe option groups. For example, the NATIVE_NETWORK_ENCRYPTION option has a setting called SQLNET.ENCRYPTION_SERVER that can have several different values.

See Also:
Serialized Form

Constructor Summary
OptionSetting()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAllowedValues()
          The allowed values of the option setting.
 String getApplyType()
          The DB engine specific parameter type.
 String getDataType()
          The data type of the option setting.
 String getDefaultValue()
          The default value of the option setting.
 String getDescription()
          The description of the option setting.
 Boolean getIsCollection()
          Indicates if the option setting is part of a collection.
 Boolean getIsModifiable()
          A Boolean value that, when true, indicates the option setting can be modified from the default.
 String getName()
          The name of the option that has settings that you can set.
 String getValue()
          The current value of the option setting.
 int hashCode()
           
 Boolean isCollection()
          Indicates if the option setting is part of a collection.
 Boolean isModifiable()
          A Boolean value that, when true, indicates the option setting can be modified from the default.
 void setAllowedValues(String allowedValues)
          The allowed values of the option setting.
 void setApplyType(String applyType)
          The DB engine specific parameter type.
 void setDataType(String dataType)
          The data type of the option setting.
 void setDefaultValue(String defaultValue)
          The default value of the option setting.
 void setDescription(String description)
          The description of the option setting.
 void setIsCollection(Boolean isCollection)
          Indicates if the option setting is part of a collection.
 void setIsModifiable(Boolean isModifiable)
          A Boolean value that, when true, indicates the option setting can be modified from the default.
 void setName(String name)
          The name of the option that has settings that you can set.
 void setValue(String value)
          The current value of the option setting.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 OptionSetting withAllowedValues(String allowedValues)
          The allowed values of the option setting.
 OptionSetting withApplyType(String applyType)
          The DB engine specific parameter type.
 OptionSetting withDataType(String dataType)
          The data type of the option setting.
 OptionSetting withDefaultValue(String defaultValue)
          The default value of the option setting.
 OptionSetting withDescription(String description)
          The description of the option setting.
 OptionSetting withIsCollection(Boolean isCollection)
          Indicates if the option setting is part of a collection.
 OptionSetting withIsModifiable(Boolean isModifiable)
          A Boolean value that, when true, indicates the option setting can be modified from the default.
 OptionSetting withName(String name)
          The name of the option that has settings that you can set.
 OptionSetting withValue(String value)
          The current value of the option setting.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OptionSetting

public OptionSetting()
Method Detail

getName

public String getName()
The name of the option that has settings that you can set.

Returns:
The name of the option that has settings that you can set.

setName

public void setName(String name)
The name of the option that has settings that you can set.

Parameters:
name - The name of the option that has settings that you can set.

withName

public OptionSetting withName(String name)
The name of the option that has settings that you can set.

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

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

getValue

public String getValue()
The current value of the option setting.

Returns:
The current value of the option setting.

setValue

public void setValue(String value)
The current value of the option setting.

Parameters:
value - The current value of the option setting.

withValue

public OptionSetting withValue(String value)
The current value of the option setting.

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

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

getDefaultValue

public String getDefaultValue()
The default value of the option setting.

Returns:
The default value of the option setting.

setDefaultValue

public void setDefaultValue(String defaultValue)
The default value of the option setting.

Parameters:
defaultValue - The default value of the option setting.

withDefaultValue

public OptionSetting withDefaultValue(String defaultValue)
The default value of the option setting.

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

Parameters:
defaultValue - The default value of the option setting.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
The description of the option setting.

Returns:
The description of the option setting.

setDescription

public void setDescription(String description)
The description of the option setting.

Parameters:
description - The description of the option setting.

withDescription

public OptionSetting withDescription(String description)
The description of the option setting.

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

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

getApplyType

public String getApplyType()
The DB engine specific parameter type.

Returns:
The DB engine specific parameter type.

setApplyType

public void setApplyType(String applyType)
The DB engine specific parameter type.

Parameters:
applyType - The DB engine specific parameter type.

withApplyType

public OptionSetting withApplyType(String applyType)
The DB engine specific parameter type.

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

Parameters:
applyType - The DB engine specific parameter type.
Returns:
A reference to this updated object so that method calls can be chained together.

getDataType

public String getDataType()
The data type of the option setting.

Returns:
The data type of the option setting.

setDataType

public void setDataType(String dataType)
The data type of the option setting.

Parameters:
dataType - The data type of the option setting.

withDataType

public OptionSetting withDataType(String dataType)
The data type of the option setting.

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

Parameters:
dataType - The data type of the option setting.
Returns:
A reference to this updated object so that method calls can be chained together.

getAllowedValues

public String getAllowedValues()
The allowed values of the option setting.

Returns:
The allowed values of the option setting.

setAllowedValues

public void setAllowedValues(String allowedValues)
The allowed values of the option setting.

Parameters:
allowedValues - The allowed values of the option setting.

withAllowedValues

public OptionSetting withAllowedValues(String allowedValues)
The allowed values of the option setting.

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

Parameters:
allowedValues - The allowed values of the option setting.
Returns:
A reference to this updated object so that method calls can be chained together.

isModifiable

public Boolean isModifiable()
A Boolean value that, when true, indicates the option setting can be modified from the default.

Returns:
A Boolean value that, when true, indicates the option setting can be modified from the default.

setIsModifiable

public void setIsModifiable(Boolean isModifiable)
A Boolean value that, when true, indicates the option setting can be modified from the default.

Parameters:
isModifiable - A Boolean value that, when true, indicates the option setting can be modified from the default.

withIsModifiable

public OptionSetting withIsModifiable(Boolean isModifiable)
A Boolean value that, when true, indicates the option setting can be modified from the default.

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

Parameters:
isModifiable - A Boolean value that, when true, indicates the option setting can be modified from the default.
Returns:
A reference to this updated object so that method calls can be chained together.

getIsModifiable

public Boolean getIsModifiable()
A Boolean value that, when true, indicates the option setting can be modified from the default.

Returns:
A Boolean value that, when true, indicates the option setting can be modified from the default.

isCollection

public Boolean isCollection()
Indicates if the option setting is part of a collection.

Returns:
Indicates if the option setting is part of a collection.

setIsCollection

public void setIsCollection(Boolean isCollection)
Indicates if the option setting is part of a collection.

Parameters:
isCollection - Indicates if the option setting is part of a collection.

withIsCollection

public OptionSetting withIsCollection(Boolean isCollection)
Indicates if the option setting is part of a collection.

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

Parameters:
isCollection - Indicates if the option setting is part of a collection.
Returns:
A reference to this updated object so that method calls can be chained together.

getIsCollection

public Boolean getIsCollection()
Indicates if the option setting is part of a collection.

Returns:
Indicates if the option setting is part of a collection.

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.