com.amazonaws.services.cloudfront.model
Class DistributionList

java.lang.Object
  extended by com.amazonaws.services.cloudfront.model.DistributionList

public class DistributionList
extends Object

A distribution list.


Constructor Summary
DistributionList()
          Default constructor for a new DistributionList object.
 
Method Summary
 boolean equals(Object obj)
           
 List<DistributionSummary> getDistributionSummaries()
          An XML structure containing a summary of the distribution.
 Boolean getIsTruncated()
          A flag that indicates whether more distributions remain to be listed.
 String getMarker()
          The value you provided for the Marker request parameter.
 Integer getMaxItems()
          The value you provided for the MaxItems request parameter.
 String getNextMarker()
          If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.
 int hashCode()
           
 Boolean isTruncated()
          A flag that indicates whether more distributions remain to be listed.
 void setDistributionSummaries(Collection<DistributionSummary> distributionSummaries)
          An XML structure containing a summary of the distribution.
 void setIsTruncated(Boolean isTruncated)
          A flag that indicates whether more distributions remain to be listed.
 void setMarker(String marker)
          The value you provided for the Marker request parameter.
 void setMaxItems(Integer maxItems)
          The value you provided for the MaxItems request parameter.
 void setNextMarker(String nextMarker)
          If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DistributionList withDistributionSummaries(Collection<DistributionSummary> distributionSummaries)
          An XML structure containing a summary of the distribution.
 DistributionList withDistributionSummaries(DistributionSummary... distributionSummaries)
          An XML structure containing a summary of the distribution.
 DistributionList withIsTruncated(Boolean isTruncated)
          A flag that indicates whether more distributions remain to be listed.
 DistributionList withMarker(String marker)
          The value you provided for the Marker request parameter.
 DistributionList withMaxItems(Integer maxItems)
          The value you provided for the MaxItems request parameter.
 DistributionList withNextMarker(String nextMarker)
          If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistributionList

public DistributionList()
Default constructor for a new DistributionList object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getMarker

public String getMarker()
The value you provided for the Marker request parameter.

Returns:
The value you provided for the Marker request parameter.

setMarker

public void setMarker(String marker)
The value you provided for the Marker request parameter.

Parameters:
marker - The value you provided for the Marker request parameter.

withMarker

public DistributionList withMarker(String marker)
The value you provided for the Marker request parameter.

Returns a reference to this object so that method calls can be chained together.

Parameters:
marker - The value you provided for the Marker request parameter.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextMarker

public String getNextMarker()
If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.

Returns:
If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.

setNextMarker

public void setNextMarker(String nextMarker)
If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.

Parameters:
nextMarker - If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.

withNextMarker

public DistributionList withNextMarker(String nextMarker)
If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nextMarker - If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxItems

public Integer getMaxItems()
The value you provided for the MaxItems request parameter.

Returns:
The value you provided for the MaxItems request parameter.

setMaxItems

public void setMaxItems(Integer maxItems)
The value you provided for the MaxItems request parameter.

Parameters:
maxItems - The value you provided for the MaxItems request parameter.

withMaxItems

public DistributionList withMaxItems(Integer maxItems)
The value you provided for the MaxItems request parameter.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maxItems - The value you provided for the MaxItems request parameter.
Returns:
A reference to this updated object so that method calls can be chained together.

isTruncated

public Boolean isTruncated()
A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

Returns:
A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

setIsTruncated

public void setIsTruncated(Boolean isTruncated)
A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

Parameters:
isTruncated - A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

withIsTruncated

public DistributionList withIsTruncated(Boolean isTruncated)
A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

Returns a reference to this object so that method calls can be chained together.

Parameters:
isTruncated - A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.
Returns:
A reference to this updated object so that method calls can be chained together.

getIsTruncated

public Boolean getIsTruncated()
A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

Returns:
A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list.

getDistributionSummaries

public List<DistributionSummary> getDistributionSummaries()
An XML structure containing a summary of the distribution.

Returns:
An XML structure containing a summary of the distribution.

setDistributionSummaries

public void setDistributionSummaries(Collection<DistributionSummary> distributionSummaries)
An XML structure containing a summary of the distribution.

Parameters:
distributionSummaries - An XML structure containing a summary of the distribution.

withDistributionSummaries

public DistributionList withDistributionSummaries(DistributionSummary... distributionSummaries)
An XML structure containing a summary of the distribution.

Returns a reference to this object so that method calls can be chained together.

Parameters:
distributionSummaries - An XML structure containing a summary of the distribution.
Returns:
A reference to this updated object so that method calls can be chained together.

withDistributionSummaries

public DistributionList withDistributionSummaries(Collection<DistributionSummary> distributionSummaries)
An XML structure containing a summary of the distribution.

Returns a reference to this object so that method calls can be chained together.

Parameters:
distributionSummaries - An XML structure containing a summary of the distribution.
Returns:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.