public class ListCommandInvocationsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<CommandInvocation> |
commandInvocations
(Optional) A list of all invocations.
|
private java.lang.String |
nextToken
(Optional) The token for the next set of items to return.
|
Constructor and Description |
---|
ListCommandInvocationsResult() |
Modifier and Type | Method and Description |
---|---|
ListCommandInvocationsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<CommandInvocation> |
getCommandInvocations()
(Optional) A list of all invocations.
|
java.lang.String |
getNextToken()
(Optional) The token for the next set of items to return.
|
int |
hashCode() |
void |
setCommandInvocations(java.util.Collection<CommandInvocation> commandInvocations)
(Optional) A list of all invocations.
|
void |
setNextToken(java.lang.String nextToken)
(Optional) The token for the next set of items to return.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListCommandInvocationsResult |
withCommandInvocations(java.util.Collection<CommandInvocation> commandInvocations)
(Optional) A list of all invocations.
|
ListCommandInvocationsResult |
withCommandInvocations(CommandInvocation... commandInvocations)
(Optional) A list of all invocations.
|
ListCommandInvocationsResult |
withNextToken(java.lang.String nextToken)
(Optional) The token for the next set of items to return.
|
private SdkInternalList<CommandInvocation> commandInvocations
(Optional) A list of all invocations.
private java.lang.String nextToken
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
public java.util.List<CommandInvocation> getCommandInvocations()
(Optional) A list of all invocations.
public void setCommandInvocations(java.util.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(java.util.Collection<CommandInvocation> commandInvocations)
(Optional) A list of all invocations.
commandInvocations
- (Optional) A list of all invocations.public void setNextToken(java.lang.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 java.lang.String getNextToken()
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
public ListCommandInvocationsResult withNextToken(java.lang.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 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 ListCommandInvocationsResult clone()
clone
in class java.lang.Object