@Generated(value="software.amazon.awssdk:codegen") public final class UserData extends Object implements StructuredPojo, ToCopyableBuilder<UserData.Builder,UserData>
Information related to a user.
Modifier and Type | Class and Description |
---|---|
static interface |
UserData.Builder |
Modifier and Type | Method and Description |
---|---|
static UserData.Builder |
builder() |
String |
email()
The email of a user.
|
String |
enrollmentId()
The enrollment ARN of a user.
|
EnrollmentStatus |
enrollmentStatus()
The enrollment status of a user.
|
String |
enrollmentStatusAsString()
The enrollment status of a user.
|
boolean |
equals(Object obj) |
String |
firstName()
The first name of a user.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastName()
The last name of a user.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends UserData.Builder> |
serializableBuilderClass() |
UserData.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userArn()
The ARN of a user.
|
copy
public String userArn()
The ARN of a user.
public String firstName()
The first name of a user.
public String lastName()
The last name of a user.
public String email()
The email of a user.
public EnrollmentStatus enrollmentStatus()
The enrollment status of a user.
If the service returns an enum value that is not available in the current SDK version, enrollmentStatus
will return EnrollmentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from enrollmentStatusAsString()
.
EnrollmentStatus
public String enrollmentStatusAsString()
The enrollment status of a user.
If the service returns an enum value that is not available in the current SDK version, enrollmentStatus
will return EnrollmentStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from enrollmentStatusAsString()
.
EnrollmentStatus
public String enrollmentId()
The enrollment ARN of a user.
public UserData.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UserData.Builder,UserData>
public static UserData.Builder builder()
public static Class<? extends UserData.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.