@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFlowsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListFlowsResult() |
Modifier and Type | Method and Description |
---|---|
ListFlowsResult |
clone() |
boolean |
equals(Object obj) |
List<ListedFlow> |
getFlows()
A list of flow summaries.
|
String |
getNextToken()
The token that identifies which batch of results that you want to see.
|
int |
hashCode() |
void |
setFlows(Collection<ListedFlow> flows)
A list of flow summaries.
|
void |
setNextToken(String nextToken)
The token that identifies which batch of results that you want to see.
|
String |
toString()
Returns a string representation of this object.
|
ListFlowsResult |
withFlows(Collection<ListedFlow> flows)
A list of flow summaries.
|
ListFlowsResult |
withFlows(ListedFlow... flows)
A list of flow summaries.
|
ListFlowsResult |
withNextToken(String nextToken)
The token that identifies which batch of results that you want to see.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ListedFlow> getFlows()
public void setFlows(Collection<ListedFlow> flows)
flows
- A list of flow summaries.public ListFlowsResult withFlows(ListedFlow... flows)
NOTE: This method appends the values to the existing list (if any). Use
setFlows(java.util.Collection)
or withFlows(java.util.Collection)
if you want to override the
existing values.
flows
- A list of flow summaries.public ListFlowsResult withFlows(Collection<ListedFlow> flows)
flows
- A list of flow summaries.public void setNextToken(String nextToken)
nextToken
- The token that identifies which batch of results that you want to see. For example, you submit a ListFlows
request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken
value. To see the next batch of results, you can submit the ListFlows request a second time and specify
the NextToken value.public String getNextToken()
public ListFlowsResult withNextToken(String nextToken)
nextToken
- The token that identifies which batch of results that you want to see. For example, you submit a ListFlows
request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken
value. To see the next batch of results, you can submit the ListFlows request a second time and specify
the NextToken value.public String toString()
toString
in class Object
Object.toString()
public ListFlowsResult clone()