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 GetConsoleOutputResultclone()booleanequals(Object obj)StringgetDecodedOutput()The decoded console output.StringgetInstanceId()The ID of the instance.StringgetOutput()The console output, Base64 encoded.DategetTimestamp()The time the output was last updated.inthashCode()voidsetInstanceId(String instanceId)The ID of the instance.voidsetOutput(String output)The console output, Base64 encoded.voidsetTimestamp(Date timestamp)The time the output was last updated.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetConsoleOutputResultwithInstanceId(String instanceId)The ID of the instance.GetConsoleOutputResultwithOutput(String output)The console output, Base64 encoded.GetConsoleOutputResultwithTimestamp(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetConsoleOutputResult clone()
-
-