Class ListAccessPoliciesRequest

    • Method Detail

      • identityType

        public final IdentityType identityType()

        The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter is required if you specify identityId.

        If the service returns an enum value that is not available in the current SDK version, identityType will return IdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from identityTypeAsString().

        Returns:
        The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter is required if you specify identityId.
        See Also:
        IdentityType
      • identityTypeAsString

        public final String identityTypeAsString()

        The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter is required if you specify identityId.

        If the service returns an enum value that is not available in the current SDK version, identityType will return IdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from identityTypeAsString().

        Returns:
        The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter is required if you specify identityId.
        See Also:
        IdentityType
      • identityId

        public final String identityId()

        The ID of the identity. This parameter is required if you specify USER or GROUP for identityType.

        Returns:
        The ID of the identity. This parameter is required if you specify USER or GROUP for identityType.
      • resourceType

        public final ResourceType resourceType()

        The type of resource (portal or project). This parameter is required if you specify resourceId.

        If the service returns an enum value that is not available in the current SDK version, resourceType will return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from resourceTypeAsString().

        Returns:
        The type of resource (portal or project). This parameter is required if you specify resourceId.
        See Also:
        ResourceType
      • resourceTypeAsString

        public final String resourceTypeAsString()

        The type of resource (portal or project). This parameter is required if you specify resourceId.

        If the service returns an enum value that is not available in the current SDK version, resourceType will return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from resourceTypeAsString().

        Returns:
        The type of resource (portal or project). This parameter is required if you specify resourceId.
        See Also:
        ResourceType
      • resourceId

        public final String resourceId()

        The ID of the resource. This parameter is required if you specify resourceType.

        Returns:
        The ID of the resource. This parameter is required if you specify resourceType.
      • iamArn

        public final String iamArn()

        The ARN of the IAM user. For more information, see IAM ARNs in the IAM User Guide. This parameter is required if you specify IAM for identityType.

        Returns:
        The ARN of the IAM user. For more information, see IAM ARNs in the IAM User Guide. This parameter is required if you specify IAM for identityType.
      • nextToken

        public final String nextToken()

        The token to be used for the next set of paginated results.

        Returns:
        The token to be used for the next set of paginated results.
      • maxResults

        public final Integer maxResults()

        The maximum number of results to return for each paginated request.

        Default: 50

        Returns:
        The maximum number of results to return for each paginated request.

        Default: 50

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object