public class ReportInstanceStatusRequest extends AmazonWebServiceRequest implements java.io.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.
Use of this action does not change the value returned by DescribeInstanceStatus.
Constructor and Description |
---|
ReportInstanceStatusRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
Descriptive text about the health state of your instance.
|
Request<ReportInstanceStatusRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.util.Date |
getEndTime()
The time at which the reported instance health state ended.
|
java.util.List<java.lang.String> |
getInstances()
One or more instances.
|
java.util.List<java.lang.String> |
getReasonCodes()
One or more reason codes that describes the health state of your
instance.
|
java.util.Date |
getStartTime()
The time at which the reported instance health state began.
|
java.lang.String |
getStatus()
The status of all instances listed.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
Descriptive text about the health state of your instance.
|
void |
setEndTime(java.util.Date endTime)
The time at which the reported instance health state ended.
|
void |
setInstances(java.util.Collection<java.lang.String> instances)
One or more instances.
|
void |
setReasonCodes(java.util.Collection<java.lang.String> reasonCodes)
One or more reason codes that describes the health state of your
instance.
|
void |
setStartTime(java.util.Date startTime)
The time at which the reported instance health state began.
|
void |
setStatus(ReportStatusType status)
The status of all instances listed.
|
void |
setStatus(java.lang.String status)
The status of all instances listed.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReportInstanceStatusRequest |
withDescription(java.lang.String description)
Descriptive text about the health state of your instance.
|
ReportInstanceStatusRequest |
withEndTime(java.util.Date endTime)
The time at which the reported instance health state ended.
|
ReportInstanceStatusRequest |
withInstances(java.util.Collection<java.lang.String> instances)
One or more instances.
|
ReportInstanceStatusRequest |
withInstances(java.lang.String... instances)
One or more instances.
|
ReportInstanceStatusRequest |
withReasonCodes(java.util.Collection<java.lang.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(java.lang.String... reasonCodes)
One or more reason codes that describes the health state of your
instance.
|
ReportInstanceStatusRequest |
withStartTime(java.util.Date startTime)
The time at which the reported instance health state began.
|
ReportInstanceStatusRequest |
withStatus(ReportStatusType status)
The status of all instances listed.
|
ReportInstanceStatusRequest |
withStatus(java.lang.String status)
The status of all instances listed.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.String> getInstances()
public void setInstances(java.util.Collection<java.lang.String> instances)
instances
- One or more instances.public ReportInstanceStatusRequest withInstances(java.lang.String... instances)
Returns a reference to this object so that method calls can be chained together.
instances
- One or more instances.public ReportInstanceStatusRequest withInstances(java.util.Collection<java.lang.String> instances)
Returns a reference to this object so that method calls can be chained together.
instances
- One or more instances.public java.lang.String getStatus()
Constraints:
Allowed Values: ok, impaired
ReportStatusType
public void setStatus(java.lang.String status)
Constraints:
Allowed Values: ok, impaired
status
- The status of all instances listed.ReportStatusType
public ReportInstanceStatusRequest withStatus(java.lang.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 java.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
startTime
- The time at which the reported instance health state began.public ReportInstanceStatusRequest withStartTime(java.util.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 java.util.Date getEndTime()
public void setEndTime(java.util.Date endTime)
endTime
- The time at which the reported instance health state ended.public ReportInstanceStatusRequest withEndTime(java.util.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- Descriptive text about the health state of your instance.public ReportInstanceStatusRequest withDescription(java.lang.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 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.