@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FeatureParameter extends Object implements Serializable, Cloneable, StructuredPojo
A key-value pair that you specify to describe the feature.
Constructor and Description |
---|
FeatureParameter() |
Modifier and Type | Method and Description |
---|---|
FeatureParameter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
A key that must contain a value to describe the feature.
|
String |
getValue()
The value that belongs to a key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
A key that must contain a value to describe the feature.
|
void |
setValue(String value)
The value that belongs to a key.
|
String |
toString()
Returns a string representation of this object.
|
FeatureParameter |
withKey(String key)
A key that must contain a value to describe the feature.
|
FeatureParameter |
withValue(String value)
The value that belongs to a key.
|
public void setKey(String key)
A key that must contain a value to describe the feature.
key
- A key that must contain a value to describe the feature.public String getKey()
A key that must contain a value to describe the feature.
public FeatureParameter withKey(String key)
A key that must contain a value to describe the feature.
key
- A key that must contain a value to describe the feature.public void setValue(String value)
The value that belongs to a key.
value
- The value that belongs to a key.public String getValue()
The value that belongs to a key.
public FeatureParameter withValue(String value)
The value that belongs to a key.
value
- The value that belongs to a key.public String toString()
toString
in class Object
Object.toString()
public FeatureParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.