/* * 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.elasticsearch.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* History of the last 10 Upgrades and Upgrade Eligibility Checks. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpgradeHistory implements Serializable, Cloneable, StructuredPojo { /** ** A string that describes the update briefly *
*/ private String upgradeName; /** ** UTC Timestamp at which the Upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" format. *
*/ private java.util.Date startTimestamp; /** ** The overall status of the update. The status can take one of the following values: *
* A list of UpgradeStepItem
s representing information about each step performed as pard of a
* specific Upgrade or Upgrade Eligibility Check.
*
* A string that describes the update briefly *
* * @param upgradeName * A string that describes the update briefly */ public void setUpgradeName(String upgradeName) { this.upgradeName = upgradeName; } /** ** A string that describes the update briefly *
* * @return A string that describes the update briefly */ public String getUpgradeName() { return this.upgradeName; } /** ** A string that describes the update briefly *
* * @param upgradeName * A string that describes the update briefly * @return Returns a reference to this object so that method calls can be chained together. */ public UpgradeHistory withUpgradeName(String upgradeName) { setUpgradeName(upgradeName); return this; } /** ** UTC Timestamp at which the Upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" format. *
* * @param startTimestamp * UTC Timestamp at which the Upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" format. */ public void setStartTimestamp(java.util.Date startTimestamp) { this.startTimestamp = startTimestamp; } /** ** UTC Timestamp at which the Upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" format. *
* * @return UTC Timestamp at which the Upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" format. */ public java.util.Date getStartTimestamp() { return this.startTimestamp; } /** ** UTC Timestamp at which the Upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" format. *
* * @param startTimestamp * UTC Timestamp at which the Upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" format. * @return Returns a reference to this object so that method calls can be chained together. */ public UpgradeHistory withStartTimestamp(java.util.Date startTimestamp) { setStartTimestamp(startTimestamp); return this; } /** ** The overall status of the update. The status can take one of the following values: *
* The overall status of the update. The status can take one of the following values: *
* The overall status of the update. The status can take one of the following values: *
* The overall status of the update. The status can take one of the following values: *
* A list of UpgradeStepItem
s representing information about each step performed as pard of a
* specific Upgrade or Upgrade Eligibility Check.
*
UpgradeStepItem
s representing information about each step performed as
* pard of a specific Upgrade or Upgrade Eligibility Check.
*/
public java.util.List
* A list of UpgradeStepItem
s representing information about each step performed as pard of a
* specific Upgrade or Upgrade Eligibility Check.
*
UpgradeStepItem
s representing information about each step performed as
* pard of a specific Upgrade or Upgrade Eligibility Check.
*/
public void setStepsList(java.util.Collection
* A list of UpgradeStepItem
s representing information about each step performed as pard of a
* specific Upgrade or Upgrade Eligibility Check.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setStepsList(java.util.Collection)} or {@link #withStepsList(java.util.Collection)} if you want to * override the existing values. *
* * @param stepsList * A list of UpgradeStepItem
s representing information about each step performed as
* pard of a specific Upgrade or Upgrade Eligibility Check.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpgradeHistory withStepsList(UpgradeStepItem... stepsList) {
if (this.stepsList == null) {
setStepsList(new java.util.ArrayList
* A list of UpgradeStepItem
s representing information about each step performed as pard of a
* specific Upgrade or Upgrade Eligibility Check.
*
UpgradeStepItem
s representing information about each step performed as
* pard of a specific Upgrade or Upgrade Eligibility Check.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpgradeHistory withStepsList(java.util.Collection