public class GetConsoleScreenshotRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<GetConsoleScreenshotRequest>
GetConsoleScreenshot operation
.
Retrieve a JPG-format screenshot of a running instance to help with troubleshooting.
The returned content is base64-encoded.
Constructor and Description |
---|
GetConsoleScreenshotRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Request<GetConsoleScreenshotRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getInstanceId()
The ID of the instance.
|
java.lang.Boolean |
getWakeUp()
When set to
true , acts as keystroke input and wakes up an
instance that's in standby or "sleep" mode. |
int |
hashCode() |
java.lang.Boolean |
isWakeUp()
When set to
true , acts as keystroke input and wakes up an
instance that's in standby or "sleep" mode. |
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance.
|
void |
setWakeUp(java.lang.Boolean wakeUp)
When set to
true , acts as keystroke input and wakes up an
instance that's in standby or "sleep" mode. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetConsoleScreenshotRequest |
withInstanceId(java.lang.String instanceId)
The ID of the instance.
|
GetConsoleScreenshotRequest |
withWakeUp(java.lang.Boolean wakeUp)
When set to
true , acts as keystroke input and wakes up an
instance that's in standby or "sleep" mode. |
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId
- The ID of the instance.public GetConsoleScreenshotRequest withInstanceId(java.lang.String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the instance.public java.lang.Boolean isWakeUp()
true
, acts as keystroke input and wakes up an
instance that's in standby or "sleep" mode.true
, acts as keystroke input and wakes up an
instance that's in standby or "sleep" mode.public void setWakeUp(java.lang.Boolean wakeUp)
true
, acts as keystroke input and wakes up an
instance that's in standby or "sleep" mode.wakeUp
- When set to true
, acts as keystroke input and wakes up an
instance that's in standby or "sleep" mode.public GetConsoleScreenshotRequest withWakeUp(java.lang.Boolean wakeUp)
true
, acts as keystroke input and wakes up an
instance that's in standby or "sleep" mode.
Returns a reference to this object so that method calls can be chained together.
wakeUp
- When set to true
, acts as keystroke input and wakes up an
instance that's in standby or "sleep" mode.public java.lang.Boolean getWakeUp()
true
, acts as keystroke input and wakes up an
instance that's in standby or "sleep" mode.true
, acts as keystroke input and wakes up an
instance that's in standby or "sleep" mode.public Request<GetConsoleScreenshotRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<GetConsoleScreenshotRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.