Class ListStacksRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudformation.model.ListStacksRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListStacksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for ListStacks action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListStacksRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListStacksRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetNextToken()A string that identifies the next page of stacks that you want to retrieve.List<String>getStackStatusFilters()Stack status to use as a filter.inthashCode()voidsetNextToken(String nextToken)A string that identifies the next page of stacks that you want to retrieve.voidsetStackStatusFilters(Collection<String> stackStatusFilters)Stack status to use as a filter.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListStacksRequestwithNextToken(String nextToken)A string that identifies the next page of stacks that you want to retrieve.ListStacksRequestwithStackStatusFilters(StackStatus... stackStatusFilters)Stack status to use as a filter.ListStacksRequestwithStackStatusFilters(String... stackStatusFilters)Stack status to use as a filter.ListStacksRequestwithStackStatusFilters(Collection<String> stackStatusFilters)Stack status to use as a filter.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setNextToken
public void setNextToken(String nextToken)
A string that identifies the next page of stacks that you want to retrieve.
- Parameters:
nextToken- A string that identifies the next page of stacks that you want to retrieve.
-
getNextToken
public String getNextToken()
A string that identifies the next page of stacks that you want to retrieve.
- Returns:
- A string that identifies the next page of stacks that you want to retrieve.
-
withNextToken
public ListStacksRequest withNextToken(String nextToken)
A string that identifies the next page of stacks that you want to retrieve.
- Parameters:
nextToken- A string that identifies the next page of stacks that you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getStackStatusFilters
public List<String> getStackStatusFilters()
Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the
StackStatusparameter of the Stack data type.- Returns:
- Stack status to use as a filter. Specify one or more stack status
codes to list only stacks with the specified status codes. For a
complete list of stack status codes, see the
StackStatusparameter of the Stack data type. - See Also:
StackStatus
-
setStackStatusFilters
public void setStackStatusFilters(Collection<String> stackStatusFilters)
Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the
StackStatusparameter of the Stack data type.- Parameters:
stackStatusFilters- Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see theStackStatusparameter of the Stack data type.- See Also:
StackStatus
-
withStackStatusFilters
public ListStacksRequest withStackStatusFilters(String... stackStatusFilters)
Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the
StackStatusparameter of the Stack data type.NOTE: This method appends the values to the existing list (if any). Use
setStackStatusFilters(java.util.Collection)orwithStackStatusFilters(java.util.Collection)if you want to override the existing values.- Parameters:
stackStatusFilters- Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see theStackStatusparameter of the Stack data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StackStatus
-
withStackStatusFilters
public ListStacksRequest withStackStatusFilters(Collection<String> stackStatusFilters)
Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the
StackStatusparameter of the Stack data type.- Parameters:
stackStatusFilters- Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see theStackStatusparameter of the Stack data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StackStatus
-
withStackStatusFilters
public ListStacksRequest withStackStatusFilters(StackStatus... stackStatusFilters)
Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the
StackStatusparameter of the Stack data type.- Parameters:
stackStatusFilters- Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see theStackStatusparameter of the Stack data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StackStatus
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListStacksRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-