@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCachePoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListCachePoliciesRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListCachePoliciesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getMarker()
Use this field when paginating results to indicate where to begin in your list of cache policies.
|
String |
getMaxItems()
The maximum number of cache policies that you want in the response.
|
String |
getType()
A filter to return only the specified kinds of cache policies.
|
int |
hashCode() |
void |
setMarker(String marker)
Use this field when paginating results to indicate where to begin in your list of cache policies.
|
void |
setMaxItems(String maxItems)
The maximum number of cache policies that you want in the response.
|
void |
setType(String type)
A filter to return only the specified kinds of cache policies.
|
String |
toString()
Returns a string representation of this object.
|
ListCachePoliciesRequest |
withMarker(String marker)
Use this field when paginating results to indicate where to begin in your list of cache policies.
|
ListCachePoliciesRequest |
withMaxItems(String maxItems)
The maximum number of cache policies that you want in the response.
|
ListCachePoliciesRequest |
withType(CachePolicyType type)
A filter to return only the specified kinds of cache policies.
|
ListCachePoliciesRequest |
withType(String type)
A filter to return only the specified kinds of cache policies.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setType(String type)
A filter to return only the specified kinds of cache policies. Valid values are:
managed – Returns only the managed policies created by Amazon Web Services.
custom – Returns only the custom policies created in your Amazon Web Services account.
type - A filter to return only the specified kinds of cache policies. Valid values are:
managed – Returns only the managed policies created by Amazon Web Services.
custom – Returns only the custom policies created in your Amazon Web Services account.
CachePolicyTypepublic String getType()
A filter to return only the specified kinds of cache policies. Valid values are:
managed – Returns only the managed policies created by Amazon Web Services.
custom – Returns only the custom policies created in your Amazon Web Services account.
managed – Returns only the managed policies created by Amazon Web Services.
custom – Returns only the custom policies created in your Amazon Web Services account.
CachePolicyTypepublic ListCachePoliciesRequest withType(String type)
A filter to return only the specified kinds of cache policies. Valid values are:
managed – Returns only the managed policies created by Amazon Web Services.
custom – Returns only the custom policies created in your Amazon Web Services account.
type - A filter to return only the specified kinds of cache policies. Valid values are:
managed – Returns only the managed policies created by Amazon Web Services.
custom – Returns only the custom policies created in your Amazon Web Services account.
CachePolicyTypepublic ListCachePoliciesRequest withType(CachePolicyType type)
A filter to return only the specified kinds of cache policies. Valid values are:
managed – Returns only the managed policies created by Amazon Web Services.
custom – Returns only the custom policies created in your Amazon Web Services account.
type - A filter to return only the specified kinds of cache policies. Valid values are:
managed – Returns only the managed policies created by Amazon Web Services.
custom – Returns only the custom policies created in your Amazon Web Services account.
CachePolicyTypepublic void setMarker(String marker)
Use this field when paginating results to indicate where to begin in your list of cache policies. The response
includes cache policies in the list that occur after the marker. To get the next page of the list, set this
field's value to the value of NextMarker from the current page's response.
marker - Use this field when paginating results to indicate where to begin in your list of cache policies. The
response includes cache policies in the list that occur after the marker. To get the next page of the
list, set this field's value to the value of NextMarker from the current page's response.public String getMarker()
Use this field when paginating results to indicate where to begin in your list of cache policies. The response
includes cache policies in the list that occur after the marker. To get the next page of the list, set this
field's value to the value of NextMarker from the current page's response.
NextMarker from the current page's response.public ListCachePoliciesRequest withMarker(String marker)
Use this field when paginating results to indicate where to begin in your list of cache policies. The response
includes cache policies in the list that occur after the marker. To get the next page of the list, set this
field's value to the value of NextMarker from the current page's response.
marker - Use this field when paginating results to indicate where to begin in your list of cache policies. The
response includes cache policies in the list that occur after the marker. To get the next page of the
list, set this field's value to the value of NextMarker from the current page's response.public void setMaxItems(String maxItems)
The maximum number of cache policies that you want in the response.
maxItems - The maximum number of cache policies that you want in the response.public String getMaxItems()
The maximum number of cache policies that you want in the response.
public ListCachePoliciesRequest withMaxItems(String maxItems)
The maximum number of cache policies that you want in the response.
maxItems - The maximum number of cache policies that you want in the response.public String toString()
toString in class ObjectObject.toString()public ListCachePoliciesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()