public interface InstanceProfile
InstanceProfile resource.
Each InstanceProfile object is uniquely identified by these
identifier(s):
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(com.amazonaws.services.identitymanagement.model.AddRoleToInstanceProfileRequest request)
Performs the
AddRole action. |
void |
addRole(com.amazonaws.services.identitymanagement.model.AddRoleToInstanceProfileRequest request,
ResultCapture<Void> extractor)
Performs the
AddRole action and use a ResultCapture to
retrieve the low-level client response. |
void |
delete(com.amazonaws.services.identitymanagement.model.DeleteInstanceProfileRequest request)
Performs the
Delete action. |
void |
delete(com.amazonaws.services.identitymanagement.model.DeleteInstanceProfileRequest 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.
|
Date |
getCreateDate()
Gets the value of the CreateDate attribute.
|
String |
getInstanceProfileId()
Gets the value of the InstanceProfileId attribute.
|
String |
getName()
Gets the value of the Name identifier.
|
String |
getPath()
Gets the value of the Path attribute.
|
List<Role> |
getRoles()
Retrieves the list of
Roles resources referenced by this
resource. |
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.GetInstanceProfileRequest 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.GetInstanceProfileRequest request,
ResultCapture<com.amazonaws.services.identitymanagement.model.GetInstanceProfileResult> 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
InstanceProfile resource, and any conflicting parameter
value set in the request will be overridden:
InstanceProfileName
- mapped from the Name identifier. |
void |
removeRole(com.amazonaws.services.identitymanagement.model.RemoveRoleFromInstanceProfileRequest request)
Performs the
RemoveRole action. |
void |
removeRole(com.amazonaws.services.identitymanagement.model.RemoveRoleFromInstanceProfileRequest request,
ResultCapture<Void> extractor)
Performs the
RemoveRole 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(GetInstanceProfileRequest)boolean load(com.amazonaws.services.identitymanagement.model.GetInstanceProfileRequest request)
InstanceProfile resource, and any conflicting parameter
value set in the request will be overridden:
InstanceProfileName
- 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.GetInstanceProfileRequestboolean load(com.amazonaws.services.identitymanagement.model.GetInstanceProfileRequest request,
ResultCapture<com.amazonaws.services.identitymanagement.model.GetInstanceProfileResult> extractor)
InstanceProfile resource, and any conflicting parameter
value set in the request will be overridden:
InstanceProfileName
- 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.GetInstanceProfileRequestString getName()
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 getInstanceProfileId()
load() is made to retrieve the value of
the attribute.String getPath()
load() is made to retrieve the value of the attribute.void removeRole(com.amazonaws.services.identitymanagement.model.RemoveRoleFromInstanceProfileRequest request)
RemoveRole action.
The following request parameters will be populated from the data of this
InstanceProfile resource, and any conflicting parameter
value set in the request will be overridden:
InstanceProfileName
- mapped from the Name identifier.
RemoveRoleFromInstanceProfileRequestvoid removeRole(com.amazonaws.services.identitymanagement.model.RemoveRoleFromInstanceProfileRequest request,
ResultCapture<Void> extractor)
RemoveRole action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
InstanceProfile resource, and any conflicting parameter
value set in the request will be overridden:
InstanceProfileName
- mapped from the Name identifier.
RemoveRoleFromInstanceProfileRequestvoid addRole(com.amazonaws.services.identitymanagement.model.AddRoleToInstanceProfileRequest request)
AddRole action.
The following request parameters will be populated from the data of this
InstanceProfile resource, and any conflicting parameter
value set in the request will be overridden:
InstanceProfileName
- mapped from the Name identifier.
AddRoleToInstanceProfileRequestvoid addRole(com.amazonaws.services.identitymanagement.model.AddRoleToInstanceProfileRequest request,
ResultCapture<Void> extractor)
AddRole action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
InstanceProfile resource, and any conflicting parameter
value set in the request will be overridden:
InstanceProfileName
- mapped from the Name identifier.
AddRoleToInstanceProfileRequestvoid delete(com.amazonaws.services.identitymanagement.model.DeleteInstanceProfileRequest request)
Delete action.
The following request parameters will be populated from the data of this
InstanceProfile resource, and any conflicting parameter
value set in the request will be overridden:
InstanceProfileName
- mapped from the Name identifier.
DeleteInstanceProfileRequestvoid delete(com.amazonaws.services.identitymanagement.model.DeleteInstanceProfileRequest 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
InstanceProfile resource, and any conflicting parameter
value set in the request will be overridden:
InstanceProfileName
- mapped from the Name identifier.
DeleteInstanceProfileRequestCopyright © 2014. All rights reserved.