public class DescribeStreamRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a DescribeStream operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
exclusiveStartShardId
The shard ID of the first item that this operation will evaluate.
|
private java.lang.Integer |
limit
The maximum number of shard objects to return.
|
private java.lang.String |
streamArn
The Amazon Resource Name (ARN) for the stream.
|
NOOP
Constructor and Description |
---|
DescribeStreamRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeStreamRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getExclusiveStartShardId()
The shard ID of the first item that this operation will evaluate.
|
java.lang.Integer |
getLimit()
The maximum number of shard objects to return.
|
java.lang.String |
getStreamArn()
The Amazon Resource Name (ARN) for the stream.
|
int |
hashCode() |
void |
setExclusiveStartShardId(java.lang.String exclusiveStartShardId)
The shard ID of the first item that this operation will evaluate.
|
void |
setLimit(java.lang.Integer limit)
The maximum number of shard objects to return.
|
void |
setStreamArn(java.lang.String streamArn)
The Amazon Resource Name (ARN) for the stream.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeStreamRequest |
withExclusiveStartShardId(java.lang.String exclusiveStartShardId)
The shard ID of the first item that this operation will evaluate.
|
DescribeStreamRequest |
withLimit(java.lang.Integer limit)
The maximum number of shard objects to return.
|
DescribeStreamRequest |
withStreamArn(java.lang.String streamArn)
The Amazon Resource Name (ARN) for the stream.
|
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
private java.lang.String streamArn
The Amazon Resource Name (ARN) for the stream.
private java.lang.Integer limit
The maximum number of shard objects to return. The upper limit is 100.
private java.lang.String exclusiveStartShardId
The shard ID of the first item that this operation will evaluate. Use the
value that was returned for LastEvaluatedShardId
in the
previous operation.
public void setStreamArn(java.lang.String streamArn)
The Amazon Resource Name (ARN) for the stream.
streamArn
- The Amazon Resource Name (ARN) for the stream.public java.lang.String getStreamArn()
The Amazon Resource Name (ARN) for the stream.
public DescribeStreamRequest withStreamArn(java.lang.String streamArn)
The Amazon Resource Name (ARN) for the stream.
streamArn
- The Amazon Resource Name (ARN) for the stream.public void setLimit(java.lang.Integer limit)
The maximum number of shard objects to return. The upper limit is 100.
limit
- The maximum number of shard objects to return. The upper limit is
100.public java.lang.Integer getLimit()
The maximum number of shard objects to return. The upper limit is 100.
public DescribeStreamRequest withLimit(java.lang.Integer limit)
The maximum number of shard objects to return. The upper limit is 100.
limit
- The maximum number of shard objects to return. The upper limit is
100.public void setExclusiveStartShardId(java.lang.String exclusiveStartShardId)
The shard ID of the first item that this operation will evaluate. Use the
value that was returned for LastEvaluatedShardId
in the
previous operation.
exclusiveStartShardId
- The shard ID of the first item that this operation will evaluate.
Use the value that was returned for
LastEvaluatedShardId
in the previous operation.public java.lang.String getExclusiveStartShardId()
The shard ID of the first item that this operation will evaluate. Use the
value that was returned for LastEvaluatedShardId
in the
previous operation.
LastEvaluatedShardId
in the previous operation.public DescribeStreamRequest withExclusiveStartShardId(java.lang.String exclusiveStartShardId)
The shard ID of the first item that this operation will evaluate. Use the
value that was returned for LastEvaluatedShardId
in the
previous operation.
exclusiveStartShardId
- The shard ID of the first item that this operation will evaluate.
Use the value that was returned for
LastEvaluatedShardId
in the previous operation.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()