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:
  • Constructor Details

    • GetConsoleOutputResult

      public GetConsoleOutputResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public GetConsoleOutputResult clone()
      Overrides:
      clone in class Object