|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.GetConsoleOutputRequest
public class GetConsoleOutputRequest
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.
AmazonEC2.getConsoleOutput(GetConsoleOutputRequest)
Constructor Summary | |
---|---|
GetConsoleOutputRequest()
Default constructor for a new GetConsoleOutputRequest object. |
|
GetConsoleOutputRequest(String instanceId)
Constructs a new GetConsoleOutputRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getInstanceId()
The ID of the instance for which you want console output. |
int |
hashCode()
|
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, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetConsoleOutputRequest()
public GetConsoleOutputRequest(String instanceId)
instanceId
- The ID of the instance for which you want console
output.Method Detail |
---|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The ID of the instance for which you want console output.public GetConsoleOutputRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the instance for which you want console output.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |