Class ClusterSecurityGroupMembership
- java.lang.Object
-
- com.amazonaws.services.redshift.model.ClusterSecurityGroupMembership
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ClusterSecurityGroupMembership extends Object implements Serializable, Cloneable
Describes a cluster security group.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterSecurityGroupMembership()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterSecurityGroupMembership
clone()
boolean
equals(Object obj)
String
getClusterSecurityGroupName()
The name of the cluster security group.String
getStatus()
The status of the cluster security group.int
hashCode()
void
setClusterSecurityGroupName(String clusterSecurityGroupName)
The name of the cluster security group.void
setStatus(String status)
The status of the cluster security group.String
toString()
Returns a string representation of this object; useful for testing and debugging.ClusterSecurityGroupMembership
withClusterSecurityGroupName(String clusterSecurityGroupName)
The name of the cluster security group.ClusterSecurityGroupMembership
withStatus(String status)
The status of the cluster security group.
-
-
-
Method Detail
-
setClusterSecurityGroupName
public void setClusterSecurityGroupName(String clusterSecurityGroupName)
The name of the cluster security group.
- Parameters:
clusterSecurityGroupName
- The name of the cluster security group.
-
getClusterSecurityGroupName
public String getClusterSecurityGroupName()
The name of the cluster security group.
- Returns:
- The name of the cluster security group.
-
withClusterSecurityGroupName
public ClusterSecurityGroupMembership withClusterSecurityGroupName(String clusterSecurityGroupName)
The name of the cluster security group.
- Parameters:
clusterSecurityGroupName
- The name of the cluster security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
The status of the cluster security group.
- Parameters:
status
- The status of the cluster security group.
-
getStatus
public String getStatus()
The status of the cluster security group.
- Returns:
- The status of the cluster security group.
-
withStatus
public ClusterSecurityGroupMembership withStatus(String status)
The status of the cluster security group.
- Parameters:
status
- The status of the cluster security 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 ClusterSecurityGroupMembership clone()
-
-