@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkflowsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListWorkflowsResult() |
Modifier and Type | Method and Description |
---|---|
ListWorkflowsResult |
clone() |
boolean |
equals(Object obj) |
List<WorkflowListItem> |
getItems()
A list of workflow items.
|
String |
getNextToken()
A pagination token that's included if more results are available.
|
int |
hashCode() |
void |
setItems(Collection<WorkflowListItem> items)
A list of workflow items.
|
void |
setNextToken(String nextToken)
A pagination token that's included if more results are available.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkflowsResult |
withItems(Collection<WorkflowListItem> items)
A list of workflow items.
|
ListWorkflowsResult |
withItems(WorkflowListItem... items)
A list of workflow items.
|
ListWorkflowsResult |
withNextToken(String nextToken)
A pagination token that's included if more results are available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<WorkflowListItem> getItems()
A list of workflow items.
public void setItems(Collection<WorkflowListItem> items)
A list of workflow items.
items
- A list of workflow items.public ListWorkflowsResult withItems(WorkflowListItem... items)
A list of workflow items.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- A list of workflow items.public ListWorkflowsResult withItems(Collection<WorkflowListItem> items)
A list of workflow items.
items
- A list of workflow items.public void setNextToken(String nextToken)
A pagination token that's included if more results are available.
nextToken
- A pagination token that's included if more results are available.public String getNextToken()
A pagination token that's included if more results are available.
public ListWorkflowsResult withNextToken(String nextToken)
A pagination token that's included if more results are available.
nextToken
- A pagination token that's included if more results are available.public String toString()
toString
in class Object
Object.toString()
public ListWorkflowsResult clone()