Class IAMRolesImpl

java.lang.Object
com.eqixiac.equinix.iam.client.implementation.IAMRolesImpl
All Implemented Interfaces:
IAMRoles

public class IAMRolesImpl extends Object implements IAMRoles
  • Constructor Details

    • IAMRolesImpl

      public IAMRolesImpl()
  • Method Details

    • list

      public RoleList list()
      Description copied from interface: IAMRoles
      Lists all roles (first page).
      Specified by:
      list in interface IAMRoles
      Returns:
      the first page of roles
    • list

      public RoleList list(String pageToken, Integer pageSize, String projectErn)
      Description copied from interface: IAMRoles
      Lists all roles, controlling pagination and optional project ERN filtering.
      Specified by:
      list in interface IAMRoles
      Parameters:
      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
      projectErn - the project ERN to scope the listing to, or null
      Returns:
      the requested page of roles
    • list

      public RoleList list(String pageToken, Integer pageSize, String projectId, String projectErn)
      Description copied from interface: IAMRoles
      Lists all roles, controlling pagination and optional project scoping by id or ERN.

      projectId and projectErn are mutually exclusive - supply at most one.

      Specified by:
      list in interface IAMRoles
      Parameters:
      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
      projectId - the IAM project id to scope the listing to, project:<id> form (see ProjectIds; mutually exclusive with projectErn), or null
      projectErn - the project ERN to scope the listing to (mutually exclusive with projectId), or null
      Returns:
      the requested page of roles
    • listByProject

      public RoleList listByProject(String projectId)
      Description copied from interface: IAMRoles
      Lists the roles available within a specific project (first page).
      Specified by:
      listByProject in interface IAMRoles
      Parameters:
      projectId - the IAM project id, project:<id> (for example project:abc-123); a bare Resource Manager UUID is rejected, convert it with ProjectIds.of(String). Project-scoped endpoints need an STS access-policy token (new IAM(BearerTokenProvider))
      Returns:
      the first page of project-scoped roles
    • listByProject

      public RoleList listByProject(String projectId, String pageToken, Integer pageSize, String projectErn)
      Description copied from interface: IAMRoles
      Lists the roles available within a specific project, controlling pagination.
      Specified by:
      listByProject in interface IAMRoles
      Parameters:
      projectId - the IAM project id, project:<id> (for example project:abc-123); a bare Resource Manager UUID is rejected, convert it with ProjectIds.of(String). Project-scoped endpoints need an STS access-policy token (new IAM(BearerTokenProvider))
      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
      projectErn - the project ERN (mutually exclusive with projectId), or null
      Returns:
      the requested page of project-scoped roles