Class ConfigurationOptionSetting
- java.lang.Object
-
- com.amazonaws.services.elasticbeanstalk.model.ConfigurationOptionSetting
-
- All Implemented Interfaces:
Serializable
,Cloneable
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 option values, go to Option Values in the AWS Elastic Beanstalk Developer Guide.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationOptionSetting()
Default constructor for ConfigurationOptionSetting object.ConfigurationOptionSetting(String namespace, String optionName, String value)
Constructs a new ConfigurationOptionSetting object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationOptionSetting
clone()
boolean
equals(Object obj)
String
getNamespace()
A unique namespace identifying the option's associated AWS resource.String
getOptionName()
The name of the configuration option.String
getResourceName()
A unique resource name for a time-based scaling configuration option.String
getValue()
The current value for the configuration option.int
hashCode()
void
setNamespace(String namespace)
A unique namespace identifying 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 a time-based scaling configuration option.void
setValue(String value)
The current value for the configuration option.String
toString()
Returns a string representation of this object; useful for testing and debugging.ConfigurationOptionSetting
withNamespace(String namespace)
A unique namespace identifying 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 a time-based scaling configuration option.ConfigurationOptionSetting
withValue(String value)
The current value for the configuration option.
-
-
-
Constructor Detail
-
ConfigurationOptionSetting
public ConfigurationOptionSetting()
Default constructor for ConfigurationOptionSetting object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
ConfigurationOptionSetting
public ConfigurationOptionSetting(String namespace, String optionName, String value)
Constructs a new ConfigurationOptionSetting object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
namespace
- A unique namespace identifying the option's associated AWS resource.optionName
- The name of the configuration option.value
- The current value for the configuration option.
-
-
Method Detail
-
setResourceName
public void setResourceName(String resourceName)
A unique resource name for a time-based scaling configuration option.
- Parameters:
resourceName
- A unique resource name for a time-based scaling configuration option.
-
getResourceName
public String getResourceName()
A unique resource name for a time-based scaling configuration option.
- Returns:
- A unique resource name for a time-based scaling configuration option.
-
withResourceName
public ConfigurationOptionSetting withResourceName(String resourceName)
A unique resource name for a time-based scaling configuration option.
- Parameters:
resourceName
- A unique resource name for a time-based scaling configuration option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNamespace
public void setNamespace(String namespace)
A unique namespace identifying the option's associated AWS resource.
- Parameters:
namespace
- A unique namespace identifying the option's associated AWS resource.
-
getNamespace
public String getNamespace()
A unique namespace identifying the option's associated AWS resource.
- Returns:
- A unique namespace identifying the option's associated AWS resource.
-
withNamespace
public ConfigurationOptionSetting withNamespace(String namespace)
A unique namespace identifying the option's associated AWS resource.
- Parameters:
namespace
- A unique namespace identifying the option's associated AWS resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOptionName
public void setOptionName(String optionName)
The name of the configuration option.
- Parameters:
optionName
- The name of the configuration option.
-
getOptionName
public String getOptionName()
The name of the configuration option.
- Returns:
- The name of the configuration option.
-
withOptionName
public ConfigurationOptionSetting withOptionName(String optionName)
The name of the configuration option.
- Parameters:
optionName
- The name of the configuration option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
public void setValue(String value)
The current value for the configuration option.
- Parameters:
value
- The current value for the configuration option.
-
getValue
public String getValue()
The current value for the configuration option.
- Returns:
- The current value for the configuration option.
-
withValue
public ConfigurationOptionSetting withValue(String value)
The current value for the configuration option.
- Parameters:
value
- The current value for the configuration option.- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ConfigurationOptionSetting clone()
-
-