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 ListStacksRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getNextToken()
A string that identifies the next page of stacks that you want to retrieve.List<String>
getStackStatusFilters()
Stack status to use as a filter.int
hashCode()
void
setNextToken(String nextToken)
A string that identifies the next page of stacks that you want to retrieve.void
setStackStatusFilters(Collection<String> stackStatusFilters)
Stack status to use as a filter.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListStacksRequest
withNextToken(String nextToken)
A string that identifies the next page of stacks that you want to retrieve.ListStacksRequest
withStackStatusFilters(StackStatus... stackStatusFilters)
Stack status to use as a filter.ListStacksRequest
withStackStatusFilters(String... stackStatusFilters)
Stack status to use as a filter.ListStacksRequest
withStackStatusFilters(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
StackStatus
parameter 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
StackStatus
parameter 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
StackStatus
parameter 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 theStackStatus
parameter 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
StackStatus
parameter 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 theStackStatus
parameter 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
StackStatus
parameter 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 theStackStatus
parameter 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
StackStatus
parameter 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 theStackStatus
parameter 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListStacksRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-