@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigurationOptionSetting extends Object implements Serializable, Cloneable
A specification identifying an individual configuration option along with its current value. For a list of possible namespaces and option values, see Option Values in the AWS Elastic Beanstalk Developer Guide.
Constructor and Description |
---|
ConfigurationOptionSetting()
Default constructor for ConfigurationOptionSetting object.
|
ConfigurationOptionSetting(String namespace,
String optionName,
String value)
Constructs a new ConfigurationOptionSetting object.
|
Modifier and Type | Method and Description |
---|---|
ConfigurationOptionSetting |
clone() |
boolean |
equals(Object obj) |
String |
getNamespace()
A unique namespace that identifies the option's associated AWS resource.
|
String |
getOptionName()
The name of the configuration option.
|
String |
getResourceName()
A unique resource name for the option setting.
|
String |
getValue()
The current value for the configuration option.
|
int |
hashCode() |
void |
setNamespace(String namespace)
A unique namespace that identifies the option's associated AWS resource.
|
void |
setOptionName(String optionName)
The name of the configuration option.
|
void |
setResourceName(String resourceName)
A unique resource name for the option setting.
|
void |
setValue(String value)
The current value for the configuration option.
|
String |
toString()
Returns a string representation of this object.
|
ConfigurationOptionSetting |
withNamespace(String namespace)
A unique namespace that identifies the option's associated AWS resource.
|
ConfigurationOptionSetting |
withOptionName(String optionName)
The name of the configuration option.
|
ConfigurationOptionSetting |
withResourceName(String resourceName)
A unique resource name for the option setting.
|
ConfigurationOptionSetting |
withValue(String value)
The current value for the configuration option.
|
public ConfigurationOptionSetting()
public ConfigurationOptionSetting(String namespace, String optionName, String value)
namespace
- A unique namespace that identifies the option's associated AWS resource.optionName
- The name of the configuration option.value
- The current value for the configuration option.public void setResourceName(String resourceName)
A unique resource name for the option setting. Use it for a time–based scaling configuration option.
resourceName
- A unique resource name for the option setting. Use it for a time–based scaling configuration option.public String getResourceName()
A unique resource name for the option setting. Use it for a time–based scaling configuration option.
public ConfigurationOptionSetting withResourceName(String resourceName)
A unique resource name for the option setting. Use it for a time–based scaling configuration option.
resourceName
- A unique resource name for the option setting. Use it for a time–based scaling configuration option.public void setNamespace(String namespace)
A unique namespace that identifies the option's associated AWS resource.
namespace
- A unique namespace that identifies the option's associated AWS resource.public String getNamespace()
A unique namespace that identifies the option's associated AWS resource.
public ConfigurationOptionSetting withNamespace(String namespace)
A unique namespace that identifies the option's associated AWS resource.
namespace
- A unique namespace that identifies the option's associated AWS resource.public void setOptionName(String optionName)
The name of the configuration option.
optionName
- The name of the configuration option.public String getOptionName()
The name of the configuration option.
public ConfigurationOptionSetting withOptionName(String optionName)
The name of the configuration option.
optionName
- The name of the configuration option.public void setValue(String value)
The current value for the configuration option.
value
- The current value for the configuration option.public String getValue()
The current value for the configuration option.
public ConfigurationOptionSetting withValue(String value)
The current value for the configuration option.
value
- The current value for the configuration option.public String toString()
toString
in class Object
Object.toString()
public ConfigurationOptionSetting clone()