public class CreateStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for CreateStream.
NOOP| Constructor and Description |
|---|
CreateStreamRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateStreamRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Integer |
getShardCount()
The number of shards that the stream will use.
|
String |
getStreamName()
A name to identify the stream.
|
int |
hashCode() |
void |
setShardCount(Integer shardCount)
The number of shards that the stream will use.
|
void |
setStreamName(String streamName)
A name to identify the stream.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateStreamRequest |
withShardCount(Integer shardCount)
The number of shards that the stream will use.
|
CreateStreamRequest |
withStreamName(String streamName)
A name to identify the stream.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setStreamName(String streamName)
A name to identify the stream. The stream name is scoped to the AWS account used by the application that creates the stream. It is also scoped by region. That is, two streams in two different AWS accounts can have the same name, and two streams in the same AWS account, but in two different regions, can have the same name.
streamName - A name to identify the stream. The stream name is scoped to the
AWS account used by the application that creates the stream. It is
also scoped by region. That is, two streams in two different AWS
accounts can have the same name, and two streams in the same AWS
account, but in two different regions, can have the same name.public String getStreamName()
A name to identify the stream. The stream name is scoped to the AWS account used by the application that creates the stream. It is also scoped by region. That is, two streams in two different AWS accounts can have the same name, and two streams in the same AWS account, but in two different regions, can have the same name.
public CreateStreamRequest withStreamName(String streamName)
A name to identify the stream. The stream name is scoped to the AWS account used by the application that creates the stream. It is also scoped by region. That is, two streams in two different AWS accounts can have the same name, and two streams in the same AWS account, but in two different regions, can have the same name.
streamName - A name to identify the stream. The stream name is scoped to the
AWS account used by the application that creates the stream. It is
also scoped by region. That is, two streams in two different AWS
accounts can have the same name, and two streams in the same AWS
account, but in two different regions, can have the same name.public void setShardCount(Integer shardCount)
The number of shards that the stream will use. The throughput of the stream is a function of the number of shards; more shards are required for greater provisioned throughput.
DefaultShardLimit;
shardCount - The number of shards that the stream will use. The throughput of
the stream is a function of the number of shards; more shards are
required for greater provisioned throughput.
DefaultShardLimit;
public Integer getShardCount()
The number of shards that the stream will use. The throughput of the stream is a function of the number of shards; more shards are required for greater provisioned throughput.
DefaultShardLimit;
DefaultShardLimit;
public CreateStreamRequest withShardCount(Integer shardCount)
The number of shards that the stream will use. The throughput of the stream is a function of the number of shards; more shards are required for greater provisioned throughput.
DefaultShardLimit;
shardCount - The number of shards that the stream will use. The throughput of
the stream is a function of the number of shards; more shards are
required for greater provisioned throughput.
DefaultShardLimit;
public String toString()
toString in class ObjectObject.toString()public CreateStreamRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.