@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) |
String |
getNextToken()
ListWorkflows returns the NextToken parameter in the output. |
List<ListedWorkflow> |
getWorkflows()
Returns the
Arn , WorkflowId , and Description for each workflow. |
int |
hashCode() |
void |
setNextToken(String nextToken)
ListWorkflows returns the NextToken parameter in the output. |
void |
setWorkflows(Collection<ListedWorkflow> workflows)
Returns the
Arn , WorkflowId , and Description for each workflow. |
String |
toString()
Returns a string representation of this object.
|
ListWorkflowsResult |
withNextToken(String nextToken)
ListWorkflows returns the NextToken parameter in the output. |
ListWorkflowsResult |
withWorkflows(Collection<ListedWorkflow> workflows)
Returns the
Arn , WorkflowId , and Description for each workflow. |
ListWorkflowsResult |
withWorkflows(ListedWorkflow... workflows)
Returns the
Arn , WorkflowId , and Description for each workflow. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
ListWorkflows
returns the NextToken
parameter in the output. You can then pass the
NextToken
parameter in a subsequent command to continue listing additional workflows.
nextToken
- ListWorkflows
returns the NextToken
parameter in the output. You can then pass
the NextToken
parameter in a subsequent command to continue listing additional workflows.public String getNextToken()
ListWorkflows
returns the NextToken
parameter in the output. You can then pass the
NextToken
parameter in a subsequent command to continue listing additional workflows.
ListWorkflows
returns the NextToken
parameter in the output. You can then pass
the NextToken
parameter in a subsequent command to continue listing additional workflows.public ListWorkflowsResult withNextToken(String nextToken)
ListWorkflows
returns the NextToken
parameter in the output. You can then pass the
NextToken
parameter in a subsequent command to continue listing additional workflows.
nextToken
- ListWorkflows
returns the NextToken
parameter in the output. You can then pass
the NextToken
parameter in a subsequent command to continue listing additional workflows.public List<ListedWorkflow> getWorkflows()
Returns the Arn
, WorkflowId
, and Description
for each workflow.
Arn
, WorkflowId
, and Description
for each workflow.public void setWorkflows(Collection<ListedWorkflow> workflows)
Returns the Arn
, WorkflowId
, and Description
for each workflow.
workflows
- Returns the Arn
, WorkflowId
, and Description
for each workflow.public ListWorkflowsResult withWorkflows(ListedWorkflow... workflows)
Returns the Arn
, WorkflowId
, and Description
for each workflow.
NOTE: This method appends the values to the existing list (if any). Use
setWorkflows(java.util.Collection)
or withWorkflows(java.util.Collection)
if you want to
override the existing values.
workflows
- Returns the Arn
, WorkflowId
, and Description
for each workflow.public ListWorkflowsResult withWorkflows(Collection<ListedWorkflow> workflows)
Returns the Arn
, WorkflowId
, and Description
for each workflow.
workflows
- Returns the Arn
, WorkflowId
, and Description
for each workflow.public String toString()
toString
in class Object
Object.toString()
public ListWorkflowsResult clone()