Class IAMRoleAssignmentsImpl

java.lang.Object
com.eqixiac.equinix.iam.client.implementation.IAMRoleAssignmentsImpl
All Implemented Interfaces:
IAMRoleAssignments

public class IAMRoleAssignmentsImpl extends Object implements IAMRoleAssignments
  • Constructor Details

    • IAMRoleAssignmentsImpl

      public IAMRoleAssignmentsImpl()
  • Method Details

    • list

      public RoleAssignmentList list(String assignmentScopeId, String assignmentScopeType)
      Description copied from interface: IAMRoleAssignments
      Lists the role assignments for a given scope (first page).
      Specified by:
      list in interface IAMRoleAssignments
      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: IAMRoleAssignments
      Lists the role assignments for a given scope, controlling pagination.
      Specified by:
      list in interface IAMRoleAssignments
      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, or null for the first page
      pageSize - the maximum number of results per page, or null for the server default
      Returns:
      the requested page of role assignments
    • create

      Description copied from interface: IAMRoleAssignments
      Creates a new role assignment.
      Specified by:
      create in interface IAMRoleAssignments
      Parameters:
      request - the role assignment to create (principal, role and scope)
      Returns:
      the created role assignment
    • getByUuid

      public RoleAssignment getByUuid(String roleAssignmentId)
      Description copied from interface: IAMRoleAssignments
      Retrieves a single role assignment by its identifier.
      Specified by:
      getByUuid in interface IAMRoleAssignments
      Parameters:
      roleAssignmentId - the role assignment identifier
      Returns:
      the matching role assignment
    • delete

      public Boolean delete(String roleAssignmentId)
      Description copied from interface: IAMRoleAssignments
      Deletes a role assignment by its identifier.
      Specified by:
      delete in interface IAMRoleAssignments
      Parameters:
      roleAssignmentId - the role assignment identifier
      Returns:
      true if the deletion request was accepted