Package com.amazonaws.services.ec2.model
Class GetConsoleOutputResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.GetConsoleOutputResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetConsoleOutputResult extends Object implements Serializable, Cloneable
Contains the output of GetConsoleOutput.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetConsoleOutputResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetConsoleOutputResult
clone()
boolean
equals(Object obj)
String
getDecodedOutput()
The decoded console output.String
getInstanceId()
The ID of the instance.String
getOutput()
The console output, Base64 encoded.Date
getTimestamp()
The time the output was last updated.int
hashCode()
void
setInstanceId(String instanceId)
The ID of the instance.void
setOutput(String output)
The console output, Base64 encoded.void
setTimestamp(Date timestamp)
The time the output was last updated.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetConsoleOutputResult
withInstanceId(String instanceId)
The ID of the instance.GetConsoleOutputResult
withOutput(String output)
The console output, Base64 encoded.GetConsoleOutputResult
withTimestamp(Date timestamp)
The time the output was last updated.
-
-
-
Method Detail
-
setInstanceId
public void setInstanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.
-
getInstanceId
public String getInstanceId()
The ID of the instance.
- Returns:
- The ID of the instance.
-
withInstanceId
public GetConsoleOutputResult withInstanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTimestamp
public void setTimestamp(Date timestamp)
The time the output was last updated.
- Parameters:
timestamp
- The time the output was last updated.
-
getTimestamp
public Date getTimestamp()
The time the output was last updated.
- Returns:
- The time the output was last updated.
-
withTimestamp
public GetConsoleOutputResult withTimestamp(Date timestamp)
The time the output was last updated.
- Parameters:
timestamp
- The time the output was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOutput
public void setOutput(String output)
The console output, Base64 encoded. If using a command line tool, the tools decode the output for you.
- Parameters:
output
- The console output, Base64 encoded. If using a command line tool, the tools decode the output for you.
-
getOutput
public String getOutput()
The console output, Base64 encoded. If using a command line tool, the tools decode the output for you.
- Returns:
- The console output, Base64 encoded. If using a command line tool, the tools decode the output for you.
-
withOutput
public GetConsoleOutputResult withOutput(String output)
The console output, Base64 encoded. If using a command line tool, the tools decode the output for you.
- Parameters:
output
- The console output, Base64 encoded. If using a command line tool, the tools decode the output for you.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDecodedOutput
public String getDecodedOutput()
The decoded console output.- Returns:
- The decoded console output.
-
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 GetConsoleOutputResult clone()
-
-