/* * 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.opensearch.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Information about the progress of a pre-upgrade dry run analysis. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DryRunProgressStatus implements Serializable, Cloneable, StructuredPojo { /** ** The unique identifier of the dry run. *
*/ private String dryRunId; /** ** The current status of the dry run. *
*/ private String dryRunStatus; /** ** The timestamp when the dry run was initiated. *
*/ private String creationDate; /** ** The timestamp when the dry run was last updated. *
*/ private String updateDate; /** ** Any validation failures that occurred as a result of the dry run. *
*/ private java.util.List* The unique identifier of the dry run. *
* * @param dryRunId * The unique identifier of the dry run. */ public void setDryRunId(String dryRunId) { this.dryRunId = dryRunId; } /** ** The unique identifier of the dry run. *
* * @return The unique identifier of the dry run. */ public String getDryRunId() { return this.dryRunId; } /** ** The unique identifier of the dry run. *
* * @param dryRunId * The unique identifier of the dry run. * @return Returns a reference to this object so that method calls can be chained together. */ public DryRunProgressStatus withDryRunId(String dryRunId) { setDryRunId(dryRunId); return this; } /** ** The current status of the dry run. *
* * @param dryRunStatus * The current status of the dry run. */ public void setDryRunStatus(String dryRunStatus) { this.dryRunStatus = dryRunStatus; } /** ** The current status of the dry run. *
* * @return The current status of the dry run. */ public String getDryRunStatus() { return this.dryRunStatus; } /** ** The current status of the dry run. *
* * @param dryRunStatus * The current status of the dry run. * @return Returns a reference to this object so that method calls can be chained together. */ public DryRunProgressStatus withDryRunStatus(String dryRunStatus) { setDryRunStatus(dryRunStatus); return this; } /** ** The timestamp when the dry run was initiated. *
* * @param creationDate * The timestamp when the dry run was initiated. */ public void setCreationDate(String creationDate) { this.creationDate = creationDate; } /** ** The timestamp when the dry run was initiated. *
* * @return The timestamp when the dry run was initiated. */ public String getCreationDate() { return this.creationDate; } /** ** The timestamp when the dry run was initiated. *
* * @param creationDate * The timestamp when the dry run was initiated. * @return Returns a reference to this object so that method calls can be chained together. */ public DryRunProgressStatus withCreationDate(String creationDate) { setCreationDate(creationDate); return this; } /** ** The timestamp when the dry run was last updated. *
* * @param updateDate * The timestamp when the dry run was last updated. */ public void setUpdateDate(String updateDate) { this.updateDate = updateDate; } /** ** The timestamp when the dry run was last updated. *
* * @return The timestamp when the dry run was last updated. */ public String getUpdateDate() { return this.updateDate; } /** ** The timestamp when the dry run was last updated. *
* * @param updateDate * The timestamp when the dry run was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public DryRunProgressStatus withUpdateDate(String updateDate) { setUpdateDate(updateDate); return this; } /** ** Any validation failures that occurred as a result of the dry run. *
* * @return Any validation failures that occurred as a result of the dry run. */ public java.util.List* Any validation failures that occurred as a result of the dry run. *
* * @param validationFailures * Any validation failures that occurred as a result of the dry run. */ public void setValidationFailures(java.util.Collection* Any validation failures that occurred as a result of the dry run. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setValidationFailures(java.util.Collection)} or {@link #withValidationFailures(java.util.Collection)} if * you want to override the existing values. *
* * @param validationFailures * Any validation failures that occurred as a result of the dry run. * @return Returns a reference to this object so that method calls can be chained together. */ public DryRunProgressStatus withValidationFailures(ValidationFailure... validationFailures) { if (this.validationFailures == null) { setValidationFailures(new java.util.ArrayList* Any validation failures that occurred as a result of the dry run. *
* * @param validationFailures * Any validation failures that occurred as a result of the dry run. * @return Returns a reference to this object so that method calls can be chained together. */ public DryRunProgressStatus withValidationFailures(java.util.Collection