Interface ListPoliciesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListPoliciesResponse.Builder,ListPoliciesResponse>, FmsResponse.Builder, SdkBuilder<ListPoliciesResponse.Builder,ListPoliciesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListPoliciesResponse

public static interface ListPoliciesResponse.Builder extends FmsResponse.Builder, SdkPojo, CopyableBuilder<ListPoliciesResponse.Builder,ListPoliciesResponse>
  • Method Details

    • 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.
    • policyList

      An array of PolicySummary objects.

      This is a convenience method that creates an instance of the PolicySummary.Builder avoiding the need to create one manually via PolicySummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to policyList(List<PolicySummary>).

      Parameters:
      policyList - a consumer that will call methods on PolicySummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.