public class ListStacksRequest extends AmazonWebServiceRequest implements Serializable
ListStacks operation
.
Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted).
Constructor and Description |
---|
ListStacksRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getNextToken()
String that identifies the start of the next list of stacks, if there
is one.
|
List<String> |
getStackStatusFilters()
Stack status to use as a filter.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
String that identifies the start of the next list of stacks, if there
is one.
|
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)
String that identifies the start of the next list of stacks, if there
is one.
|
ListStacksRequest |
withStackStatusFilters(Collection<String> stackStatusFilters)
Stack status to use as a filter.
|
ListStacksRequest |
withStackStatusFilters(StackStatus... stackStatusFilters)
Stack status to use as a filter.
|
ListStacksRequest |
withStackStatusFilters(String... stackStatusFilters)
Stack status to use as a filter.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getNextToken()
Default: There is no default value.
Constraints:
Length: 1 - 1024
Default: There is no default value.
public void setNextToken(String nextToken)
Default: There is no default value.
Constraints:
Length: 1 - 1024
nextToken
- String that identifies the start of the next list of stacks, if there
is one. Default: There is no default value.
public ListStacksRequest withNextToken(String nextToken)
Default: There is no default value.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
nextToken
- String that identifies the start of the next list of stacks, if there
is one. Default: There is no default value.
public List<String> getStackStatusFilters()
StackStatus
parameter of the Stack data type.StackStatus
parameter of the Stack data type.public void setStackStatusFilters(Collection<String> stackStatusFilters)
StackStatus
parameter of the Stack data type.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.public ListStacksRequest withStackStatusFilters(String... stackStatusFilters)
StackStatus
parameter of the Stack data type.
Returns a reference to this object so that method calls can be chained together.
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.public ListStacksRequest withStackStatusFilters(Collection<String> stackStatusFilters)
StackStatus
parameter of the Stack data type.
Returns a reference to this object so that method calls can be chained together.
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.public ListStacksRequest withStackStatusFilters(StackStatus... stackStatusFilters)
StackStatus
parameter of the Stack data type.
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.