/* * 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.redshift.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* Describes a parameter group. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ClusterParameterGroup implements Serializable, Cloneable { /** ** The name of the cluster parameter group. *
*/ private String parameterGroupName; /** ** The name of the cluster parameter group family that this cluster parameter group is compatible with. *
*/ private String parameterGroupFamily; /** ** The description of the parameter group. *
*/ private String description; /** ** The list of tags for the cluster parameter group. *
*/ private com.amazonaws.internal.SdkInternalList* The name of the cluster parameter group. *
* * @param parameterGroupName * The name of the cluster parameter group. */ public void setParameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; } /** ** The name of the cluster parameter group. *
* * @return The name of the cluster parameter group. */ public String getParameterGroupName() { return this.parameterGroupName; } /** ** The name of the cluster parameter group. *
* * @param parameterGroupName * The name of the cluster parameter group. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterParameterGroup withParameterGroupName(String parameterGroupName) { setParameterGroupName(parameterGroupName); return this; } /** ** The name of the cluster parameter group family that this cluster parameter group is compatible with. *
* * @param parameterGroupFamily * The name of the cluster parameter group family that this cluster parameter group is compatible with. */ public void setParameterGroupFamily(String parameterGroupFamily) { this.parameterGroupFamily = parameterGroupFamily; } /** ** The name of the cluster parameter group family that this cluster parameter group is compatible with. *
* * @return The name of the cluster parameter group family that this cluster parameter group is compatible with. */ public String getParameterGroupFamily() { return this.parameterGroupFamily; } /** ** The name of the cluster parameter group family that this cluster parameter group is compatible with. *
* * @param parameterGroupFamily * The name of the cluster parameter group family that this cluster parameter group is compatible with. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterParameterGroup withParameterGroupFamily(String parameterGroupFamily) { setParameterGroupFamily(parameterGroupFamily); return this; } /** ** The description of the parameter group. *
* * @param description * The description of the parameter group. */ public void setDescription(String description) { this.description = description; } /** ** The description of the parameter group. *
* * @return The description of the parameter group. */ public String getDescription() { return this.description; } /** ** The description of the parameter group. *
* * @param description * The description of the parameter group. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterParameterGroup withDescription(String description) { setDescription(description); return this; } /** ** The list of tags for the cluster parameter group. *
* * @return The list of tags for the cluster parameter group. */ public java.util.List* The list of tags for the cluster parameter group. *
* * @param tags * The list of tags for the cluster parameter group. */ public void setTags(java.util.Collection* The list of tags for the cluster parameter group. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * The list of tags for the cluster parameter group. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterParameterGroup withTags(Tag... tags) { if (this.tags == null) { setTags(new com.amazonaws.internal.SdkInternalList* The list of tags for the cluster parameter group. *
* * @param tags * The list of tags for the cluster parameter group. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterParameterGroup withTags(java.util.Collection