Class DescribeClusterSecurityGroupsResult
- java.lang.Object
-
- com.amazonaws.services.redshift.model.DescribeClusterSecurityGroupsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeClusterSecurityGroupsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeClusterSecurityGroupsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeClusterSecurityGroupsResult
clone()
boolean
equals(Object obj)
List<ClusterSecurityGroup>
getClusterSecurityGroups()
A list of ClusterSecurityGroup instances.String
getMarker()
A value that indicates the starting point for the next set of response records in a subsequent request.int
hashCode()
void
setClusterSecurityGroups(Collection<ClusterSecurityGroup> clusterSecurityGroups)
A list of ClusterSecurityGroup instances.void
setMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeClusterSecurityGroupsResult
withClusterSecurityGroups(ClusterSecurityGroup... clusterSecurityGroups)
A list of ClusterSecurityGroup instances.DescribeClusterSecurityGroupsResult
withClusterSecurityGroups(Collection<ClusterSecurityGroup> clusterSecurityGroups)
A list of ClusterSecurityGroup instances.DescribeClusterSecurityGroupsResult
withMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request.
-
-
-
Method Detail
-
setMarker
public void setMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.- Parameters:
marker
- A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in theMarker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
-
getMarker
public String getMarker()
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.- Returns:
- A value that indicates the starting point for the next set of
response records in a subsequent request. If a value is returned
in a response, you can retrieve the next set of records by
providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.
-
withMarker
public DescribeClusterSecurityGroupsResult withMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Marker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.- Parameters:
marker
- A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in theMarker
parameter and retrying the command. If theMarker
field is empty, all response records have been retrieved for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getClusterSecurityGroups
public List<ClusterSecurityGroup> getClusterSecurityGroups()
A list of ClusterSecurityGroup instances.
- Returns:
- A list of ClusterSecurityGroup instances.
-
setClusterSecurityGroups
public void setClusterSecurityGroups(Collection<ClusterSecurityGroup> clusterSecurityGroups)
A list of ClusterSecurityGroup instances.
- Parameters:
clusterSecurityGroups
- A list of ClusterSecurityGroup instances.
-
withClusterSecurityGroups
public DescribeClusterSecurityGroupsResult withClusterSecurityGroups(ClusterSecurityGroup... clusterSecurityGroups)
A list of ClusterSecurityGroup instances.
NOTE: This method appends the values to the existing list (if any). Use
setClusterSecurityGroups(java.util.Collection)
orwithClusterSecurityGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
clusterSecurityGroups
- A list of ClusterSecurityGroup instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withClusterSecurityGroups
public DescribeClusterSecurityGroupsResult withClusterSecurityGroups(Collection<ClusterSecurityGroup> clusterSecurityGroups)
A list of ClusterSecurityGroup instances.
- Parameters:
clusterSecurityGroups
- A list of ClusterSecurityGroup instances.- 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 DescribeClusterSecurityGroupsResult clone()
-
-