Class IAMRoleAssignmentsImpl
java.lang.Object
com.eqixiac.equinix.iam.client.implementation.IAMRoleAssignmentsImpl
- All Implemented Interfaces:
IAMRoleAssignments
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CreateRoleAssignmentRequest request) Creates a new role assignment.Deletes a role assignment by its identifier.Retrieves a single role assignment by its identifier.Lists the role assignments for a given scope (first page).Lists the role assignments for a given scope, controlling pagination.
-
Constructor Details
-
IAMRoleAssignmentsImpl
public IAMRoleAssignmentsImpl()
-
-
Method Details
-
list
Description copied from interface:IAMRoleAssignmentsLists the role assignments for a given scope (first page).- Specified by:
listin interfaceIAMRoleAssignments- Parameters:
assignmentScopeId- the id of the scope object (required)assignmentScopeType- the type of the scope object, e.g.PROJECT(required)- Returns:
- the first page of role assignments
-
list
public RoleAssignmentList list(String assignmentScopeId, String assignmentScopeType, String pageToken, Integer pageSize) Description copied from interface:IAMRoleAssignmentsLists the role assignments for a given scope, controlling pagination.- Specified by:
listin interfaceIAMRoleAssignments- Parameters:
assignmentScopeId- the id of the scope object (required)assignmentScopeType- the type of the scope object, e.g.PROJECT(required)pageToken- the opaque page token from a prior response, ornullfor the first pagepageSize- the maximum number of results per page, ornullfor the server default- Returns:
- the requested page of role assignments
-
create
Description copied from interface:IAMRoleAssignmentsCreates a new role assignment.- Specified by:
createin interfaceIAMRoleAssignments- Parameters:
request- the role assignment to create (principal, role and scope)- Returns:
- the created role assignment
-
getByUuid
Description copied from interface:IAMRoleAssignmentsRetrieves a single role assignment by its identifier.- Specified by:
getByUuidin interfaceIAMRoleAssignments- Parameters:
roleAssignmentId- the role assignment identifier- Returns:
- the matching role assignment
-
delete
Description copied from interface:IAMRoleAssignmentsDeletes a role assignment by its identifier.- Specified by:
deletein interfaceIAMRoleAssignments- Parameters:
roleAssignmentId- the role assignment identifier- Returns:
trueif the deletion request was accepted
-