public class GetLoginProfileRequest extends AmazonWebServiceRequest implements Serializable
GetLoginProfile operation.
Retrieves the user name and password-creation date for the specified user. If the user has not been assigned a password, the action returns a 404 (
NoSuchEntity ) error.
| Constructor and Description |
|---|
GetLoginProfileRequest()
Default constructor for a new GetLoginProfileRequest object.
|
GetLoginProfileRequest(String userName)
Constructs a new GetLoginProfileRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getUserName()
Name of the user whose login profile you want to retrieve.
|
int |
hashCode() |
void |
setUserName(String userName)
Name of the user whose login profile you want to retrieve.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetLoginProfileRequest |
withUserName(String userName)
Name of the user whose login profile you want to retrieve.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic GetLoginProfileRequest()
public GetLoginProfileRequest(String userName)
userName - Name of the user whose login profile you want to
retrieve.public String getUserName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
userName - Name of the user whose login profile you want to retrieve.public GetLoginProfileRequest withUserName(String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
userName - Name of the user whose login profile you want to retrieve.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.