@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for DescribeStream
.
NOOP
Constructor and Description |
---|
DescribeStreamRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeStreamRequest |
clone() |
boolean |
equals(Object obj) |
String |
getExclusiveStartShardId()
The shard ID of the shard to start with.
|
Integer |
getLimit()
The maximum number of shards to return in a single call.
|
String |
getStreamARN()
The ARN of the stream.
|
String |
getStreamName()
The name of the stream to describe.
|
int |
hashCode() |
void |
setExclusiveStartShardId(String exclusiveStartShardId)
The shard ID of the shard to start with.
|
void |
setLimit(Integer limit)
The maximum number of shards to return in a single call.
|
void |
setStreamARN(String streamARN)
The ARN of the stream.
|
void |
setStreamName(String streamName)
The name of the stream to describe.
|
String |
toString()
Returns a string representation of this object.
|
DescribeStreamRequest |
withExclusiveStartShardId(String exclusiveStartShardId)
The shard ID of the shard to start with.
|
DescribeStreamRequest |
withLimit(Integer limit)
The maximum number of shards to return in a single call.
|
DescribeStreamRequest |
withStreamARN(String streamARN)
The ARN of the stream.
|
DescribeStreamRequest |
withStreamName(String streamName)
The name of the stream to describe.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStreamName(String streamName)
The name of the stream to describe.
streamName
- The name of the stream to describe.public String getStreamName()
The name of the stream to describe.
public DescribeStreamRequest withStreamName(String streamName)
The name of the stream to describe.
streamName
- The name of the stream to describe.public void setLimit(Integer limit)
The maximum number of shards to return in a single call. The default value is 100. If you specify a value greater than 100, at most 100 results are returned.
limit
- The maximum number of shards to return in a single call. The default value is 100. If you specify a value
greater than 100, at most 100 results are returned.public Integer getLimit()
The maximum number of shards to return in a single call. The default value is 100. If you specify a value greater than 100, at most 100 results are returned.
public DescribeStreamRequest withLimit(Integer limit)
The maximum number of shards to return in a single call. The default value is 100. If you specify a value greater than 100, at most 100 results are returned.
limit
- The maximum number of shards to return in a single call. The default value is 100. If you specify a value
greater than 100, at most 100 results are returned.public void setExclusiveStartShardId(String exclusiveStartShardId)
The shard ID of the shard to start with.
Specify this parameter to indicate that you want to describe the stream starting with the shard whose ID
immediately follows ExclusiveStartShardId
.
If you don't specify this parameter, the default behavior for DescribeStream
is to describe the
stream starting with the first shard in the stream.
exclusiveStartShardId
- The shard ID of the shard to start with.
Specify this parameter to indicate that you want to describe the stream starting with the shard whose ID
immediately follows ExclusiveStartShardId
.
If you don't specify this parameter, the default behavior for DescribeStream
is to describe
the stream starting with the first shard in the stream.
public String getExclusiveStartShardId()
The shard ID of the shard to start with.
Specify this parameter to indicate that you want to describe the stream starting with the shard whose ID
immediately follows ExclusiveStartShardId
.
If you don't specify this parameter, the default behavior for DescribeStream
is to describe the
stream starting with the first shard in the stream.
Specify this parameter to indicate that you want to describe the stream starting with the shard whose ID
immediately follows ExclusiveStartShardId
.
If you don't specify this parameter, the default behavior for DescribeStream
is to describe
the stream starting with the first shard in the stream.
public DescribeStreamRequest withExclusiveStartShardId(String exclusiveStartShardId)
The shard ID of the shard to start with.
Specify this parameter to indicate that you want to describe the stream starting with the shard whose ID
immediately follows ExclusiveStartShardId
.
If you don't specify this parameter, the default behavior for DescribeStream
is to describe the
stream starting with the first shard in the stream.
exclusiveStartShardId
- The shard ID of the shard to start with.
Specify this parameter to indicate that you want to describe the stream starting with the shard whose ID
immediately follows ExclusiveStartShardId
.
If you don't specify this parameter, the default behavior for DescribeStream
is to describe
the stream starting with the first shard in the stream.
public void setStreamARN(String streamARN)
The ARN of the stream.
streamARN
- The ARN of the stream.public String getStreamARN()
The ARN of the stream.
public DescribeStreamRequest withStreamARN(String streamARN)
The ARN of the stream.
streamARN
- The ARN of the stream.public String toString()
toString
in class Object
Object.toString()
public DescribeStreamRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.