Interface ListPoliciesResponse.Builder

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

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

    • policies

      The descriptions of the policies.

      Parameters:
      policies - The descriptions of the policies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policies

      ListPoliciesResponse.Builder policies(Policy... policies)

      The descriptions of the policies.

      Parameters:
      policies - The descriptions of the policies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policies

      The descriptions of the policies.

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

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

      Parameters:
      policies - a consumer that will call methods on Policy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextMarker

      ListPoliciesResponse.Builder nextMarker(String nextMarker)

      The marker for the next set of results, or null if there are no additional results.

      Parameters:
      nextMarker - The marker for the next set of results, or null if there are no additional results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.