@Generated(value="software.amazon.awssdk:codegen") public final class DescribeUserProfileResponse extends CodeStarResponse implements ToCopyableBuilder<DescribeUserProfileResponse.Builder,DescribeUserProfileResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeUserProfileResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeUserProfileResponse.Builder |
builder() |
Instant |
createdTimestamp()
The date and time when the user profile was created in AWS CodeStar, in timestamp format.
|
String |
displayName()
The display name shown for the user in AWS CodeStar projects.
|
String |
emailAddress()
The email address for the user.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
Instant |
lastModifiedTimestamp()
The date and time when the user profile was last modified, in timestamp format.
|
static Class<? extends DescribeUserProfileResponse.Builder> |
serializableBuilderClass() |
String |
sshPublicKey()
The SSH public key associated with the user.
|
DescribeUserProfileResponse.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 Amazon Resource Name (ARN) of the user.
|
sdkHttpResponse
copy
public String userArn()
The Amazon Resource Name (ARN) of the user.
public String displayName()
The display name shown for the user in AWS CodeStar projects. For example, this could be set to both first and last name ("Mary Major") or a single name ("Mary"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space ("MJ", not "MM").
public String emailAddress()
The email address for the user. Optional.
public String sshPublicKey()
The SSH public key associated with the user. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.
public Instant createdTimestamp()
The date and time when the user profile was created in AWS CodeStar, in timestamp format.
public Instant lastModifiedTimestamp()
The date and time when the user profile was last modified, in timestamp format.
public DescribeUserProfileResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeUserProfileResponse.Builder,DescribeUserProfileResponse>
toBuilder
in class AwsResponse
public static DescribeUserProfileResponse.Builder builder()
public static Class<? extends DescribeUserProfileResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.