public class DistributionList
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
isTruncated
A flag that indicates whether more distributions remain to be listed.
|
private SdkInternalList<DistributionSummary> |
items
A complex type that contains one DistributionSummary element for each
distribution that was created by the current AWS account.
|
private java.lang.String |
marker
The value you provided for the Marker request parameter.
|
private java.lang.Integer |
maxItems
The value you provided for the MaxItems request parameter.
|
private java.lang.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.
|
private java.lang.Integer |
quantity
The number of distributions that were created by the current AWS account.
|
Constructor and Description |
---|
DistributionList() |
Modifier and Type | Method and Description |
---|---|
DistributionList |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getIsTruncated()
A flag that indicates whether more distributions remain to be listed.
|
java.util.List<DistributionSummary> |
getItems()
A complex type that contains one DistributionSummary element for each
distribution that was created by the current AWS account.
|
java.lang.String |
getMarker()
The value you provided for the Marker request parameter.
|
java.lang.Integer |
getMaxItems()
The value you provided for the MaxItems request parameter.
|
java.lang.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.
|
java.lang.Integer |
getQuantity()
The number of distributions that were created by the current AWS account.
|
int |
hashCode() |
java.lang.Boolean |
isTruncated()
A flag that indicates whether more distributions remain to be listed.
|
void |
setIsTruncated(java.lang.Boolean isTruncated)
A flag that indicates whether more distributions remain to be listed.
|
void |
setItems(java.util.Collection<DistributionSummary> items)
A complex type that contains one DistributionSummary element for each
distribution that was created by the current AWS account.
|
void |
setMarker(java.lang.String marker)
The value you provided for the Marker request parameter.
|
void |
setMaxItems(java.lang.Integer maxItems)
The value you provided for the MaxItems request parameter.
|
void |
setNextMarker(java.lang.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.
|
void |
setQuantity(java.lang.Integer quantity)
The number of distributions that were created by the current AWS account.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DistributionList |
withIsTruncated(java.lang.Boolean isTruncated)
A flag that indicates whether more distributions remain to be listed.
|
DistributionList |
withItems(java.util.Collection<DistributionSummary> items)
A complex type that contains one DistributionSummary element for each
distribution that was created by the current AWS account.
|
DistributionList |
withItems(DistributionSummary... items)
A complex type that contains one DistributionSummary element for each
distribution that was created by the current AWS account.
|
DistributionList |
withMarker(java.lang.String marker)
The value you provided for the Marker request parameter.
|
DistributionList |
withMaxItems(java.lang.Integer maxItems)
The value you provided for the MaxItems request parameter.
|
DistributionList |
withNextMarker(java.lang.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.
|
DistributionList |
withQuantity(java.lang.Integer quantity)
The number of distributions that were created by the current AWS account.
|
private java.lang.String marker
private java.lang.String nextMarker
private java.lang.Integer maxItems
private java.lang.Boolean isTruncated
private java.lang.Integer quantity
private SdkInternalList<DistributionSummary> items
public void setMarker(java.lang.String marker)
marker
- The value you provided for the Marker request parameter.public java.lang.String getMarker()
public DistributionList withMarker(java.lang.String marker)
marker
- The value you provided for the Marker request parameter.public void setNextMarker(java.lang.String nextMarker)
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.public java.lang.String getNextMarker()
public DistributionList withNextMarker(java.lang.String nextMarker)
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.public void setMaxItems(java.lang.Integer maxItems)
maxItems
- The value you provided for the MaxItems request parameter.public java.lang.Integer getMaxItems()
public DistributionList withMaxItems(java.lang.Integer maxItems)
maxItems
- The value you provided for the MaxItems request parameter.public void setIsTruncated(java.lang.Boolean isTruncated)
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.public java.lang.Boolean getIsTruncated()
public DistributionList withIsTruncated(java.lang.Boolean isTruncated)
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.public java.lang.Boolean isTruncated()
public void setQuantity(java.lang.Integer quantity)
quantity
- The number of distributions that were created by the current AWS
account.public java.lang.Integer getQuantity()
public DistributionList withQuantity(java.lang.Integer quantity)
quantity
- The number of distributions that were created by the current AWS
account.public java.util.List<DistributionSummary> getItems()
public void setItems(java.util.Collection<DistributionSummary> items)
items
- A complex type that contains one DistributionSummary element for
each distribution that was created by the current AWS account.public DistributionList withItems(DistributionSummary... items)
NOTE: This method appends the values to the existing list (if
any). Use setItems(java.util.Collection)
or
withItems(java.util.Collection)
if you want to override the
existing values.
items
- A complex type that contains one DistributionSummary element for
each distribution that was created by the current AWS account.public DistributionList withItems(java.util.Collection<DistributionSummary> items)
items
- A complex type that contains one DistributionSummary element for
each distribution that was created by the current AWS account.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DistributionList clone()
clone
in class java.lang.Object