Class DecreaseStreamRetentionPeriodRequest
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.DecreaseStreamRetentionPeriodRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DecreaseStreamRetentionPeriodRequest.Builder,DecreaseStreamRetentionPeriodRequest>
@Generated("software.amazon.awssdk:codegen")
public final class DecreaseStreamRetentionPeriodRequest
extends KinesisRequest
implements ToCopyableBuilder<DecreaseStreamRetentionPeriodRequest.Builder,DecreaseStreamRetentionPeriodRequest>
Represents the input for DecreaseStreamRetentionPeriod.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe new retention period of the stream, in hours.static Class<? extends DecreaseStreamRetentionPeriodRequest.Builder>final StringThe ARN of the stream.final StringstreamId()Not Implemented.final StringThe name of the stream to modify.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
streamName
The name of the stream to modify.
- Returns:
- The name of the stream to modify.
-
retentionPeriodHours
The new retention period of the stream, in hours. Must be less than the current retention period.
- Returns:
- The new retention period of the stream, in hours. Must be less than the current retention period.
-
streamARN
The ARN of the stream.
- Returns:
- The ARN of the stream.
-
streamId
Not Implemented. Reserved for future use.
- Returns:
- Not Implemented. Reserved for future use.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DecreaseStreamRetentionPeriodRequest.Builder,DecreaseStreamRetentionPeriodRequest> - Specified by:
toBuilderin classKinesisRequest
-
builder
-
serializableBuilderClass
public static Class<? extends DecreaseStreamRetentionPeriodRequest.Builder> serializableBuilderClass() -
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-