public interface User
User resource.
Each User object is uniquely identified by these identifier(s):
| Modifier and Type | Method and Description |
|---|---|
void |
addGroup(com.amazonaws.services.identitymanagement.model.AddUserToGroupRequest request)
Performs the
AddGroup action. |
void |
addGroup(com.amazonaws.services.identitymanagement.model.AddUserToGroupRequest request,
ResultCapture<Void> extractor)
Performs the
AddGroup action and use a ResultCapture to
retrieve the low-level client response. |
void |
addGroup(String groupName)
The convenient method form for the
AddGroup action. |
void |
addGroup(String groupName,
ResultCapture<Void> extractor)
The convenient method form for the
AddGroup action. |
AccessKey |
createAccessKey()
The convenient method form for the
CreateAccessKey action. |
AccessKey |
createAccessKey(com.amazonaws.services.identitymanagement.model.CreateAccessKeyRequest request)
Performs the
CreateAccessKey action. |
AccessKey |
createAccessKey(com.amazonaws.services.identitymanagement.model.CreateAccessKeyRequest request,
ResultCapture<com.amazonaws.services.identitymanagement.model.CreateAccessKeyResult> extractor)
Performs the
CreateAccessKey action and use a ResultCapture
to retrieve the low-level client response. |
AccessKey |
createAccessKey(ResultCapture<com.amazonaws.services.identitymanagement.model.CreateAccessKeyResult> extractor)
The convenient method form for the
CreateAccessKey action. |
UserPolicy |
createPolicy(com.amazonaws.services.identitymanagement.model.PutUserPolicyRequest request)
Performs the
CreatePolicy action. |
UserPolicy |
createPolicy(com.amazonaws.services.identitymanagement.model.PutUserPolicyRequest request,
ResultCapture<Void> extractor)
Performs the
CreatePolicy action and use a ResultCapture to
retrieve the low-level client response. |
UserPolicy |
createPolicy(String policyName,
String policyDocument)
The convenient method form for the
CreatePolicy action. |
UserPolicy |
createPolicy(String policyName,
String policyDocument,
ResultCapture<Void> extractor)
The convenient method form for the
CreatePolicy action. |
void |
delete()
The convenient method form for the
Delete action. |
void |
delete(com.amazonaws.services.identitymanagement.model.DeleteUserRequest request)
Performs the
Delete action. |
void |
delete(com.amazonaws.services.identitymanagement.model.DeleteUserRequest request,
ResultCapture<Void> extractor)
Performs the
Delete action and use a ResultCapture to
retrieve the low-level client response. |
void |
delete(ResultCapture<Void> extractor)
The convenient method form for the
Delete action. |
MfaDevice |
enableMfa(com.amazonaws.services.identitymanagement.model.EnableMFADeviceRequest request)
Performs the
EnableMfa action. |
MfaDevice |
enableMfa(com.amazonaws.services.identitymanagement.model.EnableMFADeviceRequest request,
ResultCapture<Void> extractor)
Performs the
EnableMfa action and use a ResultCapture to
retrieve the low-level client response. |
MfaDevice |
enableMfa(String serialNumber,
String authenticationCode1,
String authenticationCode2)
The convenient method form for the
EnableMfa action. |
MfaDevice |
enableMfa(String serialNumber,
String authenticationCode1,
String authenticationCode2,
ResultCapture<Void> extractor)
The convenient method form for the
EnableMfa action. |
AccessKey |
getAccessKey(String id)
Gets a subresource.
|
AccessKeyCollection |
getAccessKeys()
Retrieves the AccessKeys collection referenced by this resource.
|
AccessKeyCollection |
getAccessKeys(com.amazonaws.services.identitymanagement.model.ListAccessKeysRequest request)
Retrieves the AccessKeys collection referenced by this resource.
|
String |
getArn()
Gets the value of the Arn attribute.
|
Date |
getCreateDate()
Gets the value of the CreateDate attribute.
|
GroupCollection |
getGroups()
Retrieves the Groups collection referenced by this resource.
|
GroupCollection |
getGroups(com.amazonaws.services.identitymanagement.model.ListGroupsForUserRequest request)
Retrieves the Groups collection referenced by this resource.
|
LoginProfile |
getLoginProfile()
Gets a subresource.
|
MfaDevice |
getMfaDevice(String serialNumber)
Gets a subresource.
|
MfaDeviceCollection |
getMfaDevices()
Retrieves the MfaDevices collection referenced by this resource.
|
MfaDeviceCollection |
getMfaDevices(com.amazonaws.services.identitymanagement.model.ListMFADevicesRequest request)
Retrieves the MfaDevices collection referenced by this resource.
|
String |
getName()
Gets the value of the Name identifier.
|
String |
getPath()
Gets the value of the Path attribute.
|
UserPolicyCollection |
getPolicies()
Retrieves the Policies collection referenced by this resource.
|
UserPolicyCollection |
getPolicies(com.amazonaws.services.identitymanagement.model.ListUserPoliciesRequest request)
Retrieves the Policies collection referenced by this resource.
|
String |
getUserId()
Gets the value of the UserId attribute.
|
UserPolicy |
getUserPolicy(String name)
Gets a subresource.
|
boolean |
isLoaded()
Returns true if this resource's attributes have been loaded.
|
boolean |
load()
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(com.amazonaws.services.identitymanagement.model.GetUserRequest request)
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(com.amazonaws.services.identitymanagement.model.GetUserRequest request,
ResultCapture<com.amazonaws.services.identitymanagement.model.GetUserResult> extractor)
Makes a call to the service to load this resource's attributes if they
are not loaded yet, and use a ResultCapture to retrieve the low-level
client response
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier. |
void |
removeGroup(com.amazonaws.services.identitymanagement.model.RemoveUserFromGroupRequest request)
Performs the
RemoveGroup action. |
void |
removeGroup(com.amazonaws.services.identitymanagement.model.RemoveUserFromGroupRequest request,
ResultCapture<Void> extractor)
Performs the
RemoveGroup action and use a ResultCapture to
retrieve the low-level client response. |
void |
removeGroup(String groupName)
The convenient method form for the
RemoveGroup action. |
void |
removeGroup(String groupName,
ResultCapture<Void> extractor)
The convenient method form for the
RemoveGroup action. |
User |
update()
The convenient method form for the
Update action. |
User |
update(ResultCapture<Void> extractor)
The convenient method form for the
Update action. |
User |
update(com.amazonaws.services.identitymanagement.model.UpdateUserRequest request)
Performs the
Update action. |
User |
update(com.amazonaws.services.identitymanagement.model.UpdateUserRequest request,
ResultCapture<Void> extractor)
Performs the
Update action and use a ResultCapture to
retrieve the low-level client response. |
boolean isLoaded()
false, calls to attribute getter methods on this
instance will make an implicit call to load() to retrieve the
value.boolean load()
true if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.load(GetUserRequest)boolean load(com.amazonaws.services.identitymanagement.model.GetUserRequest request)
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
true if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.GetUserRequestboolean load(com.amazonaws.services.identitymanagement.model.GetUserRequest request,
ResultCapture<com.amazonaws.services.identitymanagement.model.GetUserResult> extractor)
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
true if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.GetUserRequestString getName()
String getArn()
load() is made to retrieve the value of the attribute.String getUserId()
load() is made to retrieve the value of the
attribute.Date getCreateDate()
load() is made to retrieve the value of the
attribute.String getPath()
load() is made to retrieve the value of the attribute.LoginProfile getLoginProfile()
UserPolicy getUserPolicy(String name)
GroupCollection getGroups()
GroupCollection getGroups(com.amazonaws.services.identitymanagement.model.ListGroupsForUserRequest request)
UserPolicyCollection getPolicies()
UserPolicyCollection getPolicies(com.amazonaws.services.identitymanagement.model.ListUserPoliciesRequest request)
MfaDeviceCollection getMfaDevices()
MfaDeviceCollection getMfaDevices(com.amazonaws.services.identitymanagement.model.ListMFADevicesRequest request)
AccessKeyCollection getAccessKeys()
AccessKeyCollection getAccessKeys(com.amazonaws.services.identitymanagement.model.ListAccessKeysRequest request)
void addGroup(com.amazonaws.services.identitymanagement.model.AddUserToGroupRequest request)
AddGroup action.
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
AddUserToGroupRequestvoid addGroup(com.amazonaws.services.identitymanagement.model.AddUserToGroupRequest request,
ResultCapture<Void> extractor)
AddGroup action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
AddUserToGroupRequestvoid addGroup(String groupName)
AddGroup action.addGroup(AddUserToGroupRequest)void addGroup(String groupName, ResultCapture<Void> extractor)
AddGroup action.User update(com.amazonaws.services.identitymanagement.model.UpdateUserRequest request)
Update action.
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
User resource object associated with the result
of this action.UpdateUserRequestUser update(com.amazonaws.services.identitymanagement.model.UpdateUserRequest request, ResultCapture<Void> extractor)
Update action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
User resource object associated with the result
of this action.UpdateUserRequestUser update()
Update action.update(UpdateUserRequest)User update(ResultCapture<Void> extractor)
Update action.MfaDevice enableMfa(com.amazonaws.services.identitymanagement.model.EnableMFADeviceRequest request)
EnableMfa action.
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
MfaDevice resource object associated with the
result of this action.EnableMFADeviceRequestMfaDevice enableMfa(com.amazonaws.services.identitymanagement.model.EnableMFADeviceRequest request, ResultCapture<Void> extractor)
EnableMfa action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
MfaDevice resource object associated with the
result of this action.EnableMFADeviceRequestMfaDevice enableMfa(String serialNumber, String authenticationCode1, String authenticationCode2)
EnableMfa action.enableMfa(EnableMFADeviceRequest)MfaDevice enableMfa(String serialNumber, String authenticationCode1, String authenticationCode2, ResultCapture<Void> extractor)
EnableMfa action.void removeGroup(com.amazonaws.services.identitymanagement.model.RemoveUserFromGroupRequest request)
RemoveGroup action.
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
RemoveUserFromGroupRequestvoid removeGroup(com.amazonaws.services.identitymanagement.model.RemoveUserFromGroupRequest request,
ResultCapture<Void> extractor)
RemoveGroup action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
RemoveUserFromGroupRequestvoid removeGroup(String groupName)
RemoveGroup action.void removeGroup(String groupName, ResultCapture<Void> extractor)
RemoveGroup action.AccessKey createAccessKey(com.amazonaws.services.identitymanagement.model.CreateAccessKeyRequest request)
CreateAccessKey action.
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
AccessKey resource object associated with the
result of this action.CreateAccessKeyRequestAccessKey createAccessKey(com.amazonaws.services.identitymanagement.model.CreateAccessKeyRequest request, ResultCapture<com.amazonaws.services.identitymanagement.model.CreateAccessKeyResult> extractor)
CreateAccessKey action and use a ResultCapture
to retrieve the low-level client response.
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
AccessKey resource object associated with the
result of this action.CreateAccessKeyRequestAccessKey createAccessKey()
CreateAccessKey action.AccessKey createAccessKey(ResultCapture<com.amazonaws.services.identitymanagement.model.CreateAccessKeyResult> extractor)
CreateAccessKey action.void delete(com.amazonaws.services.identitymanagement.model.DeleteUserRequest request)
Delete action.
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
DeleteUserRequestvoid delete(com.amazonaws.services.identitymanagement.model.DeleteUserRequest request,
ResultCapture<Void> extractor)
Delete action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
DeleteUserRequestvoid delete()
Delete action.delete(DeleteUserRequest)void delete(ResultCapture<Void> extractor)
Delete action.UserPolicy createPolicy(com.amazonaws.services.identitymanagement.model.PutUserPolicyRequest request)
CreatePolicy action.
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
UserPolicy resource object associated with the
result of this action.PutUserPolicyRequestUserPolicy createPolicy(com.amazonaws.services.identitymanagement.model.PutUserPolicyRequest request, ResultCapture<Void> extractor)
CreatePolicy action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
User resource, and any conflicting parameter value set in
the request will be overridden:
UserName
- mapped from the Name identifier.
UserPolicy resource object associated with the
result of this action.PutUserPolicyRequestUserPolicy createPolicy(String policyName, String policyDocument)
CreatePolicy action.createPolicy(PutUserPolicyRequest)UserPolicy createPolicy(String policyName, String policyDocument, ResultCapture<Void> extractor)
CreatePolicy action.Copyright © 2014. All rights reserved.