com.amazonaws.services.ec2.model
Class GetConsoleOutputRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.GetConsoleOutputRequest

public class GetConsoleOutputRequest
extends AmazonWebServiceRequest

A request to retrieve the console output for the specified instance.

Instance console output is buffered and posted shortly after instance boot, reboot, and termination. Amazon EC2 preserves the most recent 64 KB output which will be available for at least one hour after the most recent post.


Constructor Summary
GetConsoleOutputRequest()
           
 
Method Summary
 String getInstanceId()
          The ID of the instance for which you want console output.
 void setInstanceId(String instanceId)
          The ID of the instance for which you want console output.
 String toString()
           
 GetConsoleOutputRequest withInstanceId(String instanceId)
          The ID of the instance for which you want console output.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetConsoleOutputRequest

public GetConsoleOutputRequest()
Method Detail

getInstanceId

public String getInstanceId()
The ID of the instance for which you want console output.

Returns:
The ID of the instance for which you want console output.

setInstanceId

public void setInstanceId(String instanceId)
The ID of the instance for which you want console output.

Parameters:
instanceId - The ID of the instance for which you want console output.

withInstanceId

public GetConsoleOutputRequest withInstanceId(String instanceId)
The ID of the instance for which you want console output.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceId - The ID of the instance for which you want console output.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.