public class GetConsoleOutputResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of GetConsoleOutput.
Constructor and Description |
---|
GetConsoleOutputResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId
- The ID of the instance.public GetConsoleOutputResult withInstanceId(java.lang.String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the instance.public java.util.Date getTimestamp()
public void setTimestamp(java.util.Date timestamp)
timestamp
- The time the output was last updated.public GetConsoleOutputResult withTimestamp(java.util.Date timestamp)
Returns a reference to this object so that method calls can be chained together.
timestamp
- The time the output was last updated.public java.lang.String getOutput()
public void setOutput(java.lang.String output)
output
- 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)
Returns a reference to this object so that method calls can be chained together.
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.