Interface ListPolicyGrantsRequest.Builder

    • Method Detail

      • domainIdentifier

        ListPolicyGrantsRequest.Builder domainIdentifier​(String domainIdentifier)

        The ID of the domain where you want to list policy grants.

        Parameters:
        domainIdentifier - The ID of the domain where you want to list policy grants.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • entityIdentifier

        ListPolicyGrantsRequest.Builder entityIdentifier​(String entityIdentifier)

        The ID of the entity for which you want to list policy grants.

        Parameters:
        entityIdentifier - The ID of the entity for which you want to list policy grants.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • entityType

        ListPolicyGrantsRequest.Builder entityType​(String entityType)

        The type of entity for which you want to list policy grants.

        Parameters:
        entityType - The type of entity for which you want to list policy grants.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetEntityType, TargetEntityType
      • maxResults

        ListPolicyGrantsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of grants to return in a single call to ListPolicyGrants. When the number of grants to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListPolicyGrants to list the next set of grants.

        Parameters:
        maxResults - The maximum number of grants to return in a single call to ListPolicyGrants. When the number of grants to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListPolicyGrants to list the next set of grants.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListPolicyGrantsRequest.Builder nextToken​(String nextToken)

        When the number of grants is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of grants, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListPolicyGrants to list the next set of grants.

        Parameters:
        nextToken - When the number of grants is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of grants, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListPolicyGrants to list the next set of grants.
        Returns:
        Returns a reference to this object so that method calls can be chained together.