Class IAMRolesImpl
java.lang.Object
com.eqixiac.equinix.iam.client.implementation.IAMRolesImpl
- All Implemented Interfaces:
IAMRoles
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlist()Lists all roles (first page).Lists all roles, controlling pagination and optional project ERN filtering.Lists all roles, controlling pagination and optional project scoping by id or ERN.listByProject(String projectId) Lists the roles available within a specific project (first page).listByProject(String projectId, String pageToken, Integer pageSize, String projectErn) Lists the roles available within a specific project, controlling pagination.
-
Constructor Details
-
IAMRolesImpl
public IAMRolesImpl()
-
-
Method Details
-
list
-
list
Description copied from interface:IAMRolesLists all roles, controlling pagination and optional project ERN filtering.- Specified by:
listin interfaceIAMRoles- Parameters:
pageToken- the opaque page token from a prior response, ornullfor the first pagepageSize- the maximum number of results per page, ornullfor the server defaultprojectErn- the project ERN to scope the listing to, ornull- Returns:
- the requested page of roles
-
list
Description copied from interface:IAMRolesLists all roles, controlling pagination and optional project scoping by id or ERN.projectIdandprojectErnare mutually exclusive - supply at most one.- Specified by:
listin interfaceIAMRoles- Parameters:
pageToken- the opaque page token from a prior response, ornullfor the first pagepageSize- the maximum number of results per page, ornullfor the server defaultprojectId- the IAM project id to scope the listing to,project:<id>form (seeProjectIds; mutually exclusive withprojectErn), ornullprojectErn- the project ERN to scope the listing to (mutually exclusive withprojectId), ornull- Returns:
- the requested page of roles
-
listByProject
Description copied from interface:IAMRolesLists the roles available within a specific project (first page).- Specified by:
listByProjectin interfaceIAMRoles- Parameters:
projectId- the IAM project id,project:<id>(for exampleproject:abc-123); a bare Resource Manager UUID is rejected, convert it withProjectIds.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:IAMRolesLists the roles available within a specific project, controlling pagination.- Specified by:
listByProjectin interfaceIAMRoles- Parameters:
projectId- the IAM project id,project:<id>(for exampleproject:abc-123); a bare Resource Manager UUID is rejected, convert it withProjectIds.of(String). Project-scoped endpoints need an STS access-policy token (new IAM(BearerTokenProvider))pageToken- the opaque page token from a prior response, ornullfor the first pagepageSize- the maximum number of results per page, ornullfor the server defaultprojectErn- the project ERN (mutually exclusive withprojectId), ornull- Returns:
- the requested page of project-scoped roles
-