Class DescribeUserProfileResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.codestar.model.CodeStarResponse
-
- software.amazon.awssdk.services.codestar.model.DescribeUserProfileResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeUserProfileResponse.Builder,DescribeUserProfileResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeUserProfileResponse extends CodeStarResponse implements ToCopyableBuilder<DescribeUserProfileResponse.Builder,DescribeUserProfileResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeUserProfileResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeUserProfileResponse.Builderbuilder()InstantcreatedTimestamp()The date and time when the user profile was created in AWS CodeStar, in timestamp format.StringdisplayName()The display name shown for the user in AWS CodeStar projects.StringemailAddress()The email address for the user.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedTimestamp()The date and time when the user profile was last modified, in timestamp format.List<SdkField<?>>sdkFields()static Class<? extends DescribeUserProfileResponse.Builder>serializableBuilderClass()StringsshPublicKey()The SSH public key associated with the user.DescribeUserProfileResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserArn()The Amazon Resource Name (ARN) of the user.-
Methods inherited from class software.amazon.awssdk.services.codestar.model.CodeStarResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
userArn
public final String userArn()
The Amazon Resource Name (ARN) of the user.
- Returns:
- The Amazon Resource Name (ARN) of the user.
-
displayName
public final 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").
- Returns:
- 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").
-
emailAddress
public final String emailAddress()
The email address for the user. Optional.
- Returns:
- The email address for the user. Optional.
-
sshPublicKey
public final 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.
- Returns:
- 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.
-
createdTimestamp
public final Instant createdTimestamp()
The date and time when the user profile was created in AWS CodeStar, in timestamp format.
- Returns:
- The date and time when the user profile was created in AWS CodeStar, in timestamp format.
-
lastModifiedTimestamp
public final Instant lastModifiedTimestamp()
The date and time when the user profile was last modified, in timestamp format.
- Returns:
- The date and time when the user profile was last modified, in timestamp format.
-
toBuilder
public DescribeUserProfileResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeUserProfileResponse.Builder,DescribeUserProfileResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeUserProfileResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeUserProfileResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-