public class DescribeStreamRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for DescribeStream
.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
exclusiveStartShardId
The shard ID of the shard to start with.
|
private java.lang.Integer |
limit
The maximum number of shards to return.
|
private java.lang.String |
streamName
The name of the stream to describe.
|
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 shard to start with.
|
java.lang.Integer |
getLimit()
The maximum number of shards to return.
|
java.lang.String |
getStreamName()
The name of the stream to describe.
|
int |
hashCode() |
void |
setExclusiveStartShardId(java.lang.String exclusiveStartShardId)
The shard ID of the shard to start with.
|
void |
setLimit(java.lang.Integer limit)
The maximum number of shards to return.
|
void |
setStreamName(java.lang.String streamName)
The name of the stream to describe.
|
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 shard to start with.
|
DescribeStreamRequest |
withLimit(java.lang.Integer limit)
The maximum number of shards to return.
|
DescribeStreamRequest |
withStreamName(java.lang.String streamName)
The name of the stream to describe.
|
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 streamName
The name of the stream to describe.
private java.lang.Integer limit
The maximum number of shards to return.
private java.lang.String exclusiveStartShardId
The shard ID of the shard to start with.
public void setStreamName(java.lang.String streamName)
The name of the stream to describe.
streamName
- The name of the stream to describe.public java.lang.String getStreamName()
The name of the stream to describe.
public DescribeStreamRequest withStreamName(java.lang.String streamName)
The name of the stream to describe.
streamName
- The name of the stream to describe.public void setLimit(java.lang.Integer limit)
The maximum number of shards to return.
limit
- The maximum number of shards to return.public java.lang.Integer getLimit()
The maximum number of shards to return.
public DescribeStreamRequest withLimit(java.lang.Integer limit)
The maximum number of shards to return.
limit
- The maximum number of shards to return.public void setExclusiveStartShardId(java.lang.String exclusiveStartShardId)
The shard ID of the shard to start with.
exclusiveStartShardId
- The shard ID of the shard to start with.public java.lang.String getExclusiveStartShardId()
The shard ID of the shard to start with.
public DescribeStreamRequest withExclusiveStartShardId(java.lang.String exclusiveStartShardId)
The shard ID of the shard to start with.
exclusiveStartShardId
- The shard ID of the shard to start with.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()