Class User
- java.lang.Object
-
- software.amazon.awssdk.services.chime.model.User
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<User.Builder,User>
@Generated("software.amazon.awssdk:codegen") public final class User extends Object implements SdkPojo, Serializable, ToCopyableBuilder<User.Builder,User>
The user on the Amazon Chime account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUser.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The Amazon Chime account ID.AlexaForBusinessMetadataalexaForBusinessMetadata()The Alexa for Business metadata.static User.Builderbuilder()StringdisplayName()The display name of the user.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantinvitedOn()Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.LicenselicenseType()The license type for the user.StringlicenseTypeAsString()The license type for the user.StringpersonalPIN()The user's personal meeting PIN.StringprimaryEmail()The primary email address of the user.StringprimaryProvisionedNumber()The primary phone number associated with the user.InstantregisteredOn()Date and time when the user is registered, in ISO 8601 format.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends User.Builder>serializableBuilderClass()User.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserId()The user ID.InviteStatususerInvitationStatus()The user invite status.StringuserInvitationStatusAsString()The user invite status.RegistrationStatususerRegistrationStatus()The user registration status.StringuserRegistrationStatusAsString()The user registration status.UserTypeuserType()The user type.StringuserTypeAsString()The user type.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
userId
public final String userId()
The user ID.
- Returns:
- The user ID.
-
accountId
public final String accountId()
The Amazon Chime account ID.
- Returns:
- The Amazon Chime account ID.
-
primaryEmail
public final String primaryEmail()
The primary email address of the user.
- Returns:
- The primary email address of the user.
-
primaryProvisionedNumber
public final String primaryProvisionedNumber()
The primary phone number associated with the user.
- Returns:
- The primary phone number associated with the user.
-
displayName
public final String displayName()
The display name of the user.
- Returns:
- The display name of the user.
-
licenseType
public final License licenseType()
The license type for the user.
If the service returns an enum value that is not available in the current SDK version,
licenseTypewill returnLicense.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlicenseTypeAsString().- Returns:
- The license type for the user.
- See Also:
License
-
licenseTypeAsString
public final String licenseTypeAsString()
The license type for the user.
If the service returns an enum value that is not available in the current SDK version,
licenseTypewill returnLicense.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlicenseTypeAsString().- Returns:
- The license type for the user.
- See Also:
License
-
userType
public final UserType userType()
The user type.
If the service returns an enum value that is not available in the current SDK version,
userTypewill returnUserType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromuserTypeAsString().- Returns:
- The user type.
- See Also:
UserType
-
userTypeAsString
public final String userTypeAsString()
The user type.
If the service returns an enum value that is not available in the current SDK version,
userTypewill returnUserType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromuserTypeAsString().- Returns:
- The user type.
- See Also:
UserType
-
userRegistrationStatus
public final RegistrationStatus userRegistrationStatus()
The user registration status.
If the service returns an enum value that is not available in the current SDK version,
userRegistrationStatuswill returnRegistrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromuserRegistrationStatusAsString().- Returns:
- The user registration status.
- See Also:
RegistrationStatus
-
userRegistrationStatusAsString
public final String userRegistrationStatusAsString()
The user registration status.
If the service returns an enum value that is not available in the current SDK version,
userRegistrationStatuswill returnRegistrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromuserRegistrationStatusAsString().- Returns:
- The user registration status.
- See Also:
RegistrationStatus
-
userInvitationStatus
public final InviteStatus userInvitationStatus()
The user invite status.
If the service returns an enum value that is not available in the current SDK version,
userInvitationStatuswill returnInviteStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromuserInvitationStatusAsString().- Returns:
- The user invite status.
- See Also:
InviteStatus
-
userInvitationStatusAsString
public final String userInvitationStatusAsString()
The user invite status.
If the service returns an enum value that is not available in the current SDK version,
userInvitationStatuswill returnInviteStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromuserInvitationStatusAsString().- Returns:
- The user invite status.
- See Also:
InviteStatus
-
registeredOn
public final Instant registeredOn()
Date and time when the user is registered, in ISO 8601 format.
- Returns:
- Date and time when the user is registered, in ISO 8601 format.
-
invitedOn
public final Instant invitedOn()
Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.
- Returns:
- Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.
-
alexaForBusinessMetadata
public final AlexaForBusinessMetadata alexaForBusinessMetadata()
The Alexa for Business metadata.
- Returns:
- The Alexa for Business metadata.
-
personalPIN
public final String personalPIN()
The user's personal meeting PIN.
- Returns:
- The user's personal meeting PIN.
-
toBuilder
public User.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<User.Builder,User>
-
builder
public static User.Builder builder()
-
serializableBuilderClass
public static Class<? extends User.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-