@Generated(value="software.amazon.awssdk:codegen") public final class DecreaseStreamRetentionPeriodRequest extends KinesisRequest implements ToCopyableBuilder<DecreaseStreamRetentionPeriodRequest.Builder,DecreaseStreamRetentionPeriodRequest>
Represents the input for DecreaseStreamRetentionPeriod.
Modifier and Type | Class and Description |
---|---|
static interface |
DecreaseStreamRetentionPeriodRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DecreaseStreamRetentionPeriodRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
retentionPeriodHours()
The new retention period of the stream, in hours.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DecreaseStreamRetentionPeriodRequest.Builder> |
serializableBuilderClass() |
String |
streamName()
The name of the stream to modify.
|
DecreaseStreamRetentionPeriodRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String streamName()
The name of the stream to modify.
public final Integer retentionPeriodHours()
The new retention period of the stream, in hours. Must be less than the current retention period.
public DecreaseStreamRetentionPeriodRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DecreaseStreamRetentionPeriodRequest.Builder,DecreaseStreamRetentionPeriodRequest>
toBuilder
in class KinesisRequest
public static DecreaseStreamRetentionPeriodRequest.Builder builder()
public static Class<? extends DecreaseStreamRetentionPeriodRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.