Class ClusterParameterGroup

java.lang.Object
com.amazonaws.services.redshift.model.ClusterParameterGroup
All Implemented Interfaces:
Serializable, Cloneable

public class ClusterParameterGroup extends Object implements Serializable, Cloneable

Describes a parameter group.

See Also:
  • Constructor Details

    • ClusterParameterGroup

      public ClusterParameterGroup()
  • Method Details

    • setParameterGroupName

      public void setParameterGroupName(String parameterGroupName)

      The name of the cluster parameter group.

      Parameters:
      parameterGroupName - The name of the cluster parameter group.
    • getParameterGroupName

      public String getParameterGroupName()

      The name of the cluster parameter group.

      Returns:
      The name of the cluster parameter group.
    • withParameterGroupName

      public ClusterParameterGroup withParameterGroupName(String parameterGroupName)

      The name of the cluster parameter group.

      Parameters:
      parameterGroupName - The name of the cluster parameter group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setParameterGroupFamily

      public void setParameterGroupFamily(String parameterGroupFamily)

      The name of the cluster parameter group family that this cluster parameter group is compatible with.

      Parameters:
      parameterGroupFamily - The name of the cluster parameter group family that this cluster parameter group is compatible with.
    • getParameterGroupFamily

      public String getParameterGroupFamily()

      The name of the cluster parameter group family that this cluster parameter group is compatible with.

      Returns:
      The name of the cluster parameter group family that this cluster parameter group is compatible with.
    • withParameterGroupFamily

      public ClusterParameterGroup withParameterGroupFamily(String parameterGroupFamily)

      The name of the cluster parameter group family that this cluster parameter group is compatible with.

      Parameters:
      parameterGroupFamily - The name of the cluster parameter group family that this cluster parameter group is compatible with.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDescription

      public void setDescription(String description)

      The description of the parameter group.

      Parameters:
      description - The description of the parameter group.
    • getDescription

      public String getDescription()

      The description of the parameter group.

      Returns:
      The description of the parameter group.
    • withDescription

      public ClusterParameterGroup withDescription(String description)

      The description of the parameter group.

      Parameters:
      description - The description of the parameter group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getTags

      public List<Tag> getTags()

      The list of tags for the cluster parameter group.

      Returns:
      The list of tags for the cluster parameter group.
    • setTags

      public void setTags(Collection<Tag> tags)

      The list of tags for the cluster parameter group.

      Parameters:
      tags - The list of tags for the cluster parameter group.
    • withTags

      public ClusterParameterGroup withTags(Tag... tags)

      The list of tags for the cluster parameter group.

      NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

      Parameters:
      tags - The list of tags for the cluster parameter group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTags

      public ClusterParameterGroup withTags(Collection<Tag> tags)

      The list of tags for the cluster parameter group.

      Parameters:
      tags - The list of tags for the cluster parameter group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ClusterParameterGroup clone()
      Overrides:
      clone in class Object