@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OriginRequestPolicyList extends Object implements Serializable, Cloneable
A list of origin request policies.
Constructor and Description |
---|
OriginRequestPolicyList() |
Modifier and Type | Method and Description |
---|---|
OriginRequestPolicyList |
clone() |
boolean |
equals(Object obj) |
List<OriginRequestPolicySummary> |
getItems()
Contains the origin request policies in the list.
|
Integer |
getMaxItems()
The maximum number of origin request policies requested.
|
String |
getNextMarker()
If there are more items in the list than are in this response, this element is present.
|
Integer |
getQuantity()
The total number of origin request policies returned in the response.
|
int |
hashCode() |
void |
setItems(Collection<OriginRequestPolicySummary> items)
Contains the origin request policies in the list.
|
void |
setMaxItems(Integer maxItems)
The maximum number of origin request policies requested.
|
void |
setNextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present.
|
void |
setQuantity(Integer quantity)
The total number of origin request policies returned in the response.
|
String |
toString()
Returns a string representation of this object.
|
OriginRequestPolicyList |
withItems(Collection<OriginRequestPolicySummary> items)
Contains the origin request policies in the list.
|
OriginRequestPolicyList |
withItems(OriginRequestPolicySummary... items)
Contains the origin request policies in the list.
|
OriginRequestPolicyList |
withMaxItems(Integer maxItems)
The maximum number of origin request policies requested.
|
OriginRequestPolicyList |
withNextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present.
|
OriginRequestPolicyList |
withQuantity(Integer quantity)
The total number of origin request policies returned in the response.
|
public void setNextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present. It contains the value
that you should use in the Marker
field of a subsequent request to continue listing origin request
policies where you left off.
nextMarker
- If there are more items in the list than are in this response, this element is present. It contains the
value that you should use in the Marker
field of a subsequent request to continue listing
origin request policies where you left off.public String getNextMarker()
If there are more items in the list than are in this response, this element is present. It contains the value
that you should use in the Marker
field of a subsequent request to continue listing origin request
policies where you left off.
Marker
field of a subsequent request to continue listing
origin request policies where you left off.public OriginRequestPolicyList withNextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present. It contains the value
that you should use in the Marker
field of a subsequent request to continue listing origin request
policies where you left off.
nextMarker
- If there are more items in the list than are in this response, this element is present. It contains the
value that you should use in the Marker
field of a subsequent request to continue listing
origin request policies where you left off.public void setMaxItems(Integer maxItems)
The maximum number of origin request policies requested.
maxItems
- The maximum number of origin request policies requested.public Integer getMaxItems()
The maximum number of origin request policies requested.
public OriginRequestPolicyList withMaxItems(Integer maxItems)
The maximum number of origin request policies requested.
maxItems
- The maximum number of origin request policies requested.public void setQuantity(Integer quantity)
The total number of origin request policies returned in the response.
quantity
- The total number of origin request policies returned in the response.public Integer getQuantity()
The total number of origin request policies returned in the response.
public OriginRequestPolicyList withQuantity(Integer quantity)
The total number of origin request policies returned in the response.
quantity
- The total number of origin request policies returned in the response.public List<OriginRequestPolicySummary> getItems()
Contains the origin request policies in the list.
public void setItems(Collection<OriginRequestPolicySummary> items)
Contains the origin request policies in the list.
items
- Contains the origin request policies in the list.public OriginRequestPolicyList withItems(OriginRequestPolicySummary... items)
Contains the origin request policies in the list.
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
- Contains the origin request policies in the list.public OriginRequestPolicyList withItems(Collection<OriginRequestPolicySummary> items)
Contains the origin request policies in the list.
items
- Contains the origin request policies in the list.public String toString()
toString
in class Object
Object.toString()
public OriginRequestPolicyList clone()