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:
  • Constructor Details

    • ReportInstanceStatusRequest

      public ReportInstanceStatusRequest()
  • Method Details

    • 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) or withInstances(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:
    • getStatus

      public String getStatus()

      The status of all instances listed.

      Returns:
      The status of all instances listed.
      See Also:
    • 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:
    • setStatus

      public void setStatus(ReportStatusType status)

      The status of all instances listed.

      Parameters:
      status - The status of all instances listed.
      See Also:
    • 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:
    • 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:
    • 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:
    • 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) or withReasonCodes(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:
    • 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:
    • 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:
    • 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 interface DryRunSupportedRequest<ReportInstanceStatusRequest>
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: