Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.amazonaws.services.ec2.model
Class GetConsoleOutputRequest

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

    public class GetConsoleOutputRequest

extends AmazonWebServiceRequest

Container for the parameters to the `GetConsoleOutput operation`.

The GetConsoleOutput operation retrieves 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.

See Also:
  `AmazonEC2.getConsoleOutput(GetConsoleOutputRequest)`

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()` Returns a string representation of this object; useful for testing and debugging.
`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()

  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:
    `Object.toString()`

Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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