Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateStreamRequest.Builder,CreateStreamRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateStreamRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateStreamRequest.Builder,CreateStreamRequest>
Represents the input for CreateStream
.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateStreamRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static CreateStreamRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
static Class<? extends CreateStreamRequest.Builder> |
serializableBuilderClass() |
|
Integer |
shardCount() |
The number of shards that the stream will use.
|
String |
streamName() |
A name to identify the stream.
|
CreateStreamRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public 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.
public 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;
DefaultShardLimit;
public CreateStreamRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateStreamRequest.Builder,CreateStreamRequest>
public static CreateStreamRequest.Builder builder()
public static Class<? extends CreateStreamRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.