@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserProfileSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about a user's profile in AWS CodeStar.
Constructor and Description |
---|
UserProfileSummary() |
Modifier and Type | Method and Description |
---|---|
UserProfileSummary |
clone() |
boolean |
equals(Object obj) |
String |
getDisplayName()
The display name of a user in AWS CodeStar.
|
String |
getEmailAddress()
The email address associated with the user.
|
String |
getSshPublicKey()
The SSH public key associated with the user in AWS CodeStar.
|
String |
getUserArn()
The Amazon Resource Name (ARN) of the user in IAM.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDisplayName(String displayName)
The display name of a user in AWS CodeStar.
|
void |
setEmailAddress(String emailAddress)
The email address associated with the user.
|
void |
setSshPublicKey(String sshPublicKey)
The SSH public key associated with the user in AWS CodeStar.
|
void |
setUserArn(String userArn)
The Amazon Resource Name (ARN) of the user in IAM.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UserProfileSummary |
withDisplayName(String displayName)
The display name of a user in AWS CodeStar.
|
UserProfileSummary |
withEmailAddress(String emailAddress)
The email address associated with the user.
|
UserProfileSummary |
withSshPublicKey(String sshPublicKey)
The SSH public key associated with the user in AWS CodeStar.
|
UserProfileSummary |
withUserArn(String userArn)
The Amazon Resource Name (ARN) of the user in IAM.
|
public void setUserArn(String userArn)
The Amazon Resource Name (ARN) of the user in IAM.
userArn
- The Amazon Resource Name (ARN) of the user in IAM.public String getUserArn()
The Amazon Resource Name (ARN) of the user in IAM.
public UserProfileSummary withUserArn(String userArn)
The Amazon Resource Name (ARN) of the user in IAM.
userArn
- The Amazon Resource Name (ARN) of the user in IAM.public void setDisplayName(String displayName)
The display name of a user in AWS CodeStar. 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").
displayName
- The display name of a user in AWS CodeStar. 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 getDisplayName()
The display name of a user in AWS CodeStar. 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 UserProfileSummary withDisplayName(String displayName)
The display name of a user in AWS CodeStar. 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").
displayName
- The display name of a user in AWS CodeStar. 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 void setEmailAddress(String emailAddress)
The email address associated with the user.
emailAddress
- The email address associated with the user.public String getEmailAddress()
The email address associated with the user.
public UserProfileSummary withEmailAddress(String emailAddress)
The email address associated with the user.
emailAddress
- The email address associated with the user.public void setSshPublicKey(String sshPublicKey)
The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.
sshPublicKey
- The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote
access to project resources, this public key will be used along with the user's private key for SSH
access.public String getSshPublicKey()
The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.
public UserProfileSummary withSshPublicKey(String sshPublicKey)
The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.
sshPublicKey
- The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote
access to project resources, this public key will be used along with the user's private key for SSH
access.public String toString()
toString
in class Object
Object.toString()
public UserProfileSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.