ToCopyableBuilder<GetUserResponse.Builder,GetUserResponse>
@Generated("software.amazon.awssdk:codegen") public class GetUserResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<GetUserResponse.Builder,GetUserResponse>
Represents the response from the server from the request to get information about the user.
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetUserResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static GetUserResponse.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
List<MFAOptionType> |
mfaOptions() |
Specifies the options for MFA (e.g., email or phone number).
|
static Class<? extends GetUserResponse.Builder> |
serializableBuilderClass() |
|
GetUserResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
List<AttributeType> |
userAttributes() |
An array of name-value pairs representing user attributes.
|
String |
username() |
The user name of the user you wish to retrieve from the get user request.
|
setSdkHttpMetadata, setSdkResponseMetadata
public String username()
The user name of the user you wish to retrieve from the get user request.
public List<AttributeType> userAttributes()
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
public List<MFAOptionType> mfaOptions()
Specifies the options for MFA (e.g., email or phone number).
public GetUserResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetUserResponse.Builder,GetUserResponse>
public static GetUserResponse.Builder builder()
public static Class<? extends GetUserResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.