@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FeatureValue extends Object implements Serializable, Cloneable, StructuredPojo
The value associated with a feature.
Constructor and Description |
---|
FeatureValue() |
Modifier and Type | Method and Description |
---|---|
FeatureValue |
clone() |
boolean |
equals(Object obj) |
String |
getFeatureName()
The name of a feature that a feature value corresponds to.
|
String |
getValueAsString()
The value associated with a feature, in string format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFeatureName(String featureName)
The name of a feature that a feature value corresponds to.
|
void |
setValueAsString(String valueAsString)
The value associated with a feature, in string format.
|
String |
toString()
Returns a string representation of this object.
|
FeatureValue |
withFeatureName(String featureName)
The name of a feature that a feature value corresponds to.
|
FeatureValue |
withValueAsString(String valueAsString)
The value associated with a feature, in string format.
|
public void setFeatureName(String featureName)
The name of a feature that a feature value corresponds to.
featureName
- The name of a feature that a feature value corresponds to.public String getFeatureName()
The name of a feature that a feature value corresponds to.
public FeatureValue withFeatureName(String featureName)
The name of a feature that a feature value corresponds to.
featureName
- The name of a feature that a feature value corresponds to.public void setValueAsString(String valueAsString)
The value associated with a feature, in string format. Note that features types can be String, Integral, or Fractional. This value represents all three types as a string.
valueAsString
- The value associated with a feature, in string format. Note that features types can be String, Integral,
or Fractional. This value represents all three types as a string.public String getValueAsString()
The value associated with a feature, in string format. Note that features types can be String, Integral, or Fractional. This value represents all three types as a string.
public FeatureValue withValueAsString(String valueAsString)
The value associated with a feature, in string format. Note that features types can be String, Integral, or Fractional. This value represents all three types as a string.
valueAsString
- The value associated with a feature, in string format. Note that features types can be String, Integral,
or Fractional. This value represents all three types as a string.public String toString()
toString
in class Object
Object.toString()
public FeatureValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.