@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 in string format associated with a feature.
|
List<String> |
getValueAsStringList()
The list of values in string format associated with a feature.
|
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 in string format associated with a feature.
|
void |
setValueAsStringList(Collection<String> valueAsStringList)
The list of values in string format associated with a feature.
|
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 in string format associated with a feature.
|
FeatureValue |
withValueAsStringList(Collection<String> valueAsStringList)
The list of values in string format associated with a feature.
|
FeatureValue |
withValueAsStringList(String... valueAsStringList)
The list of values in string format associated with a feature.
|
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 in string format associated with a feature. Used when your CollectionType
is
None
. Note that features types can be String
, Integral
, or
Fractional
. This value represents all three types as a string.
valueAsString
- The value in string format associated with a feature. Used when your CollectionType
is
None
. Note that features types can be String
, Integral
, or
Fractional
. This value represents all three types as a string.public String getValueAsString()
The value in string format associated with a feature. Used when your CollectionType
is
None
. Note that features types can be String
, Integral
, or
Fractional
. This value represents all three types as a string.
CollectionType
is
None
. 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 in string format associated with a feature. Used when your CollectionType
is
None
. Note that features types can be String
, Integral
, or
Fractional
. This value represents all three types as a string.
valueAsString
- The value in string format associated with a feature. Used when your CollectionType
is
None
. Note that features types can be String
, Integral
, or
Fractional
. This value represents all three types as a string.public List<String> getValueAsStringList()
The list of values in string format associated with a feature. Used when your CollectionType
is a
List
, Set
, or Vector
. Note that features types can be String
,
Integral
, or Fractional
. These values represents all three types as a string.
CollectionType
is a List
, Set
, or Vector
. Note that features types can be
String
, Integral
, or Fractional
. These values represents all three
types as a string.public void setValueAsStringList(Collection<String> valueAsStringList)
The list of values in string format associated with a feature. Used when your CollectionType
is a
List
, Set
, or Vector
. Note that features types can be String
,
Integral
, or Fractional
. These values represents all three types as a string.
valueAsStringList
- The list of values in string format associated with a feature. Used when your CollectionType
is a List
, Set
, or Vector
. Note that features types can be
String
, Integral
, or Fractional
. These values represents all three
types as a string.public FeatureValue withValueAsStringList(String... valueAsStringList)
The list of values in string format associated with a feature. Used when your CollectionType
is a
List
, Set
, or Vector
. Note that features types can be String
,
Integral
, or Fractional
. These values represents all three types as a string.
NOTE: This method appends the values to the existing list (if any). Use
setValueAsStringList(java.util.Collection)
or withValueAsStringList(java.util.Collection)
if
you want to override the existing values.
valueAsStringList
- The list of values in string format associated with a feature. Used when your CollectionType
is a List
, Set
, or Vector
. Note that features types can be
String
, Integral
, or Fractional
. These values represents all three
types as a string.public FeatureValue withValueAsStringList(Collection<String> valueAsStringList)
The list of values in string format associated with a feature. Used when your CollectionType
is a
List
, Set
, or Vector
. Note that features types can be String
,
Integral
, or Fractional
. These values represents all three types as a string.
valueAsStringList
- The list of values in string format associated with a feature. Used when your CollectionType
is a List
, Set
, or Vector
. Note that features types can be
String
, Integral
, or Fractional
. These values 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.