Class ListDistributionsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudfront.model.ListDistributionsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class ListDistributionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request to list your distributions.
See Also:
  • Constructor Details

    • ListDistributionsRequest

      public ListDistributionsRequest()
  • Method Details

    • setMarker

      public void setMarker(String marker)
      Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)
      Parameters:
      marker - Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)
    • getMarker

      public String getMarker()
      Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)
      Returns:
      Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)
    • withMarker

      public ListDistributionsRequest withMarker(String marker)
      Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)
      Parameters:
      marker - Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMaxItems

      public void setMaxItems(String maxItems)
      The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.
      Parameters:
      maxItems - The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.
    • getMaxItems

      public String getMaxItems()
      The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.
      Returns:
      The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.
    • withMaxItems

      public ListDistributionsRequest withMaxItems(String maxItems)
      The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.
      Parameters:
      maxItems - The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListDistributionsRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: