@Generated(value="software.amazon.awssdk:codegen") public final class UpdateShardCountRequest extends KinesisRequest implements ToCopyableBuilder<UpdateShardCountRequest.Builder,UpdateShardCountRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateShardCountRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateShardCountRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ScalingType |
scalingType()
The scaling type.
|
String |
scalingTypeAsString()
The scaling type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateShardCountRequest.Builder> |
serializableBuilderClass() |
String |
streamName()
The name of the stream.
|
Integer |
targetShardCount()
The new number of shards.
|
UpdateShardCountRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String streamName()
The name of the stream.
public final Integer targetShardCount()
The new number of shards. This value has the following default limits. By default, you cannot do the following:
Set this value to more than double your current shard count for a stream.
Set this value below half your current shard count for a stream.
Set this value to more than 500 shards in a stream (the default limit for shard count per stream is 500 per account per region), unless you request a limit increase.
Scale a stream with more than 500 shards down unless you set this value to less than 500 shards.
Set this value to more than double your current shard count for a stream.
Set this value below half your current shard count for a stream.
Set this value to more than 500 shards in a stream (the default limit for shard count per stream is 500 per account per region), unless you request a limit increase.
Scale a stream with more than 500 shards down unless you set this value to less than 500 shards.
public final ScalingType scalingType()
The scaling type. Uniform scaling creates shards of equal size.
If the service returns an enum value that is not available in the current SDK version, scalingType will
return ScalingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scalingTypeAsString().
ScalingTypepublic final String scalingTypeAsString()
The scaling type. Uniform scaling creates shards of equal size.
If the service returns an enum value that is not available in the current SDK version, scalingType will
return ScalingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scalingTypeAsString().
ScalingTypepublic UpdateShardCountRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateShardCountRequest.Builder,UpdateShardCountRequest>toBuilder in class KinesisRequestpublic static UpdateShardCountRequest.Builder builder()
public static Class<? extends UpdateShardCountRequest.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.