@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRoleFunction extends Object implements SdkFunction<GetRoleRequest,GetRoleResult>
| Constructor and Description |
|---|
GetRoleFunction(AmazonIdentityManagement client)
Constructs a new GetRoleFunction with the given client
|
| Modifier and Type | Method and Description |
|---|---|
GetRoleResult |
apply(GetRoleRequest getRoleRequest)
Makes a call to the operation specified by the waiter by taking the corresponding request and returns the
corresponding result
|
public GetRoleFunction(AmazonIdentityManagement client)
client - Service clientpublic GetRoleResult apply(GetRoleRequest getRoleRequest)
apply in interface SdkFunction<GetRoleRequest,GetRoleResult>getRoleRequest - Corresponding request for the operation