Interface ListCachePoliciesRequest.Builder

    • Method Detail

      • type

        ListCachePoliciesRequest.Builder type​(String type)

        A filter to return only the specified kinds of cache policies. Valid values are:

        • managed – Returns only the managed policies created by Amazon Web Services.

        • custom – Returns only the custom policies created in your Amazon Web Services account.

        Parameters:
        type - A filter to return only the specified kinds of cache policies. Valid values are:

        • managed – Returns only the managed policies created by Amazon Web Services.

        • custom – Returns only the custom policies created in your Amazon Web Services account.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CachePolicyType, CachePolicyType
      • type

        ListCachePoliciesRequest.Builder type​(CachePolicyType type)

        A filter to return only the specified kinds of cache policies. Valid values are:

        • managed – Returns only the managed policies created by Amazon Web Services.

        • custom – Returns only the custom policies created in your Amazon Web Services account.

        Parameters:
        type - A filter to return only the specified kinds of cache policies. Valid values are:

        • managed – Returns only the managed policies created by Amazon Web Services.

        • custom – Returns only the custom policies created in your Amazon Web Services account.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CachePolicyType, CachePolicyType
      • marker

        ListCachePoliciesRequest.Builder marker​(String marker)

        Use this field when paginating results to indicate where to begin in your list of cache policies. The response includes cache policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

        Parameters:
        marker - Use this field when paginating results to indicate where to begin in your list of cache policies. The response includes cache policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxItems

        ListCachePoliciesRequest.Builder maxItems​(String maxItems)

        The maximum number of cache policies that you want in the response.

        Parameters:
        maxItems - The maximum number of cache policies that you want in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.