public interface InstanceProfile
InstanceProfile
resource.
Each InstanceProfile
object is uniquely identified by these
identifier(s):
Modifier and Type | Method and Description |
---|---|
void |
addRole(AddRoleToInstanceProfileRequest request)
Performs the
AddRole action. |
void |
addRole(AddRoleToInstanceProfileRequest request,
ResultCapture<Void> extractor)
Performs the
AddRole action and use a ResultCapture to
retrieve the low-level client response. |
void |
delete(DeleteInstanceProfileRequest request)
Performs the
Delete action. |
void |
delete(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(GetInstanceProfileRequest request)
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(GetInstanceProfileRequest request,
ResultCapture<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(RemoveRoleFromInstanceProfileRequest request)
Performs the
RemoveRole action. |
void |
removeRole(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(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.GetInstanceProfileRequest
boolean load(GetInstanceProfileRequest request, ResultCapture<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.GetInstanceProfileRequest
String 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(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.
RemoveRoleFromInstanceProfileRequest
void removeRole(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.
RemoveRoleFromInstanceProfileRequest
void addRole(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.
AddRoleToInstanceProfileRequest
void addRole(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.
AddRoleToInstanceProfileRequest
void delete(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.
DeleteInstanceProfileRequest
void delete(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.
DeleteInstanceProfileRequest
Copyright © 2014. All rights reserved.