public class ReportInstanceStatusRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<ReportInstanceStatusRequest>
ReportInstanceStatus operation
.
Submits feedback about the status of an instance. The instance must be
in the running
state. If your experience with the
instance differs from the instance status returned by
DescribeInstanceStatus, use ReportInstanceStatus to report your
experience with the instance. Amazon EC2 collects this information to
improve the accuracy of status checks.
NOOP
Constructor and Description |
---|
ReportInstanceStatusRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Descriptive text about the health state of your instance.
|
Request<ReportInstanceStatusRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Date |
getEndTime()
The time at which the reported instance health state ended.
|
List<String> |
getInstances()
One or more instances.
|
List<String> |
getReasonCodes()
One or more reason codes that describes the health state of your
instance.
|
Date |
getStartTime()
The time at which the reported instance health state began.
|
String |
getStatus()
The status of all instances listed.
|
int |
hashCode() |
void |
setDescription(String description)
Descriptive text about the health state of your instance.
|
void |
setEndTime(Date endTime)
The time at which the reported instance health state ended.
|
void |
setInstances(Collection<String> instances)
One or more instances.
|
void |
setReasonCodes(Collection<String> reasonCodes)
One or more reason codes that describes the health state of your
instance.
|
void |
setStartTime(Date startTime)
The time at which the reported instance health state began.
|
void |
setStatus(ReportStatusType status)
The status of all instances listed.
|
void |
setStatus(String status)
The status of all instances listed.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReportInstanceStatusRequest |
withDescription(String description)
Descriptive text about the health state of your instance.
|
ReportInstanceStatusRequest |
withEndTime(Date endTime)
The time at which the reported instance health state ended.
|
ReportInstanceStatusRequest |
withInstances(Collection<String> instances)
One or more instances.
|
ReportInstanceStatusRequest |
withInstances(String... instances)
One or more instances.
|
ReportInstanceStatusRequest |
withReasonCodes(Collection<String> reasonCodes)
One or more reason codes that describes the health state of your
instance.
|
ReportInstanceStatusRequest |
withReasonCodes(ReportInstanceReasonCodes... reasonCodes)
One or more reason codes that describes the health state of your
instance.
|
ReportInstanceStatusRequest |
withReasonCodes(String... reasonCodes)
One or more reason codes that describes the health state of your
instance.
|
ReportInstanceStatusRequest |
withStartTime(Date startTime)
The time at which the reported instance health state began.
|
ReportInstanceStatusRequest |
withStatus(ReportStatusType status)
The status of all instances listed.
|
ReportInstanceStatusRequest |
withStatus(String status)
The status of all instances listed.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getInstances()
public void setInstances(Collection<String> instances)
instances
- One or more instances.public ReportInstanceStatusRequest withInstances(String... instances)
Returns a reference to this object so that method calls can be chained together.
instances
- One or more instances.public ReportInstanceStatusRequest withInstances(Collection<String> instances)
Returns a reference to this object so that method calls can be chained together.
instances
- One or more instances.public String getStatus()
Constraints:
Allowed Values: ok, impaired
ReportStatusType
public void setStatus(String status)
Constraints:
Allowed Values: ok, impaired
status
- The status of all instances listed.ReportStatusType
public ReportInstanceStatusRequest withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ok, impaired
status
- The status of all instances listed.ReportStatusType
public void setStatus(ReportStatusType status)
Constraints:
Allowed Values: ok, impaired
status
- The status of all instances listed.ReportStatusType
public ReportInstanceStatusRequest withStatus(ReportStatusType status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ok, impaired
status
- The status of all instances listed.ReportStatusType
public Date getStartTime()
public void setStartTime(Date startTime)
startTime
- The time at which the reported instance health state began.public ReportInstanceStatusRequest withStartTime(Date startTime)
Returns a reference to this object so that method calls can be chained together.
startTime
- The time at which the reported instance health state began.public Date getEndTime()
public void setEndTime(Date endTime)
endTime
- The time at which the reported instance health state ended.public ReportInstanceStatusRequest withEndTime(Date endTime)
Returns a reference to this object so that method calls can be chained together.
endTime
- The time at which the reported instance health state ended.public List<String> getReasonCodes()
instance-stuck-in-state
: My
instance is stuck in a state.
unresponsive
:
My instance is unresponsive.
not-accepting-credentials
: My instance is not
accepting my credentials.
password-not-available
: A password is not
available for my instance.
performance-network
: My instance is experiencing
performance problems which I believe are network related.
performance-instance-store
: My instance is
experiencing performance problems which I believe are related to the
instance stores.
performance-ebs-volume
: My
instance is experiencing performance problems which I believe are
related to an EBS volume.
performance-other
:
My instance is experiencing performance problems.
other
: [explain using the description
parameter]
instance-stuck-in-state
: My
instance is stuck in a state.
unresponsive
:
My instance is unresponsive.
not-accepting-credentials
: My instance is not
accepting my credentials.
password-not-available
: A password is not
available for my instance.
performance-network
: My instance is experiencing
performance problems which I believe are network related.
performance-instance-store
: My instance is
experiencing performance problems which I believe are related to the
instance stores.
performance-ebs-volume
: My
instance is experiencing performance problems which I believe are
related to an EBS volume.
performance-other
:
My instance is experiencing performance problems.
other
: [explain using the description
parameter]
public void setReasonCodes(Collection<String> reasonCodes)
instance-stuck-in-state
: My
instance is stuck in a state.
unresponsive
:
My instance is unresponsive.
not-accepting-credentials
: My instance is not
accepting my credentials.
password-not-available
: A password is not
available for my instance.
performance-network
: My instance is experiencing
performance problems which I believe are network related.
performance-instance-store
: My instance is
experiencing performance problems which I believe are related to the
instance stores.
performance-ebs-volume
: My
instance is experiencing performance problems which I believe are
related to an EBS volume.
performance-other
:
My instance is experiencing performance problems.
other
: [explain using the description
parameter]
reasonCodes
- One or more reason codes that describes the health state of your
instance. instance-stuck-in-state
: My
instance is stuck in a state.
unresponsive
:
My instance is unresponsive.
not-accepting-credentials
: My instance is not
accepting my credentials.
password-not-available
: A password is not
available for my instance.
performance-network
: My instance is experiencing
performance problems which I believe are network related.
performance-instance-store
: My instance is
experiencing performance problems which I believe are related to the
instance stores.
performance-ebs-volume
: My
instance is experiencing performance problems which I believe are
related to an EBS volume.
performance-other
:
My instance is experiencing performance problems.
other
: [explain using the description
parameter]
public ReportInstanceStatusRequest withReasonCodes(String... reasonCodes)
instance-stuck-in-state
: My
instance is stuck in a state.
unresponsive
:
My instance is unresponsive.
not-accepting-credentials
: My instance is not
accepting my credentials.
password-not-available
: A password is not
available for my instance.
performance-network
: My instance is experiencing
performance problems which I believe are network related.
performance-instance-store
: My instance is
experiencing performance problems which I believe are related to the
instance stores.
performance-ebs-volume
: My
instance is experiencing performance problems which I believe are
related to an EBS volume.
performance-other
:
My instance is experiencing performance problems.
other
: [explain using the description
parameter]
Returns a reference to this object so that method calls can be chained together.
reasonCodes
- One or more reason codes that describes the health state of your
instance. instance-stuck-in-state
: My
instance is stuck in a state.
unresponsive
:
My instance is unresponsive.
not-accepting-credentials
: My instance is not
accepting my credentials.
password-not-available
: A password is not
available for my instance.
performance-network
: My instance is experiencing
performance problems which I believe are network related.
performance-instance-store
: My instance is
experiencing performance problems which I believe are related to the
instance stores.
performance-ebs-volume
: My
instance is experiencing performance problems which I believe are
related to an EBS volume.
performance-other
:
My instance is experiencing performance problems.
other
: [explain using the description
parameter]
public ReportInstanceStatusRequest withReasonCodes(Collection<String> reasonCodes)
instance-stuck-in-state
: My
instance is stuck in a state.
unresponsive
:
My instance is unresponsive.
not-accepting-credentials
: My instance is not
accepting my credentials.
password-not-available
: A password is not
available for my instance.
performance-network
: My instance is experiencing
performance problems which I believe are network related.
performance-instance-store
: My instance is
experiencing performance problems which I believe are related to the
instance stores.
performance-ebs-volume
: My
instance is experiencing performance problems which I believe are
related to an EBS volume.
performance-other
:
My instance is experiencing performance problems.
other
: [explain using the description
parameter]
Returns a reference to this object so that method calls can be chained together.
reasonCodes
- One or more reason codes that describes the health state of your
instance. instance-stuck-in-state
: My
instance is stuck in a state.
unresponsive
:
My instance is unresponsive.
not-accepting-credentials
: My instance is not
accepting my credentials.
password-not-available
: A password is not
available for my instance.
performance-network
: My instance is experiencing
performance problems which I believe are network related.
performance-instance-store
: My instance is
experiencing performance problems which I believe are related to the
instance stores.
performance-ebs-volume
: My
instance is experiencing performance problems which I believe are
related to an EBS volume.
performance-other
:
My instance is experiencing performance problems.
other
: [explain using the description
parameter]
public ReportInstanceStatusRequest withReasonCodes(ReportInstanceReasonCodes... reasonCodes)
instance-stuck-in-state
: My
instance is stuck in a state.
unresponsive
:
My instance is unresponsive.
not-accepting-credentials
: My instance is not
accepting my credentials.
password-not-available
: A password is not
available for my instance.
performance-network
: My instance is experiencing
performance problems which I believe are network related.
performance-instance-store
: My instance is
experiencing performance problems which I believe are related to the
instance stores.
performance-ebs-volume
: My
instance is experiencing performance problems which I believe are
related to an EBS volume.
performance-other
:
My instance is experiencing performance problems.
other
: [explain using the description
parameter]
Returns a reference to this object so that method calls can be chained together.
reasonCodes
- One or more reason codes that describes the health state of your
instance. instance-stuck-in-state
: My
instance is stuck in a state.
unresponsive
:
My instance is unresponsive.
not-accepting-credentials
: My instance is not
accepting my credentials.
password-not-available
: A password is not
available for my instance.
performance-network
: My instance is experiencing
performance problems which I believe are network related.
performance-instance-store
: My instance is
experiencing performance problems which I believe are related to the
instance stores.
performance-ebs-volume
: My
instance is experiencing performance problems which I believe are
related to an EBS volume.
performance-other
:
My instance is experiencing performance problems.
other
: [explain using the description
parameter]
public String getDescription()
public void setDescription(String description)
description
- Descriptive text about the health state of your instance.public ReportInstanceStatusRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- Descriptive text about the health state of your instance.public Request<ReportInstanceStatusRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ReportInstanceStatusRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.