public class ListStacksRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The input for ListStacks action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
A string that identifies the next page of stacks that you want to
retrieve.
|
private SdkInternalList<java.lang.String> |
stackStatusFilters
Stack status to use as a filter.
|
NOOP
Constructor and Description |
---|
ListStacksRequest() |
Modifier and Type | Method and Description |
---|---|
ListStacksRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
A string that identifies the next page of stacks that you want to
retrieve.
|
java.util.List<java.lang.String> |
getStackStatusFilters()
Stack status to use as a filter.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
A string that identifies the next page of stacks that you want to
retrieve.
|
void |
setStackStatusFilters(java.util.Collection<java.lang.String> stackStatusFilters)
Stack status to use as a filter.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListStacksRequest |
withNextToken(java.lang.String nextToken)
A string that identifies the next page of stacks that you want to
retrieve.
|
ListStacksRequest |
withStackStatusFilters(java.util.Collection<java.lang.String> stackStatusFilters)
Stack status to use as a filter.
|
ListStacksRequest |
withStackStatusFilters(StackStatus... stackStatusFilters)
Stack status to use as a filter.
|
ListStacksRequest |
withStackStatusFilters(java.lang.String... stackStatusFilters)
Stack status to use as a filter.
|
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
private java.lang.String nextToken
A string that identifies the next page of stacks that you want to retrieve.
private SdkInternalList<java.lang.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.
public void setNextToken(java.lang.String nextToken)
A string that identifies the next page of stacks that you want to retrieve.
nextToken
- A string that identifies the next page of stacks that you want to
retrieve.public java.lang.String getNextToken()
A string that identifies the next page of stacks that you want to retrieve.
public ListStacksRequest withNextToken(java.lang.String nextToken)
A string that identifies the next page of stacks that you want to retrieve.
nextToken
- A string that identifies the next page of stacks that you want to
retrieve.public java.util.List<java.lang.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.
StackStatus
parameter of the Stack data type.StackStatus
public void setStackStatusFilters(java.util.Collection<java.lang.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.
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.StackStatus
public ListStacksRequest withStackStatusFilters(java.lang.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)
or
withStackStatusFilters(java.util.Collection)
if you want to
override the existing values.
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.StackStatus
public ListStacksRequest withStackStatusFilters(java.util.Collection<java.lang.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.
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.StackStatus
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.
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.StackStatus
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListStacksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()