@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; 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.
|
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, withSdkRequestTimeout
public 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 Object
Object.toString()
public CreateStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.