Interface ListPoliciesResponse.Builder

    • Method Detail

      • policyList

        ListPoliciesResponse.Builder policyList​(Collection<PolicySummary> policyList)

        An array of PolicySummary objects.

        Parameters:
        policyList - An array of PolicySummary objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyList

        ListPoliciesResponse.Builder policyList​(PolicySummary... policyList)

        An array of PolicySummary objects.

        Parameters:
        policyList - An array of PolicySummary objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListPoliciesResponse.Builder nextToken​(String nextToken)

        If you have more PolicySummary objects than the number that you specified for MaxResults in the request, the response includes a NextToken value. To list more PolicySummary objects, submit another ListPolicies request, and specify the NextToken value from the response in the NextToken value in the next request.

        Parameters:
        nextToken - If you have more PolicySummary objects than the number that you specified for MaxResults in the request, the response includes a NextToken value. To list more PolicySummary objects, submit another ListPolicies request, and specify the NextToken value from the response in the NextToken value in the next request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.