@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserProperty extends Object implements Serializable, Cloneable, StructuredPojo
A key-value pair that you define in the header. Both the key and the value are either literal strings or valid substitution templates.
Constructor and Description |
---|
UserProperty() |
Modifier and Type | Method and Description |
---|---|
UserProperty |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
A key to be specified in
UserProperty . |
String |
getValue()
A value to be specified in
UserProperty . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
A key to be specified in
UserProperty . |
void |
setValue(String value)
A value to be specified in
UserProperty . |
String |
toString()
Returns a string representation of this object.
|
UserProperty |
withKey(String key)
A key to be specified in
UserProperty . |
UserProperty |
withValue(String value)
A value to be specified in
UserProperty . |
public void setKey(String key)
A key to be specified in UserProperty
.
key
- A key to be specified in UserProperty
.public String getKey()
A key to be specified in UserProperty
.
UserProperty
.public UserProperty withKey(String key)
A key to be specified in UserProperty
.
key
- A key to be specified in UserProperty
.public void setValue(String value)
A value to be specified in UserProperty
.
value
- A value to be specified in UserProperty
.public String getValue()
A value to be specified in UserProperty
.
UserProperty
.public UserProperty withValue(String value)
A value to be specified in UserProperty
.
value
- A value to be specified in UserProperty
.public String toString()
toString
in class Object
Object.toString()
public UserProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.