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 ClusterParameterGroup
clone()
boolean
equals(Object obj)
String
getDescription()
The description of the parameter group.String
getParameterGroupFamily()
The name of the cluster parameter group family that this cluster parameter group is compatible with.String
getParameterGroupName()
The name of the cluster parameter group.List<Tag>
getTags()
The list of tags for the cluster parameter group.int
hashCode()
void
setDescription(String description)
The description of the parameter group.void
setParameterGroupFamily(String parameterGroupFamily)
The name of the cluster parameter group family that this cluster parameter group is compatible with.void
setParameterGroupName(String parameterGroupName)
The name of the cluster parameter group.void
setTags(Collection<Tag> tags)
The list of tags for the cluster parameter group.String
toString()
Returns a string representation of this object; useful for testing and debugging.ClusterParameterGroup
withDescription(String description)
The description of the parameter group.ClusterParameterGroup
withParameterGroupFamily(String parameterGroupFamily)
The name of the cluster parameter group family that this cluster parameter group is compatible with.ClusterParameterGroup
withParameterGroupName(String parameterGroupName)
The name of the cluster parameter group.ClusterParameterGroup
withTags(Tag... tags)
The list of tags for the cluster parameter group.ClusterParameterGroup
withTags(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ClusterParameterGroup clone()
-
-