@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Name extends Object implements Serializable, Cloneable, StructuredPojo
The full name of the user.
Constructor and Description |
---|
Name() |
Modifier and Type | Method and Description |
---|---|
Name |
clone() |
boolean |
equals(Object obj) |
String |
getFamilyName()
The family name of the user.
|
String |
getFormatted()
A string containing a formatted version of the name for display.
|
String |
getGivenName()
The given name of the user.
|
String |
getHonorificPrefix()
The honorific prefix of the user.
|
String |
getHonorificSuffix()
The honorific suffix of the user.
|
String |
getMiddleName()
The middle name of the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFamilyName(String familyName)
The family name of the user.
|
void |
setFormatted(String formatted)
A string containing a formatted version of the name for display.
|
void |
setGivenName(String givenName)
The given name of the user.
|
void |
setHonorificPrefix(String honorificPrefix)
The honorific prefix of the user.
|
void |
setHonorificSuffix(String honorificSuffix)
The honorific suffix of the user.
|
void |
setMiddleName(String middleName)
The middle name of the user.
|
String |
toString()
Returns a string representation of this object.
|
Name |
withFamilyName(String familyName)
The family name of the user.
|
Name |
withFormatted(String formatted)
A string containing a formatted version of the name for display.
|
Name |
withGivenName(String givenName)
The given name of the user.
|
Name |
withHonorificPrefix(String honorificPrefix)
The honorific prefix of the user.
|
Name |
withHonorificSuffix(String honorificSuffix)
The honorific suffix of the user.
|
Name |
withMiddleName(String middleName)
The middle name of the user.
|
public void setFormatted(String formatted)
A string containing a formatted version of the name for display.
formatted
- A string containing a formatted version of the name for display.public String getFormatted()
A string containing a formatted version of the name for display.
public Name withFormatted(String formatted)
A string containing a formatted version of the name for display.
formatted
- A string containing a formatted version of the name for display.public void setFamilyName(String familyName)
The family name of the user.
familyName
- The family name of the user.public String getFamilyName()
The family name of the user.
public Name withFamilyName(String familyName)
The family name of the user.
familyName
- The family name of the user.public void setGivenName(String givenName)
The given name of the user.
givenName
- The given name of the user.public String getGivenName()
The given name of the user.
public Name withGivenName(String givenName)
The given name of the user.
givenName
- The given name of the user.public void setMiddleName(String middleName)
The middle name of the user.
middleName
- The middle name of the user.public String getMiddleName()
The middle name of the user.
public Name withMiddleName(String middleName)
The middle name of the user.
middleName
- The middle name of the user.public void setHonorificPrefix(String honorificPrefix)
The honorific prefix of the user. For example, "Dr."
honorificPrefix
- The honorific prefix of the user. For example, "Dr."public String getHonorificPrefix()
The honorific prefix of the user. For example, "Dr."
public Name withHonorificPrefix(String honorificPrefix)
The honorific prefix of the user. For example, "Dr."
honorificPrefix
- The honorific prefix of the user. For example, "Dr."public void setHonorificSuffix(String honorificSuffix)
The honorific suffix of the user. For example, "M.D."
honorificSuffix
- The honorific suffix of the user. For example, "M.D."public String getHonorificSuffix()
The honorific suffix of the user. For example, "M.D."
public Name withHonorificSuffix(String honorificSuffix)
The honorific suffix of the user. For example, "M.D."
honorificSuffix
- The honorific suffix of the user. For example, "M.D."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.