Class ListStreamsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.dynamodbv2.model.ListStreamsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListStreamsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a ListStreams operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListStreamsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListStreamsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getExclusiveStartStreamArn()
The ARN (Amazon Resource Name) of the first item that this operation will evaluate.Integer
getLimit()
The maximum number of streams to return.String
getTableName()
If this parameter is provided, then only the streams associated with this table name are returned.int
hashCode()
void
setExclusiveStartStreamArn(String exclusiveStartStreamArn)
The ARN (Amazon Resource Name) of the first item that this operation will evaluate.void
setLimit(Integer limit)
The maximum number of streams to return.void
setTableName(String tableName)
If this parameter is provided, then only the streams associated with this table name are returned.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListStreamsRequest
withExclusiveStartStreamArn(String exclusiveStartStreamArn)
The ARN (Amazon Resource Name) of the first item that this operation will evaluate.ListStreamsRequest
withLimit(Integer limit)
The maximum number of streams to return.ListStreamsRequest
withTableName(String tableName)
If this parameter is provided, then only the streams associated with this table name are returned.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setTableName
public void setTableName(String tableName)
If this parameter is provided, then only the streams associated with this table name are returned.
- Parameters:
tableName
- If this parameter is provided, then only the streams associated with this table name are returned.
-
getTableName
public String getTableName()
If this parameter is provided, then only the streams associated with this table name are returned.
- Returns:
- If this parameter is provided, then only the streams associated with this table name are returned.
-
withTableName
public ListStreamsRequest withTableName(String tableName)
If this parameter is provided, then only the streams associated with this table name are returned.
- Parameters:
tableName
- If this parameter is provided, then only the streams associated with this table name are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
public void setLimit(Integer limit)
The maximum number of streams to return. The upper limit is 100.
- Parameters:
limit
- The maximum number of streams to return. The upper limit is 100.
-
getLimit
public Integer getLimit()
The maximum number of streams to return. The upper limit is 100.
- Returns:
- The maximum number of streams to return. The upper limit is 100.
-
withLimit
public ListStreamsRequest withLimit(Integer limit)
The maximum number of streams to return. The upper limit is 100.
- Parameters:
limit
- The maximum number of streams to return. The upper limit is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExclusiveStartStreamArn
public void setExclusiveStartStreamArn(String exclusiveStartStreamArn)
The ARN (Amazon Resource Name) of the first item that this operation will evaluate. Use the value that was returned for
LastEvaluatedStreamArn
in the previous operation.- Parameters:
exclusiveStartStreamArn
- The ARN (Amazon Resource Name) of the first item that this operation will evaluate. Use the value that was returned forLastEvaluatedStreamArn
in the previous operation.
-
getExclusiveStartStreamArn
public String getExclusiveStartStreamArn()
The ARN (Amazon Resource Name) of the first item that this operation will evaluate. Use the value that was returned for
LastEvaluatedStreamArn
in the previous operation.- Returns:
- The ARN (Amazon Resource Name) of the first item that this
operation will evaluate. Use the value that was returned for
LastEvaluatedStreamArn
in the previous operation.
-
withExclusiveStartStreamArn
public ListStreamsRequest withExclusiveStartStreamArn(String exclusiveStartStreamArn)
The ARN (Amazon Resource Name) of the first item that this operation will evaluate. Use the value that was returned for
LastEvaluatedStreamArn
in the previous operation.- Parameters:
exclusiveStartStreamArn
- The ARN (Amazon Resource Name) of the first item that this operation will evaluate. Use the value that was returned forLastEvaluatedStreamArn
in the previous operation.- 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 ListStreamsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-