Class ReportInstanceStatusRequest

    • Constructor Detail

      • ReportInstanceStatusRequest

        public ReportInstanceStatusRequest()
    • 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​(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) 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:
        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.
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object