@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.
|
StreamModeDetails |
streamModeDetails()
Indicates the capacity mode of the data stream.
|
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 Amazon Web Services account used by the application that creates the stream. It is also scoped by Amazon Web Services Region. That is, two streams in two different Amazon Web Services accounts can have the same name. Two streams in the same Amazon Web Services 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 final StreamModeDetails streamModeDetails()
Indicates the capacity mode of the data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
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 © 2023. All rights reserved.