@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SampleValue extends Object implements Serializable, Cloneable, StructuredPojo
Defines one of the values for a slot type.
Constructor and Description |
---|
SampleValue() |
Modifier and Type | Method and Description |
---|---|
SampleValue |
clone() |
boolean |
equals(Object obj) |
String |
getValue()
The value that can be used for a slot type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setValue(String value)
The value that can be used for a slot type.
|
String |
toString()
Returns a string representation of this object.
|
SampleValue |
withValue(String value)
The value that can be used for a slot type.
|
public void setValue(String value)
The value that can be used for a slot type.
value
- The value that can be used for a slot type.public String getValue()
The value that can be used for a slot type.
public SampleValue withValue(String value)
The value that can be used for a slot type.
value
- The value that can be used for a slot type.public String toString()
toString
in class Object
Object.toString()
public SampleValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.