Class IAMEffectivePermissionsImpl

java.lang.Object
com.eqixiac.equinix.iam.client.implementation.IAMEffectivePermissionsImpl
All Implemented Interfaces:
IAMEffectivePermissions

public class IAMEffectivePermissionsImpl extends Object implements IAMEffectivePermissions
  • Constructor Details

    • IAMEffectivePermissionsImpl

      public IAMEffectivePermissionsImpl()
  • Method Details

    • get

      public EffectivePermissions get(String projectId, String serviceId)
      Description copied from interface: IAMEffectivePermissions
      Resolves the effective permissions for a project and service (operationId getEffectivePermissions).
      Specified by:
      get in interface IAMEffectivePermissions
      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))
      serviceId - the service to resolve permissions for
      Returns:
      the resolved effective permissions
    • get

      public EffectivePermissions get(String projectId, String serviceId, String projectErn)
      Description copied from interface: IAMEffectivePermissions
      Resolves the effective permissions for a project and service, optionally scoped by project ERN (operationId getEffectivePermissions).
      Specified by:
      get in interface IAMEffectivePermissions
      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))
      serviceId - the service to resolve permissions for
      projectErn - the project ERN to scope resolution to, or null
      Returns:
      the resolved effective permissions