@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OriginAccessControlList extends Object implements Serializable, Cloneable
A list of CloudFront origin access controls.
Constructor and Description |
---|
OriginAccessControlList() |
Modifier and Type | Method and Description |
---|---|
OriginAccessControlList |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsTruncated()
If there are more items in the list than are in this response, this value is
true . |
List<OriginAccessControlSummary> |
getItems()
Contains the origin access controls in the list.
|
String |
getMarker()
The value of the
Marker field that was provided in the request. |
Integer |
getMaxItems()
The maximum number of origin access controls requested.
|
String |
getNextMarker()
If there are more items in the list than are in this response, this element is present.
|
Integer |
getQuantity()
The number of origin access controls returned in the response.
|
int |
hashCode() |
Boolean |
isTruncated()
If there are more items in the list than are in this response, this value is
true . |
void |
setIsTruncated(Boolean isTruncated)
If there are more items in the list than are in this response, this value is
true . |
void |
setItems(Collection<OriginAccessControlSummary> items)
Contains the origin access controls in the list.
|
void |
setMarker(String marker)
The value of the
Marker field that was provided in the request. |
void |
setMaxItems(Integer maxItems)
The maximum number of origin access controls 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 number of origin access controls returned in the response.
|
String |
toString()
Returns a string representation of this object.
|
OriginAccessControlList |
withIsTruncated(Boolean isTruncated)
If there are more items in the list than are in this response, this value is
true . |
OriginAccessControlList |
withItems(Collection<OriginAccessControlSummary> items)
Contains the origin access controls in the list.
|
OriginAccessControlList |
withItems(OriginAccessControlSummary... items)
Contains the origin access controls in the list.
|
OriginAccessControlList |
withMarker(String marker)
The value of the
Marker field that was provided in the request. |
OriginAccessControlList |
withMaxItems(Integer maxItems)
The maximum number of origin access controls requested.
|
OriginAccessControlList |
withNextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present.
|
OriginAccessControlList |
withQuantity(Integer quantity)
The number of origin access controls returned in the response.
|
public void setMarker(String marker)
The value of the Marker
field that was provided in the request.
marker
- The value of the Marker
field that was provided in the request.public String getMarker()
The value of the Marker
field that was provided in the request.
Marker
field that was provided in the request.public OriginAccessControlList withMarker(String marker)
The value of the Marker
field that was provided in the request.
marker
- The value of the Marker
field that was provided in the request.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 to
use in the Marker
field of another request to continue listing origin access controls.
nextMarker
- If there are more items in the list than are in this response, this element is present. It contains the
value to use in the Marker
field of another request to continue listing origin access
controls.public String getNextMarker()
If there are more items in the list than are in this response, this element is present. It contains the value to
use in the Marker
field of another request to continue listing origin access controls.
Marker
field of another request to continue listing origin access
controls.public OriginAccessControlList withNextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present. It contains the value to
use in the Marker
field of another request to continue listing origin access controls.
nextMarker
- If there are more items in the list than are in this response, this element is present. It contains the
value to use in the Marker
field of another request to continue listing origin access
controls.public void setMaxItems(Integer maxItems)
The maximum number of origin access controls requested.
maxItems
- The maximum number of origin access controls requested.public Integer getMaxItems()
The maximum number of origin access controls requested.
public OriginAccessControlList withMaxItems(Integer maxItems)
The maximum number of origin access controls requested.
maxItems
- The maximum number of origin access controls requested.public void setIsTruncated(Boolean isTruncated)
If there are more items in the list than are in this response, this value is true
.
isTruncated
- If there are more items in the list than are in this response, this value is true
.public Boolean getIsTruncated()
If there are more items in the list than are in this response, this value is true
.
true
.public OriginAccessControlList withIsTruncated(Boolean isTruncated)
If there are more items in the list than are in this response, this value is true
.
isTruncated
- If there are more items in the list than are in this response, this value is true
.public Boolean isTruncated()
If there are more items in the list than are in this response, this value is true
.
true
.public void setQuantity(Integer quantity)
The number of origin access controls returned in the response.
quantity
- The number of origin access controls returned in the response.public Integer getQuantity()
The number of origin access controls returned in the response.
public OriginAccessControlList withQuantity(Integer quantity)
The number of origin access controls returned in the response.
quantity
- The number of origin access controls returned in the response.public List<OriginAccessControlSummary> getItems()
Contains the origin access controls in the list.
public void setItems(Collection<OriginAccessControlSummary> items)
Contains the origin access controls in the list.
items
- Contains the origin access controls in the list.public OriginAccessControlList withItems(OriginAccessControlSummary... items)
Contains the origin access controls 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 access controls in the list.public OriginAccessControlList withItems(Collection<OriginAccessControlSummary> items)
Contains the origin access controls in the list.
items
- Contains the origin access controls in the list.public String toString()
toString
in class Object
Object.toString()
public OriginAccessControlList clone()