@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCommandInvocationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCommandInvocationsResult() |
Modifier and Type | Method and Description |
---|---|
ListCommandInvocationsResult |
clone() |
boolean |
equals(Object obj) |
List<CommandInvocation> |
getCommandInvocations()
(Optional) A list of all invocations.
|
String |
getNextToken()
(Optional) The token for the next set of items to return.
|
int |
hashCode() |
void |
setCommandInvocations(Collection<CommandInvocation> commandInvocations)
(Optional) A list of all invocations.
|
void |
setNextToken(String nextToken)
(Optional) The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object.
|
ListCommandInvocationsResult |
withCommandInvocations(Collection<CommandInvocation> commandInvocations)
(Optional) A list of all invocations.
|
ListCommandInvocationsResult |
withCommandInvocations(CommandInvocation... commandInvocations)
(Optional) A list of all invocations.
|
ListCommandInvocationsResult |
withNextToken(String nextToken)
(Optional) The token for the next set of items to return.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CommandInvocation> getCommandInvocations()
(Optional) A list of all invocations.
public void setCommandInvocations(Collection<CommandInvocation> commandInvocations)
(Optional) A list of all invocations.
commandInvocations
- (Optional) A list of all invocations.public ListCommandInvocationsResult withCommandInvocations(CommandInvocation... commandInvocations)
(Optional) A list of all invocations.
NOTE: This method appends the values to the existing list (if any). Use
setCommandInvocations(java.util.Collection)
or withCommandInvocations(java.util.Collection)
if
you want to override the existing values.
commandInvocations
- (Optional) A list of all invocations.public ListCommandInvocationsResult withCommandInvocations(Collection<CommandInvocation> commandInvocations)
(Optional) A list of all invocations.
commandInvocations
- (Optional) A list of all invocations.public void setNextToken(String nextToken)
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- (Optional) The token for the next set of items to return. (You received this token from a previous call.)public String getNextToken()
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
public ListCommandInvocationsResult withNextToken(String nextToken)
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- (Optional) The token for the next set of items to return. (You received this token from a previous call.)public String toString()
toString
in class Object
Object.toString()
public ListCommandInvocationsResult clone()