@Generated(value="software.amazon.awssdk:codegen") public final class Name extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Name.Builder,Name>
The full name of the user.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Name.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Name.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
familyName()
The family name of the user.
|
String |
formatted()
A string containing a formatted version of the name for display.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
givenName()
The given name of the user.
|
int |
hashCode() |
String |
honorificPrefix()
The honorific prefix of the user.
|
String |
honorificSuffix()
The honorific suffix of the user.
|
String |
middleName()
The middle name of the user.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Name.Builder> |
serializableBuilderClass() |
Name.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String formatted()
A string containing a formatted version of the name for display.
public final String familyName()
The family name of the user.
public final String givenName()
The given name of the user.
public final String middleName()
The middle name of the user.
public final String honorificPrefix()
The honorific prefix of the user. For example, "Dr."
public final String honorificSuffix()
The honorific suffix of the user. For example, "M.D."
public Name.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Name.Builder,Name>public static Name.Builder builder()
public static Class<? extends Name.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.