public class GetConsoleOutputResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of GetConsoleOutput.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
instanceId
The ID of the instance.
|
private java.lang.String |
output
The console output, Base64 encoded.
|
private java.util.Date |
timestamp
The time the output was last updated.
|
Constructor and Description |
---|
GetConsoleOutputResult() |
Modifier and Type | Method and Description |
---|---|
GetConsoleOutputResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDecodedOutput()
The decoded console output.
|
java.lang.String |
getInstanceId()
The ID of the instance.
|
java.lang.String |
getOutput()
The console output, Base64 encoded.
|
java.util.Date |
getTimestamp()
The time the output was last updated.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance.
|
void |
setOutput(java.lang.String output)
The console output, Base64 encoded.
|
void |
setTimestamp(java.util.Date timestamp)
The time the output was last updated.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetConsoleOutputResult |
withInstanceId(java.lang.String instanceId)
The ID of the instance.
|
GetConsoleOutputResult |
withOutput(java.lang.String output)
The console output, Base64 encoded.
|
GetConsoleOutputResult |
withTimestamp(java.util.Date timestamp)
The time the output was last updated.
|
private java.lang.String instanceId
The ID of the instance.
private java.util.Date timestamp
The time the output was last updated.
private java.lang.String output
The console output, Base64 encoded. If using a command line tool, the tools decode the output for you.
public void setInstanceId(java.lang.String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public java.lang.String getInstanceId()
The ID of the instance.
public GetConsoleOutputResult withInstanceId(java.lang.String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setTimestamp(java.util.Date timestamp)
The time the output was last updated.
timestamp
- The time the output was last updated.public java.util.Date getTimestamp()
The time the output was last updated.
public GetConsoleOutputResult withTimestamp(java.util.Date timestamp)
The time the output was last updated.
timestamp
- The time the output was last updated.public void setOutput(java.lang.String output)
The console output, Base64 encoded. If using a command line tool, the tools decode the output for you.
output
- The console output, Base64 encoded. If using a command line tool,
the tools decode the output for you.public java.lang.String getOutput()
The console output, Base64 encoded. If using a command line tool, the tools decode the output for you.
public GetConsoleOutputResult withOutput(java.lang.String output)
The console output, Base64 encoded. If using a command line tool, the tools decode the output for you.
output
- The console output, Base64 encoded. If using a command line tool,
the tools decode the output for you.public java.lang.String getDecodedOutput()
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 GetConsoleOutputResult clone()
clone
in class java.lang.Object