public class OptionSpecification
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A specification identifying an individual configuration option.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
namespace
A unique namespace identifying the option's associated AWS resource.
|
private java.lang.String |
optionName
The name of the configuration option.
|
private java.lang.String |
resourceName
A unique resource name for a time-based scaling configuration option.
|
Constructor and Description |
---|
OptionSpecification() |
Modifier and Type | Method and Description |
---|---|
OptionSpecification |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNamespace()
A unique namespace identifying the option's associated AWS resource.
|
java.lang.String |
getOptionName()
The name of the configuration option.
|
java.lang.String |
getResourceName()
A unique resource name for a time-based scaling configuration option.
|
int |
hashCode() |
void |
setNamespace(java.lang.String namespace)
A unique namespace identifying the option's associated AWS resource.
|
void |
setOptionName(java.lang.String optionName)
The name of the configuration option.
|
void |
setResourceName(java.lang.String resourceName)
A unique resource name for a time-based scaling configuration option.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
OptionSpecification |
withNamespace(java.lang.String namespace)
A unique namespace identifying the option's associated AWS resource.
|
OptionSpecification |
withOptionName(java.lang.String optionName)
The name of the configuration option.
|
OptionSpecification |
withResourceName(java.lang.String resourceName)
A unique resource name for a time-based scaling configuration option.
|
private java.lang.String resourceName
A unique resource name for a time-based scaling configuration option.
private java.lang.String namespace
A unique namespace identifying the option's associated AWS resource.
private java.lang.String optionName
The name of the configuration option.
public void setResourceName(java.lang.String resourceName)
A unique resource name for a time-based scaling configuration option.
resourceName
- A unique resource name for a time-based scaling configuration
option.public java.lang.String getResourceName()
A unique resource name for a time-based scaling configuration option.
public OptionSpecification withResourceName(java.lang.String resourceName)
A unique resource name for a time-based scaling configuration option.
resourceName
- A unique resource name for a time-based scaling configuration
option.public void setNamespace(java.lang.String namespace)
A unique namespace identifying the option's associated AWS resource.
namespace
- A unique namespace identifying the option's associated AWS
resource.public java.lang.String getNamespace()
A unique namespace identifying the option's associated AWS resource.
public OptionSpecification withNamespace(java.lang.String namespace)
A unique namespace identifying the option's associated AWS resource.
namespace
- A unique namespace identifying the option's associated AWS
resource.public void setOptionName(java.lang.String optionName)
The name of the configuration option.
optionName
- The name of the configuration option.public java.lang.String getOptionName()
The name of the configuration option.
public OptionSpecification withOptionName(java.lang.String optionName)
The name of the configuration option.
optionName
- The name of the configuration option.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public OptionSpecification clone()
clone
in class java.lang.Object