Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class DescribeReservedNodesRequest

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

public class DescribeReservedNodesRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeReservedNodes operation.

Returns the descriptions of the reserved nodes.

See Also:
AmazonRedshift.describeReservedNodes(DescribeReservedNodesRequest), Serialized Form

Constructor Summary
DescribeReservedNodesRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getMarker()
          An optional marker returned by a previous DescribeReservedNodes request to indicate the first parameter group that the current request will return.
 Integer getMaxRecords()
          The maximum number of records to include in the response.
 String getReservedNodeId()
          Identifier for the node reservation.
 int hashCode()
           
 void setMarker(String marker)
          An optional marker returned by a previous DescribeReservedNodes request to indicate the first parameter group that the current request will return.
 void setMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 void setReservedNodeId(String reservedNodeId)
          Identifier for the node reservation.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeReservedNodesRequest withMarker(String marker)
          An optional marker returned by a previous DescribeReservedNodes request to indicate the first parameter group that the current request will return.
 DescribeReservedNodesRequest withMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 DescribeReservedNodesRequest withReservedNodeId(String reservedNodeId)
          Identifier for the node reservation.
 
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

DescribeReservedNodesRequest

public DescribeReservedNodesRequest()
Method Detail

getReservedNodeId

public String getReservedNodeId()
Identifier for the node reservation.

Returns:
Identifier for the node reservation.

setReservedNodeId

public void setReservedNodeId(String reservedNodeId)
Identifier for the node reservation.

Parameters:
reservedNodeId - Identifier for the node reservation.

withReservedNodeId

public DescribeReservedNodesRequest withReservedNodeId(String reservedNodeId)
Identifier for the node reservation.

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

Parameters:
reservedNodeId - Identifier for the node reservation.
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 include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100.

Returns:
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100.


setMaxRecords

public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100.

Parameters:
maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100.


withMaxRecords

public DescribeReservedNodesRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 100.

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

Parameters:
maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results may be retrieved.

Default: 100

Constraints: minimum 20, maximum 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 DescribeReservedNodes request to indicate the first parameter group that the current request will return.

Returns:
An optional marker returned by a previous DescribeReservedNodes request to indicate the first parameter group that the current request will return.

setMarker

public void setMarker(String marker)
An optional marker returned by a previous DescribeReservedNodes request to indicate the first parameter group that the current request will return.

Parameters:
marker - An optional marker returned by a previous DescribeReservedNodes request to indicate the first parameter group that the current request will return.

withMarker

public DescribeReservedNodesRequest withMarker(String marker)
An optional marker returned by a previous DescribeReservedNodes request to indicate the first parameter group that the current request will return.

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

Parameters:
marker - An optional marker returned by a previous DescribeReservedNodes request to indicate the first parameter group that the current request will return.
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.