/*
* Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.ec2.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceRequest;
import com.amazonaws.Request;
import com.amazonaws.services.ec2.model.transform.ReportInstanceStatusRequestMarshaller;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class ReportInstanceStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable,
DryRunSupportedRequest
* Descriptive text about the health state of your instance.
*
* The time at which the reported instance health state ended.
*
* The instances.
*
* The reason codes that describe the health state of your instance.
*
*
*
*
*
*
*
*
*
*
* The time at which the reported instance health state began.
*
* The status of all instances listed.
*
* Descriptive text about the health state of your instance.
*
* Descriptive text about the health state of your instance.
*
* Descriptive text about the health state of your instance.
*
* The time at which the reported instance health state ended.
*
* The time at which the reported instance health state ended.
*
* The time at which the reported instance health state ended.
*
* The instances.
*
* The instances.
*
* The instances.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setInstances(java.util.Collection)} or {@link #withInstances(java.util.Collection)} if you want to
* override the existing values.
*
* The instances.
*
* The reason codes that describe the health state of your instance.
*
*
*
*
*
*
*
*
*
*
*
*/
private com.amazonaws.internal.SdkInternalListinstance-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 that I believe are network
* related.
* performance-instance-store
: My instance is experiencing performance problems that I believe are
* related to the instance stores.
* performance-ebs-volume
: My instance is experiencing performance problems that I believe are related
* to an EBS volume.
* performance-other
: My instance is experiencing performance problems.
* other
: [explain using the description parameter]
*
*
*
* @return The reason codes that describe 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 that I believe are network
* related.
* performance-instance-store
: My instance is experiencing performance problems that I believe are
* related to the instance stores.
* performance-ebs-volume
: My instance is experiencing performance problems that 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 that I believe are
* network related.
*
* performance-instance-store
: My instance is experiencing performance problems that I believe
* are related to the instance stores.
*
* performance-ebs-volume
: My instance is experiencing performance problems that I believe are
* related to an EBS volume.
*
* performance-other
: My instance is experiencing performance problems.
*
* other
: [explain using the description parameter]
*
* The reason codes that describe 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 that I believe are network
* related.
*
* performance-instance-store
: My instance is experiencing performance problems that I believe are
* related to the instance stores.
*
* performance-ebs-volume
: My instance is experiencing performance problems that 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 that I believe are
* network related.
*
* performance-instance-store
: My instance is experiencing performance problems that I believe
* are related to the instance stores.
*
* performance-ebs-volume
: My instance is experiencing performance problems that I believe are
* related to an EBS volume.
*
* performance-other
: My instance is experiencing performance problems.
*
* other
: [explain using the description parameter]
*
* The reason codes that describe 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 that I believe are network
* related.
*
* performance-instance-store
: My instance is experiencing performance problems that I believe are
* related to the instance stores.
*
* performance-ebs-volume
: My instance is experiencing performance problems that 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 * {@link #setReasonCodes(java.util.Collection)} or {@link #withReasonCodes(java.util.Collection)} if you want to * override the existing values. *
* * @param reasonCodes * The reason codes that describe 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 that I believe are
* network related.
*
* performance-instance-store
: My instance is experiencing performance problems that I believe
* are related to the instance stores.
*
* performance-ebs-volume
: My instance is experiencing performance problems that I believe are
* related to an EBS volume.
*
* performance-other
: My instance is experiencing performance problems.
*
* other
: [explain using the description parameter]
*
* The reason codes that describe 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 that I believe are network
* related.
*
* performance-instance-store
: My instance is experiencing performance problems that I believe are
* related to the instance stores.
*
* performance-ebs-volume
: My instance is experiencing performance problems that 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 that I believe are
* network related.
*
* performance-instance-store
: My instance is experiencing performance problems that I believe
* are related to the instance stores.
*
* performance-ebs-volume
: My instance is experiencing performance problems that I believe are
* related to an EBS volume.
*
* performance-other
: My instance is experiencing performance problems.
*
* other
: [explain using the description parameter]
*
* The reason codes that describe 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 that I believe are network
* related.
*
* performance-instance-store
: My instance is experiencing performance problems that I believe are
* related to the instance stores.
*
* performance-ebs-volume
: My instance is experiencing performance problems that 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 that I believe are
* network related.
*
* performance-instance-store
: My instance is experiencing performance problems that I believe
* are related to the instance stores.
*
* performance-ebs-volume
: My instance is experiencing performance problems that I believe are
* related to an EBS volume.
*
* performance-other
: My instance is experiencing performance problems.
*
* other
: [explain using the description parameter]
*
* The time at which the reported instance health state began. *
* * @param startTime * The time at which the reported instance health state began. */ public void setStartTime(java.util.Date startTime) { this.startTime = startTime; } /** ** The time at which the reported instance health state began. *
* * @return The time at which the reported instance health state began. */ public java.util.Date getStartTime() { return this.startTime; } /** ** The time at which the reported instance health state began. *
* * @param startTime * The time at which the reported instance health state began. * @return Returns a reference to this object so that method calls can be chained together. */ public ReportInstanceStatusRequest withStartTime(java.util.Date startTime) { setStartTime(startTime); return this; } /** ** The status of all instances listed. *
* * @param status * The status of all instances listed. * @see ReportStatusType */ public void setStatus(String status) { this.status = status; } /** ** The status of all instances listed. *
* * @return The status of all instances listed. * @see ReportStatusType */ public String getStatus() { return this.status; } /** ** The status of all instances listed. *
* * @param status * The status of all instances listed. * @return Returns a reference to this object so that method calls can be chained together. * @see ReportStatusType */ public ReportInstanceStatusRequest withStatus(String status) { setStatus(status); return this; } /** ** The status of all instances listed. *
* * @param status * The status of all instances listed. * @see ReportStatusType */ public void setStatus(ReportStatusType status) { withStatus(status); } /** ** The status of all instances listed. *
* * @param status * The status of all instances listed. * @return Returns a reference to this object so that method calls can be chained together. * @see ReportStatusType */ public ReportInstanceStatusRequest withStatus(ReportStatusType status) { this.status = status.toString(); return this; } /** * This method is intended for internal use only. Returns the marshaled request configured with additional * parameters to enable operation dry-run. */ @Override public Request