public interface RolePolicy
RolePolicy resource.
Each RolePolicy object is uniquely identified by these
identifier(s):
| Modifier and Type | Method and Description |
|---|---|
void |
delete(DeleteRolePolicyRequest request)
Performs the
Delete action. |
void |
delete(DeleteRolePolicyRequest request,
ResultCapture<Void> extractor)
Performs the
Delete action and use a ResultCapture to
retrieve the low-level client response. |
String |
getName()
Gets the value of the Name identifier.
|
String |
getPolicyDocument()
Gets the value of the PolicyDocument attribute.
|
Role |
getRole()
Retrieves the
Role resource referenced by this resource. |
String |
getRoleName()
Gets the value of the RoleName 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(GetRolePolicyRequest request)
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(GetRolePolicyRequest request,
ResultCapture<GetRolePolicyResult> 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
RolePolicy resource, and any conflicting parameter value set
in the request will be overridden:
RoleName
- mapped from the RoleName identifier. |
void |
put(PutRolePolicyRequest request)
Performs the
Put action. |
void |
put(PutRolePolicyRequest request,
ResultCapture<Void> extractor)
Performs the
Put 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(GetRolePolicyRequest)boolean load(GetRolePolicyRequest request)
RolePolicy resource, and any conflicting parameter value set
in the request will be overridden:
RoleName
- mapped from the RoleName 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.GetRolePolicyRequestboolean load(GetRolePolicyRequest request, ResultCapture<GetRolePolicyResult> extractor)
RolePolicy resource, and any conflicting parameter value set
in the request will be overridden:
RoleName
- mapped from the RoleName 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.GetRolePolicyRequestString getName()
String getRoleName()
String getPolicyDocument()
load() is made to retrieve the value of the
attribute.Role getRole()
Role resource referenced by this resource.void put(PutRolePolicyRequest request)
Put action.
The following request parameters will be populated from the data of this
RolePolicy resource, and any conflicting parameter value set
in the request will be overridden:
RoleName
- mapped from the RoleName identifier.
PolicyName
- mapped from the Name identifier.
PutRolePolicyRequestvoid put(PutRolePolicyRequest 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
RolePolicy resource, and any conflicting parameter value set
in the request will be overridden:
RoleName
- mapped from the RoleName identifier.
PolicyName
- mapped from the Name identifier.
PutRolePolicyRequestvoid delete(DeleteRolePolicyRequest request)
Delete action.
The following request parameters will be populated from the data of this
RolePolicy resource, and any conflicting parameter value set
in the request will be overridden:
RoleName
- mapped from the RoleName identifier.
PolicyName
- mapped from the Name identifier.
DeleteRolePolicyRequestvoid delete(DeleteRolePolicyRequest 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
RolePolicy resource, and any conflicting parameter value set
in the request will be overridden:
RoleName
- mapped from the RoleName identifier.
PolicyName
- mapped from the Name identifier.
DeleteRolePolicyRequestCopyright © 2014. All rights reserved.