@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context. | 
| 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. | 
| CreateStreamRequest | withShardCount(Integer shardCount)
 The number of shards that the stream will use. | 
| CreateStreamRequest | withStreamName(String streamName)
 A name to identify the stream. | 
addHandlerContext, 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, 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 AWS Region. That is, two streams in two different AWS accounts can have the same name. Two streams in the same AWS account but in two different Regions can also 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 AWS Region. That is, two streams in two different AWS accounts
        can have the same name. Two streams in the same AWS account but in two different Regions can also 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 AWS Region. That is, two streams in two different AWS accounts can have the same name. Two streams in the same AWS account but in two different Regions can also 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 AWS Region. That is, two streams in two different AWS accounts can have the same name. Two streams in the same AWS account but in two different Regions can also 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 AWS Region. That is, two streams in two different AWS accounts
        can have the same name. Two streams in the same AWS account but in two different Regions can also 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.
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.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.
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.
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.public String toString()
toString in class ObjectObject.toString()public CreateStreamRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()