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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterParameterGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterParameterGroupclone()booleanequals(Object obj)StringgetDescription()The description of the parameter group.StringgetParameterGroupFamily()The name of the cluster parameter group family that this cluster parameter group is compatible with.StringgetParameterGroupName()The name of the cluster parameter group.List<Tag>getTags()The list of tags for the cluster parameter group.inthashCode()voidsetDescription(String description)The description of the parameter group.voidsetParameterGroupFamily(String parameterGroupFamily)The name of the cluster parameter group family that this cluster parameter group is compatible with.voidsetParameterGroupName(String parameterGroupName)The name of the cluster parameter group.voidsetTags(Collection<Tag> tags)The list of tags for the cluster parameter group.StringtoString()Returns a string representation of this object; useful for testing and debugging.ClusterParameterGroupwithDescription(String description)The description of the parameter group.ClusterParameterGroupwithParameterGroupFamily(String parameterGroupFamily)The name of the cluster parameter group family that this cluster parameter group is compatible with.ClusterParameterGroupwithParameterGroupName(String parameterGroupName)The name of the cluster parameter group.ClusterParameterGroupwithTags(Tag... tags)The list of tags for the cluster parameter group.ClusterParameterGroupwithTags(Collection<Tag> tags)The list of tags for the cluster parameter group.
-
-
-
Method Detail
-
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)orwithTags(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ClusterParameterGroup clone()
-
-