@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Metadata extends Object implements Serializable, Cloneable, StructuredPojo
Describes key/value pairs.
Constructor and Description |
---|
Metadata() |
Modifier and Type | Method and Description |
---|---|
Metadata |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The key name.
|
String |
getValue()
The value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The key name.
|
void |
setValue(String value)
The value.
|
String |
toString()
Returns a string representation of this object.
|
Metadata |
withName(String name)
The key name.
|
Metadata |
withValue(String value)
The value.
|
public void setName(String name)
The key name.
name
- The key name.public String getName()
The key name.
public Metadata withName(String name)
The key name.
name
- The key name.public void setValue(String value)
The value.
value
- The value.public String getValue()
The value.
public Metadata withValue(String value)
The value.
value
- The value.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.