Class UpdateStreamModeRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.kinesis.model.KinesisRequest
-
- software.amazon.awssdk.services.kinesis.model.UpdateStreamModeRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateStreamModeRequest.Builder,UpdateStreamModeRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateStreamModeRequest extends KinesisRequest implements ToCopyableBuilder<UpdateStreamModeRequest.Builder,UpdateStreamModeRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateStreamModeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateStreamModeRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateStreamModeRequest.Builder>serializableBuilderClass()StringstreamARN()Specifies the ARN of the data stream whose capacity mode you want to update.StringstreamId()Not Implemented.StreamModeDetailsstreamModeDetails()Specifies the capacity mode to which you want to set your data stream.UpdateStreamModeRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegerwarmThroughputMiBps()The target warm throughput in MB/s that the stream should be scaled to handle.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
streamARN
public final String streamARN()
Specifies the ARN of the data stream whose capacity mode you want to update.
- Returns:
- Specifies the ARN of the data stream whose capacity mode you want to update.
-
streamId
public final String streamId()
Not Implemented. Reserved for future use.
- Returns:
- Not Implemented. Reserved for future use.
-
streamModeDetails
public final StreamModeDetails streamModeDetails()
Specifies the capacity mode to which you want to set your 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.
- Returns:
- Specifies the capacity mode to which you want to set your 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.
-
warmThroughputMiBps
public final Integer warmThroughputMiBps()
The target warm throughput in MB/s that the stream should be scaled to handle. This represents the throughput capacity that will be immediately available for write operations. This field is only valid when the stream mode is being updated to on-demand.
- Returns:
- The target warm throughput in MB/s that the stream should be scaled to handle. This represents the throughput capacity that will be immediately available for write operations. This field is only valid when the stream mode is being updated to on-demand.
-
toBuilder
public UpdateStreamModeRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateStreamModeRequest.Builder,UpdateStreamModeRequest>- Specified by:
toBuilderin classKinesisRequest
-
builder
public static UpdateStreamModeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateStreamModeRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-