Class ListCommandInvocationsResult
- java.lang.Object
-
- com.amazonaws.services.simplesystemsmanagement.model.ListCommandInvocationsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListCommandInvocationsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListCommandInvocationsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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; useful for testing and debugging.ListCommandInvocationsResult
withCommandInvocations(CommandInvocation... commandInvocations)
(Optional) A list of all invocations.ListCommandInvocationsResult
withCommandInvocations(Collection<CommandInvocation> commandInvocations)
(Optional) A list of all invocations.ListCommandInvocationsResult
withNextToken(String nextToken)
(Optional) The token for the next set of items to return.
-
-
-
Method Detail
-
getCommandInvocations
public List<CommandInvocation> getCommandInvocations()
(Optional) A list of all invocations.
- Returns:
- (Optional) A list of all invocations.
-
setCommandInvocations
public void setCommandInvocations(Collection<CommandInvocation> commandInvocations)
(Optional) A list of all invocations.
- Parameters:
commandInvocations
- (Optional) A list of all invocations.
-
withCommandInvocations
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)
orwithCommandInvocations(java.util.Collection)
if you want to override the existing values.- Parameters:
commandInvocations
- (Optional) A list of all invocations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCommandInvocations
public ListCommandInvocationsResult withCommandInvocations(Collection<CommandInvocation> commandInvocations)
(Optional) A list of all invocations.
- Parameters:
commandInvocations
- (Optional) A list of all invocations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- (Optional) The token for the next set of items to return. (You received this token from a previous call.)
-
getNextToken
public String getNextToken()
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
- Returns:
- (Optional) The token for the next set of items to return. (You received this token from a previous call.)
-
withNextToken
public ListCommandInvocationsResult withNextToken(String nextToken)
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- (Optional) The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListCommandInvocationsResult clone()
-
-