Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class DescribeClusterSecurityGroupsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.redshift.model.DescribeClusterSecurityGroupsRequest
All Implemented Interfaces:
Serializable

public class DescribeClusterSecurityGroupsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeClusterSecurityGroups operation.

Returns information about Amazon Redshift security groups. If the name of a security group is specified, the response will contain only information about only that security group.

For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Management Guide .

See Also:
AmazonRedshift.describeClusterSecurityGroups(DescribeClusterSecurityGroupsRequest), Serialized Form

Constructor Summary
DescribeClusterSecurityGroupsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getClusterSecurityGroupName()
          The name of a cluster security group for which you are requesting details.
 String getMarker()
          An optional marker returned by a previous DescribeClusterSecurityGroups request to indicate the first security group that the current request will return.
 Integer getMaxRecords()
          The maximum number of records to be included in the response.
 int hashCode()
           
 void setClusterSecurityGroupName(String clusterSecurityGroupName)
          The name of a cluster security group for which you are requesting details.
 void setMarker(String marker)
          An optional marker returned by a previous DescribeClusterSecurityGroups request to indicate the first security group that the current request will return.
 void setMaxRecords(Integer maxRecords)
          The maximum number of records to be included in the response.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeClusterSecurityGroupsRequest withClusterSecurityGroupName(String clusterSecurityGroupName)
          The name of a cluster security group for which you are requesting details.
 DescribeClusterSecurityGroupsRequest withMarker(String marker)
          An optional marker returned by a previous DescribeClusterSecurityGroups request to indicate the first security group that the current request will return.
 DescribeClusterSecurityGroupsRequest withMaxRecords(Integer maxRecords)
          The maximum number of records to be included in the response.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeClusterSecurityGroupsRequest

public DescribeClusterSecurityGroupsRequest()
Method Detail

getClusterSecurityGroupName

public String getClusterSecurityGroupName()
The name of a cluster security group for which you are requesting details. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.

Example: securitygroup1

Returns:
The name of a cluster security group for which you are requesting details. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.

Example: securitygroup1


setClusterSecurityGroupName

public void setClusterSecurityGroupName(String clusterSecurityGroupName)
The name of a cluster security group for which you are requesting details. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.

Example: securitygroup1

Parameters:
clusterSecurityGroupName - The name of a cluster security group for which you are requesting details. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.

Example: securitygroup1


withClusterSecurityGroupName

public DescribeClusterSecurityGroupsRequest withClusterSecurityGroupName(String clusterSecurityGroupName)
The name of a cluster security group for which you are requesting details. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.

Example: securitygroup1

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterSecurityGroupName - The name of a cluster security group for which you are requesting details. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.

Example: securitygroup1

Returns:
A reference to this updated object so that method calls can be chained together.

getMaxRecords

public Integer getMaxRecords()
The maximum number of records to be included in the response. If more records exist than the specified MaxRecords value, a marker is included in the response, which you can use in a subsequent DescribeClusterSecurityGroups request.

Default: 100

Constraints: Value must be at least 20 and no more than 100.

Returns:
The maximum number of records to be included in the response. If more records exist than the specified MaxRecords value, a marker is included in the response, which you can use in a subsequent DescribeClusterSecurityGroups request.

Default: 100

Constraints: Value must be at least 20 and no more than 100.


setMaxRecords

public void setMaxRecords(Integer maxRecords)
The maximum number of records to be included in the response. If more records exist than the specified MaxRecords value, a marker is included in the response, which you can use in a subsequent DescribeClusterSecurityGroups request.

Default: 100

Constraints: Value must be at least 20 and no more than 100.

Parameters:
maxRecords - The maximum number of records to be included in the response. If more records exist than the specified MaxRecords value, a marker is included in the response, which you can use in a subsequent DescribeClusterSecurityGroups request.

Default: 100

Constraints: Value must be at least 20 and no more than 100.


withMaxRecords

public DescribeClusterSecurityGroupsRequest withMaxRecords(Integer maxRecords)
The maximum number of records to be included in the response. If more records exist than the specified MaxRecords value, a marker is included in the response, which you can use in a subsequent DescribeClusterSecurityGroups request.

Default: 100

Constraints: Value must be at least 20 and no more than 100.

Returns a reference to this object so that method calls can be chained together.

Parameters:
maxRecords - The maximum number of records to be included in the response. If more records exist than the specified MaxRecords value, a marker is included in the response, which you can use in a subsequent DescribeClusterSecurityGroups request.

Default: 100

Constraints: Value must be at least 20 and no more than 100.

Returns:
A reference to this updated object so that method calls can be chained together.

getMarker

public String getMarker()
An optional marker returned by a previous DescribeClusterSecurityGroups request to indicate the first security group that the current request will return. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.

Returns:
An optional marker returned by a previous DescribeClusterSecurityGroups request to indicate the first security group that the current request will return. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.

setMarker

public void setMarker(String marker)
An optional marker returned by a previous DescribeClusterSecurityGroups request to indicate the first security group that the current request will return. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.

Parameters:
marker - An optional marker returned by a previous DescribeClusterSecurityGroups request to indicate the first security group that the current request will return. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.

withMarker

public DescribeClusterSecurityGroupsRequest withMarker(String marker)
An optional marker returned by a previous DescribeClusterSecurityGroups request to indicate the first security group that the current request will return. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.

Returns a reference to this object so that method calls can be chained together.

Parameters:
marker - An optional marker returned by a previous DescribeClusterSecurityGroups request to indicate the first security group that the current request will return. You can specify either the Marker parameter or a ClusterSecurityGroupName parameter, but not both.
Returns:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.