public class ReportInstanceStatusRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<ReportInstanceStatusRequest>
Contains the parameters for ReportInstanceStatus.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
Descriptive text about the health state of your instance.
|
private java.util.Date |
endTime
The time at which the reported instance health state ended.
|
private SdkInternalList<java.lang.String> |
instances
One or more instances.
|
private SdkInternalList<java.lang.String> |
reasonCodes
One or more reason codes that describes the health state of your
instance.
|
private java.util.Date |
startTime
The time at which the reported instance health state began.
|
private java.lang.String |
status
The status of all instances listed.
|
NOOP
Constructor and Description |
---|
ReportInstanceStatusRequest() |
Modifier and Type | Method and Description |
---|---|
ReportInstanceStatusRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private SdkInternalList<java.lang.String> instances
One or more instances.
private java.lang.String status
The status of all instances listed.
private java.util.Date startTime
The time at which the reported instance health state began.
private java.util.Date endTime
The time at which the reported instance health state ended.
private SdkInternalList<java.lang.String> 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]
private java.lang.String description
Descriptive text about the health state of your instance.
public java.util.List<java.lang.String> getInstances()
One or more instances.
public void setInstances(java.util.Collection<java.lang.String> instances)
One or more instances.
instances
- One or more instances.public ReportInstanceStatusRequest withInstances(java.lang.String... instances)
One or more instances.
NOTE: This method appends the values to the existing list (if
any). Use setInstances(java.util.Collection)
or
withInstances(java.util.Collection)
if you want to override the
existing values.
instances
- One or more instances.public ReportInstanceStatusRequest withInstances(java.util.Collection<java.lang.String> instances)
One or more instances.
instances
- One or more instances.public void setStatus(java.lang.String status)
The status of all instances listed.
status
- The status of all instances listed.ReportStatusType
public java.lang.String getStatus()
The status of all instances listed.
ReportStatusType
public ReportInstanceStatusRequest withStatus(java.lang.String status)
The status of all instances listed.
status
- The status of all instances listed.ReportStatusType
public void setStatus(ReportStatusType status)
The status of all instances listed.
status
- The status of all instances listed.ReportStatusType
public ReportInstanceStatusRequest withStatus(ReportStatusType status)
The status of all instances listed.
status
- The status of all instances listed.ReportStatusType
public void setStartTime(java.util.Date startTime)
The time at which the reported instance health state began.
startTime
- The time at which the reported instance health state began.public java.util.Date getStartTime()
The time at which the reported instance health state began.
public ReportInstanceStatusRequest withStartTime(java.util.Date startTime)
The time at which the reported instance health state began.
startTime
- The time at which the reported instance health state began.public void setEndTime(java.util.Date endTime)
The time at which the reported instance health state ended.
endTime
- The time at which the reported instance health state ended.public java.util.Date getEndTime()
The time at which the reported instance health state ended.
public ReportInstanceStatusRequest withEndTime(java.util.Date endTime)
The time at which the reported instance health state ended.
endTime
- The time at which the reported instance health state ended.public java.util.List<java.lang.String> getReasonCodes()
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]
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]
ReportInstanceReasonCodes
public void setReasonCodes(java.util.Collection<java.lang.String> 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]
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]
ReportInstanceReasonCodes
public ReportInstanceStatusRequest withReasonCodes(java.lang.String... 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]
NOTE: This method appends the values to the existing list (if
any). Use setReasonCodes(java.util.Collection)
or
withReasonCodes(java.util.Collection)
if you want to override
the existing values.
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]
ReportInstanceReasonCodes
public ReportInstanceStatusRequest withReasonCodes(java.util.Collection<java.lang.String> 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]
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]
ReportInstanceReasonCodes
public ReportInstanceStatusRequest withReasonCodes(ReportInstanceReasonCodes... 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]
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]
ReportInstanceReasonCodes
public void setDescription(java.lang.String description)
Descriptive text about the health state of your instance.
description
- Descriptive text about the health state of your instance.public java.lang.String getDescription()
Descriptive text about the health state of your instance.
public ReportInstanceStatusRequest withDescription(java.lang.String description)
Descriptive text about the health state of your instance.
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 boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ReportInstanceStatusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()