@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReactionValueFormats extends Object implements Serializable, Cloneable, StructuredPojo
Information about the values for reactions to a comment. CodeCommit supports a limited set of reactions.
Constructor and Description |
---|
ReactionValueFormats() |
Modifier and Type | Method and Description |
---|---|
ReactionValueFormats |
clone() |
boolean |
equals(Object obj) |
String |
getEmoji()
The Emoji Version 1.0 graphic of the reaction.
|
String |
getShortCode()
The emoji short code for the reaction.
|
String |
getUnicode()
The Unicode codepoint for the reaction.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEmoji(String emoji)
The Emoji Version 1.0 graphic of the reaction.
|
void |
setShortCode(String shortCode)
The emoji short code for the reaction.
|
void |
setUnicode(String unicode)
The Unicode codepoint for the reaction.
|
String |
toString()
Returns a string representation of this object.
|
ReactionValueFormats |
withEmoji(String emoji)
The Emoji Version 1.0 graphic of the reaction.
|
ReactionValueFormats |
withShortCode(String shortCode)
The emoji short code for the reaction.
|
ReactionValueFormats |
withUnicode(String unicode)
The Unicode codepoint for the reaction.
|
public void setEmoji(String emoji)
The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.
emoji
- The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on
different operating systems.public String getEmoji()
The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.
public ReactionValueFormats withEmoji(String emoji)
The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.
emoji
- The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on
different operating systems.public void setShortCode(String shortCode)
The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems.
shortCode
- The emoji short code for the reaction. Short codes are interpreted slightly differently on different
operating systems.public String getShortCode()
The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems.
public ReactionValueFormats withShortCode(String shortCode)
The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems.
shortCode
- The emoji short code for the reaction. Short codes are interpreted slightly differently on different
operating systems.public void setUnicode(String unicode)
The Unicode codepoint for the reaction.
unicode
- The Unicode codepoint for the reaction.public String getUnicode()
The Unicode codepoint for the reaction.
public ReactionValueFormats withUnicode(String unicode)
The Unicode codepoint for the reaction.
unicode
- The Unicode codepoint for the reaction.public String toString()
toString
in class Object
Object.toString()
public ReactionValueFormats clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.