@Generated(value="software.amazon.awssdk:codegen") public final class CreateStreamRequest extends KinesisRequest implements ToCopyableBuilder<CreateStreamRequest.Builder,CreateStreamRequest>
Represents the input for CreateStream.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateStreamRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateStreamRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final 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.
public CreateStreamRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateStreamRequest.Builder,CreateStreamRequest>toBuilder in class KinesisRequestpublic static CreateStreamRequest.Builder builder()
public static Class<? extends CreateStreamRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.