public interface Role
Role resource.
Each Role object is uniquely identified by these identifier(s):
| Modifier and Type | Method and Description |
|---|---|
void |
delete(DeleteRoleRequest request)
Performs the
Delete action. |
void |
delete(DeleteRoleRequest request,
ResultCapture<Void> extractor)
Performs the
Delete action and use a ResultCapture to
retrieve the low-level client response. |
String |
getArn()
Gets the value of the Arn attribute.
|
String |
getAssumeRolePolicyDocument()
Gets the value of the AssumeRolePolicyDocument attribute.
|
Date |
getCreateDate()
Gets the value of the CreateDate attribute.
|
InstanceProfileCollection |
getInstanceProfiles()
Retrieves the InstanceProfiles collection referenced by this resource.
|
InstanceProfileCollection |
getInstanceProfiles(ListInstanceProfilesForRoleRequest request)
Retrieves the InstanceProfiles collection referenced by this resource.
|
String |
getName()
Gets the value of the Name identifier.
|
String |
getPath()
Gets the value of the Path attribute.
|
RolePolicyCollection |
getPolicies()
Retrieves the Policies collection referenced by this resource.
|
RolePolicyCollection |
getPolicies(ListRolePoliciesRequest request)
Retrieves the Policies collection referenced by this resource.
|
String |
getRoleId()
Gets the value of the RoleId attribute.
|
RolePolicy |
getRolePolicy(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(GetRoleRequest request)
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(GetRoleRequest request,
ResultCapture<GetRoleResult> 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
Role resource, and any conflicting parameter value set in
the request will be overridden:
RoleName
- mapped from the Name identifier. |
void |
updateAssumeRolePolicy(UpdateAssumeRolePolicyRequest request)
Performs the
UpdateAssumeRolePolicy action. |
void |
updateAssumeRolePolicy(UpdateAssumeRolePolicyRequest request,
ResultCapture<Void> extractor)
Performs the
UpdateAssumeRolePolicy 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(GetRoleRequest)boolean load(GetRoleRequest request)
Role resource, and any conflicting parameter value set in
the request will be overridden:
RoleName
- 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.GetRoleRequestboolean load(GetRoleRequest request, ResultCapture<GetRoleResult> extractor)
Role resource, and any conflicting parameter value set in
the request will be overridden:
RoleName
- 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.GetRoleRequestString getName()
String getAssumeRolePolicyDocument()
load() is made to retrieve
the value of the attribute.String getArn()
load() is made to retrieve the value of the attribute.Date getCreateDate()
load() is made to retrieve the value of the
attribute.String getRoleId()
load() is made to retrieve the value of the
attribute.String getPath()
load() is made to retrieve the value of the attribute.RolePolicy getRolePolicy(String name)
RolePolicyCollection getPolicies()
RolePolicyCollection getPolicies(ListRolePoliciesRequest request)
InstanceProfileCollection getInstanceProfiles()
InstanceProfileCollection getInstanceProfiles(ListInstanceProfilesForRoleRequest request)
void delete(DeleteRoleRequest request)
Delete action.
The following request parameters will be populated from the data of this
Role resource, and any conflicting parameter value set in
the request will be overridden:
RoleName
- mapped from the Name identifier.
DeleteRoleRequestvoid delete(DeleteRoleRequest 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
Role resource, and any conflicting parameter value set in
the request will be overridden:
RoleName
- mapped from the Name identifier.
DeleteRoleRequestvoid updateAssumeRolePolicy(UpdateAssumeRolePolicyRequest request)
UpdateAssumeRolePolicy action.
The following request parameters will be populated from the data of this
Role resource, and any conflicting parameter value set in
the request will be overridden:
RoleName
- mapped from the Name identifier.
UpdateAssumeRolePolicyRequestvoid updateAssumeRolePolicy(UpdateAssumeRolePolicyRequest request, ResultCapture<Void> extractor)
UpdateAssumeRolePolicy action and use a
ResultCapture to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Role resource, and any conflicting parameter value set in
the request will be overridden:
RoleName
- mapped from the Name identifier.
UpdateAssumeRolePolicyRequestCopyright © 2014. All rights reserved.