com.amazonaws.services.identitymanagement.model
Class User

java.lang.Object
  extended by com.amazonaws.services.identitymanagement.model.User

public class User
extends Object

The User data type contains information about a User.

This data type is used as a response element in the following actions:


Constructor Summary
User()
           
 
Method Summary
 String getArn()
          The Amazon Resource Name (ARN) specifying the User.
 String getPath()
          Path to the User name.
 String getUserId()
          The stable and unique string identifying the User.
 String getUserName()
          The name identifying the User.
 void setArn(String arn)
          The Amazon Resource Name (ARN) specifying the User.
 void setPath(String path)
          Path to the User name.
 void setUserId(String userId)
          The stable and unique string identifying the User.
 void setUserName(String userName)
          The name identifying the User.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 User withArn(String arn)
          The Amazon Resource Name (ARN) specifying the User.
 User withPath(String path)
          Path to the User name.
 User withUserId(String userId)
          The stable and unique string identifying the User.
 User withUserName(String userName)
          The name identifying the User.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

User

public User()
Method Detail

getPath

public String getPath()
Path to the User name. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)

Returns:
Path to the User name. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

setPath

public void setPath(String path)
Path to the User name. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)

Parameters:
path - Path to the User name. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

withPath

public User withPath(String path)
Path to the User name. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)

Parameters:
path - Path to the User name. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.
Returns:
A reference to this updated object so that method calls can be chained together.

getUserName

public String getUserName()
The name identifying the User.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Returns:
The name identifying the User.

setUserName

public void setUserName(String userName)
The name identifying the User.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
userName - The name identifying the User.

withUserName

public User withUserName(String userName)
The name identifying the User.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
userName - The name identifying the User.
Returns:
A reference to this updated object so that method calls can be chained together.

getUserId

public String getUserId()
The stable and unique string identifying the User. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Constraints:
Length: 16 - 32
Pattern: [\w]*

Returns:
The stable and unique string identifying the User. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

setUserId

public void setUserId(String userId)
The stable and unique string identifying the User. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Constraints:
Length: 16 - 32
Pattern: [\w]*

Parameters:
userId - The stable and unique string identifying the User. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

withUserId

public User withUserId(String userId)
The stable and unique string identifying the User. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 16 - 32
Pattern: [\w]*

Parameters:
userId - The stable and unique string identifying the User. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.
Returns:
A reference to this updated object so that method calls can be chained together.

getArn

public String getArn()
The Amazon Resource Name (ARN) specifying the User. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Constraints:
Length: 20 - 2048

Returns:
The Amazon Resource Name (ARN) specifying the User. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

setArn

public void setArn(String arn)
The Amazon Resource Name (ARN) specifying the User. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Constraints:
Length: 20 - 2048

Parameters:
arn - The Amazon Resource Name (ARN) specifying the User. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

withArn

public User withArn(String arn)
The Amazon Resource Name (ARN) specifying the User. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 20 - 2048

Parameters:
arn - The Amazon Resource Name (ARN) specifying the User. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.