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 ListStreamsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetExclusiveStartStreamArn()The ARN (Amazon Resource Name) of the first item that this operation will evaluate.IntegergetLimit()The maximum number of streams to return.StringgetTableName()If this parameter is provided, then only the streams associated with this table name are returned.inthashCode()voidsetExclusiveStartStreamArn(String exclusiveStartStreamArn)The ARN (Amazon Resource Name) of the first item that this operation will evaluate.voidsetLimit(Integer limit)The maximum number of streams to return.voidsetTableName(String tableName)If this parameter is provided, then only the streams associated with this table name are returned.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListStreamsRequestwithExclusiveStartStreamArn(String exclusiveStartStreamArn)The ARN (Amazon Resource Name) of the first item that this operation will evaluate.ListStreamsRequestwithLimit(Integer limit)The maximum number of streams to return.ListStreamsRequestwithTableName(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
LastEvaluatedStreamArnin 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 forLastEvaluatedStreamArnin 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
LastEvaluatedStreamArnin 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
LastEvaluatedStreamArnin 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
LastEvaluatedStreamArnin 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 forLastEvaluatedStreamArnin 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListStreamsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-