public class SendCommandResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SendCommandResult() |
Modifier and Type | Method and Description |
---|---|
SendCommandResult |
clone() |
boolean |
equals(Object obj) |
Command |
getCommand()
The request as it was received by SSM.
|
int |
hashCode() |
void |
setCommand(Command command)
The request as it was received by SSM.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SendCommandResult |
withCommand(Command command)
The request as it was received by SSM.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCommand(Command command)
The request as it was received by SSM. Also provides the command ID which can be used future references to this request.
command
- The request as it was received by SSM. Also provides the command ID which can be used future references to
this request.public Command getCommand()
The request as it was received by SSM. Also provides the command ID which can be used future references to this request.
public SendCommandResult withCommand(Command command)
The request as it was received by SSM. Also provides the command ID which can be used future references to this request.
command
- The request as it was received by SSM. Also provides the command ID which can be used future references to
this request.public String toString()
toString
in class Object
Object.toString()
public SendCommandResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.