@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLifecyclePoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListLifecyclePoliciesRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListLifecyclePoliciesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
An optional parameter that specifies the maximum number of results to return.
|
String |
getNextToken()
If your initial
ListLifecyclePolicies operation returns a nextToken, you can include
the returned nextToken in subsequent ListLifecyclePolicies operations, which returns
results in the next page. |
List<String> |
getResources()
Resource filters that policies can apply to.
|
String |
getType()
The type of lifecycle policy.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return.
|
void |
setNextToken(String nextToken)
If your initial
ListLifecyclePolicies operation returns a nextToken, you can include
the returned nextToken in subsequent ListLifecyclePolicies operations, which returns
results in the next page. |
void |
setResources(Collection<String> resources)
Resource filters that policies can apply to.
|
void |
setType(String type)
The type of lifecycle policy.
|
String |
toString()
Returns a string representation of this object.
|
ListLifecyclePoliciesRequest |
withMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return.
|
ListLifecyclePoliciesRequest |
withNextToken(String nextToken)
If your initial
ListLifecyclePolicies operation returns a nextToken, you can include
the returned nextToken in subsequent ListLifecyclePolicies operations, which returns
results in the next page. |
ListLifecyclePoliciesRequest |
withResources(Collection<String> resources)
Resource filters that policies can apply to.
|
ListLifecyclePoliciesRequest |
withResources(String... resources)
Resource filters that policies can apply to.
|
ListLifecyclePoliciesRequest |
withType(LifecyclePolicyType type)
The type of lifecycle policy.
|
ListLifecyclePoliciesRequest |
withType(String type)
The type of lifecycle policy.
|
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 setMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return. You can use use
nextToken to get the next page of results. The default is 10.
maxResults - An optional parameter that specifies the maximum number of results to return. You can use use
nextToken to get the next page of results. The default is 10.public Integer getMaxResults()
An optional parameter that specifies the maximum number of results to return. You can use use
nextToken to get the next page of results. The default is 10.
nextToken to get the next page of results. The default is 10.public ListLifecyclePoliciesRequest withMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return. You can use use
nextToken to get the next page of results. The default is 10.
maxResults - An optional parameter that specifies the maximum number of results to return. You can use use
nextToken to get the next page of results. The default is 10.public void setNextToken(String nextToken)
If your initial ListLifecyclePolicies operation returns a nextToken, you can include
the returned nextToken in subsequent ListLifecyclePolicies operations, which returns
results in the next page.
nextToken - If your initial ListLifecyclePolicies operation returns a nextToken, you can
include the returned nextToken in subsequent ListLifecyclePolicies operations,
which returns results in the next page.public String getNextToken()
If your initial ListLifecyclePolicies operation returns a nextToken, you can include
the returned nextToken in subsequent ListLifecyclePolicies operations, which returns
results in the next page.
ListLifecyclePolicies operation returns a nextToken, you can
include the returned nextToken in subsequent ListLifecyclePolicies operations,
which returns results in the next page.public ListLifecyclePoliciesRequest withNextToken(String nextToken)
If your initial ListLifecyclePolicies operation returns a nextToken, you can include
the returned nextToken in subsequent ListLifecyclePolicies operations, which returns
results in the next page.
nextToken - If your initial ListLifecyclePolicies operation returns a nextToken, you can
include the returned nextToken in subsequent ListLifecyclePolicies operations,
which returns results in the next page.public List<String> getResources()
Resource filters that policies can apply to. Currently, the only supported resource type is index.
index.public void setResources(Collection<String> resources)
Resource filters that policies can apply to. Currently, the only supported resource type is index.
resources - Resource filters that policies can apply to. Currently, the only supported resource type is
index.public ListLifecyclePoliciesRequest withResources(String... resources)
Resource filters that policies can apply to. Currently, the only supported resource type is index.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection) or withResources(java.util.Collection) if you want to
override the existing values.
resources - Resource filters that policies can apply to. Currently, the only supported resource type is
index.public ListLifecyclePoliciesRequest withResources(Collection<String> resources)
Resource filters that policies can apply to. Currently, the only supported resource type is index.
resources - Resource filters that policies can apply to. Currently, the only supported resource type is
index.public void setType(String type)
The type of lifecycle policy.
type - The type of lifecycle policy.LifecyclePolicyTypepublic String getType()
The type of lifecycle policy.
LifecyclePolicyTypepublic ListLifecyclePoliciesRequest withType(String type)
The type of lifecycle policy.
type - The type of lifecycle policy.LifecyclePolicyTypepublic ListLifecyclePoliciesRequest withType(LifecyclePolicyType type)
The type of lifecycle policy.
type - The type of lifecycle policy.LifecyclePolicyTypepublic String toString()
toString in class ObjectObject.toString()public ListLifecyclePoliciesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()