/* * 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.dax.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The status of a parameter group. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ParameterGroupStatus implements Serializable, Cloneable, StructuredPojo { /** ** The name of the parameter group. *
*/ private String parameterGroupName; /** ** The status of parameter updates. *
*/ private String parameterApplyStatus; /** ** The node IDs of one or more nodes to be rebooted. *
*/ private java.util.List* The name of the parameter group. *
* * @param parameterGroupName * The name of the parameter group. */ public void setParameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; } /** ** The name of the parameter group. *
* * @return The name of the parameter group. */ public String getParameterGroupName() { return this.parameterGroupName; } /** ** The name of the parameter group. *
* * @param parameterGroupName * The name of the parameter group. * @return Returns a reference to this object so that method calls can be chained together. */ public ParameterGroupStatus withParameterGroupName(String parameterGroupName) { setParameterGroupName(parameterGroupName); return this; } /** ** The status of parameter updates. *
* * @param parameterApplyStatus * The status of parameter updates. */ public void setParameterApplyStatus(String parameterApplyStatus) { this.parameterApplyStatus = parameterApplyStatus; } /** ** The status of parameter updates. *
* * @return The status of parameter updates. */ public String getParameterApplyStatus() { return this.parameterApplyStatus; } /** ** The status of parameter updates. *
* * @param parameterApplyStatus * The status of parameter updates. * @return Returns a reference to this object so that method calls can be chained together. */ public ParameterGroupStatus withParameterApplyStatus(String parameterApplyStatus) { setParameterApplyStatus(parameterApplyStatus); return this; } /** ** The node IDs of one or more nodes to be rebooted. *
* * @return The node IDs of one or more nodes to be rebooted. */ public java.util.List* The node IDs of one or more nodes to be rebooted. *
* * @param nodeIdsToReboot * The node IDs of one or more nodes to be rebooted. */ public void setNodeIdsToReboot(java.util.Collection* The node IDs of one or more nodes to be rebooted. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setNodeIdsToReboot(java.util.Collection)} or {@link #withNodeIdsToReboot(java.util.Collection)} if you * want to override the existing values. *
* * @param nodeIdsToReboot * The node IDs of one or more nodes to be rebooted. * @return Returns a reference to this object so that method calls can be chained together. */ public ParameterGroupStatus withNodeIdsToReboot(String... nodeIdsToReboot) { if (this.nodeIdsToReboot == null) { setNodeIdsToReboot(new java.util.ArrayList* The node IDs of one or more nodes to be rebooted. *
* * @param nodeIdsToReboot * The node IDs of one or more nodes to be rebooted. * @return Returns a reference to this object so that method calls can be chained together. */ public ParameterGroupStatus withNodeIdsToReboot(java.util.Collection