Class ReportInstanceStatusRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.ReportInstanceStatusRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<ReportInstanceStatusRequest>
,Serializable
,Cloneable
public class ReportInstanceStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ReportInstanceStatusRequest>
Contains the parameters for ReportInstanceStatus.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ReportInstanceStatusRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportInstanceStatusRequest
clone()
Creates a shallow clone of this request.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(String... instances)
One or more instances.ReportInstanceStatusRequest
withInstances(Collection<String> instances)
One or more instances.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
withReasonCodes(Collection<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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
getInstances
public List<String> getInstances()
One or more instances.
- Returns:
- One or more instances.
-
setInstances
public void setInstances(Collection<String> instances)
One or more instances.
- Parameters:
instances
- One or more instances.
-
withInstances
public ReportInstanceStatusRequest withInstances(String... instances)
One or more instances.
NOTE: This method appends the values to the existing list (if any). Use
setInstances(java.util.Collection)
orwithInstances(java.util.Collection)
if you want to override the existing values.- Parameters:
instances
- One or more instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstances
public ReportInstanceStatusRequest withInstances(Collection<String> instances)
One or more instances.
- Parameters:
instances
- One or more instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
The status of all instances listed.
- Parameters:
status
- The status of all instances listed.- See Also:
ReportStatusType
-
getStatus
public String getStatus()
The status of all instances listed.
- Returns:
- The status of all instances listed.
- See Also:
ReportStatusType
-
withStatus
public ReportInstanceStatusRequest withStatus(String status)
The status of all instances listed.
- Parameters:
status
- The status of all instances listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportStatusType
-
setStatus
public void setStatus(ReportStatusType status)
The status of all instances listed.
- Parameters:
status
- The status of all instances listed.- See Also:
ReportStatusType
-
withStatus
public ReportInstanceStatusRequest withStatus(ReportStatusType status)
The status of all instances listed.
- Parameters:
status
- The status of all instances listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportStatusType
-
setStartTime
public void setStartTime(Date startTime)
The time at which the reported instance health state began.
- Parameters:
startTime
- The time at which the reported instance health state began.
-
getStartTime
public Date getStartTime()
The time at which the reported instance health state began.
- Returns:
- The time at which the reported instance health state began.
-
withStartTime
public ReportInstanceStatusRequest withStartTime(Date startTime)
The time at which the reported instance health state began.
- Parameters:
startTime
- The time at which the reported instance health state began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndTime
public void setEndTime(Date endTime)
The time at which the reported instance health state ended.
- Parameters:
endTime
- The time at which the reported instance health state ended.
-
getEndTime
public Date getEndTime()
The time at which the reported instance health state ended.
- Returns:
- The time at which the reported instance health state ended.
-
withEndTime
public ReportInstanceStatusRequest withEndTime(Date endTime)
The time at which the reported instance health state ended.
- Parameters:
endTime
- The time at which the reported instance health state ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getReasonCodes
public List<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]
- Returns:
- 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]
-
- See Also:
ReportInstanceReasonCodes
-
-
setReasonCodes
public void setReasonCodes(Collection<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]
- Parameters:
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]
-
- See Also:
ReportInstanceReasonCodes
-
-
withReasonCodes
public ReportInstanceStatusRequest withReasonCodes(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)
orwithReasonCodes(java.util.Collection)
if you want to override the existing values.- Parameters:
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]
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportInstanceReasonCodes
-
-
withReasonCodes
public ReportInstanceStatusRequest withReasonCodes(Collection<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]
- Parameters:
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]
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportInstanceReasonCodes
-
-
withReasonCodes
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]
- Parameters:
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]
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportInstanceReasonCodes
-
-
setDescription
public void setDescription(String description)
Descriptive text about the health state of your instance.
- Parameters:
description
- Descriptive text about the health state of your instance.
-
getDescription
public String getDescription()
Descriptive text about the health state of your instance.
- Returns:
- Descriptive text about the health state of your instance.
-
withDescription
public ReportInstanceStatusRequest withDescription(String description)
Descriptive text about the health state of your instance.
- Parameters:
description
- Descriptive text about the health state of your instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
public Request<ReportInstanceStatusRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<ReportInstanceStatusRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ReportInstanceStatusRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-