public interface UserPolicy
UserPolicy
resource.
Each UserPolicy
object is uniquely identified by these
identifier(s):
Modifier and Type | Method and Description |
---|---|
void |
delete()
The convenient method form for the
Delete action. |
void |
delete(DeleteUserPolicyRequest request)
Performs the
Delete action. |
void |
delete(DeleteUserPolicyRequest 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. |
String |
getName()
Gets the value of the Name identifier.
|
String |
getPolicyDocument()
Gets the value of the PolicyDocument attribute.
|
User |
getUser()
Retrieves the
User resource referenced by this resource. |
String |
getUserName()
Gets the value of the UserName identifier.
|
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(GetUserPolicyRequest request)
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(GetUserPolicyRequest request,
ResultCapture<GetUserPolicyResult> 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
UserPolicy resource, and any conflicting parameter value set
in the request will be overridden:
UserName
- mapped from the UserName identifier. |
void |
put(PutUserPolicyRequest request)
Performs the
Put action. |
void |
put(PutUserPolicyRequest request,
ResultCapture<Void> extractor)
Performs the
Put action and use a ResultCapture to retrieve
the low-level client response. |
void |
put(String policyDocument)
The convenient method form for the
Put action. |
void |
put(String policyDocument,
ResultCapture<Void> extractor)
The convenient method form for the
Put action. |
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(GetUserPolicyRequest)
boolean load(GetUserPolicyRequest request)
UserPolicy
resource, and any conflicting parameter value set
in the request will be overridden:
UserName
- mapped from the UserName
identifier.
PolicyName
- 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.GetUserPolicyRequest
boolean load(GetUserPolicyRequest request, ResultCapture<GetUserPolicyResult> extractor)
UserPolicy
resource, and any conflicting parameter value set
in the request will be overridden:
UserName
- mapped from the UserName
identifier.
PolicyName
- 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.GetUserPolicyRequest
String getName()
String getUserName()
String getPolicyDocument()
load()
is made to retrieve the value of the
attribute.User getUser()
User
resource referenced by this resource.void put(PutUserPolicyRequest request)
Put
action.
The following request parameters will be populated from the data of this
UserPolicy
resource, and any conflicting parameter value set
in the request will be overridden:
UserName
- mapped from the UserName
identifier.
PolicyName
- mapped from the Name
identifier.
PutUserPolicyRequest
void put(PutUserPolicyRequest request, ResultCapture<Void> extractor)
Put
action and use a ResultCapture to retrieve
the low-level client response.
The following request parameters will be populated from the data of this
UserPolicy
resource, and any conflicting parameter value set
in the request will be overridden:
UserName
- mapped from the UserName
identifier.
PolicyName
- mapped from the Name
identifier.
PutUserPolicyRequest
void put(String policyDocument)
Put
action.put(PutUserPolicyRequest)
void put(String policyDocument, ResultCapture<Void> extractor)
Put
action.void delete(DeleteUserPolicyRequest request)
Delete
action.
The following request parameters will be populated from the data of this
UserPolicy
resource, and any conflicting parameter value set
in the request will be overridden:
UserName
- mapped from the UserName
identifier.
PolicyName
- mapped from the Name
identifier.
DeleteUserPolicyRequest
void delete(DeleteUserPolicyRequest 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
UserPolicy
resource, and any conflicting parameter value set
in the request will be overridden:
UserName
- mapped from the UserName
identifier.
PolicyName
- mapped from the Name
identifier.
DeleteUserPolicyRequest
void delete()
Delete
action.delete(DeleteUserPolicyRequest)
void delete(ResultCapture<Void> extractor)
Delete
action.Copyright © 2014. All rights reserved.