@Generated(value="software.amazon.awssdk:codegen") public final class UpdateDataRetentionRequest extends KinesisVideoRequest implements ToCopyableBuilder<UpdateDataRetentionRequest.Builder,UpdateDataRetentionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateDataRetentionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateDataRetentionRequest.Builder |
builder() |
String |
currentVersion()
The version of the stream whose retention period you want to change.
|
Integer |
dataRetentionChangeInHours()
The retention period, in hours.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
UpdateDataRetentionOperation |
operation()
Indicates whether you want to increase or decrease the retention period.
|
String |
operationAsString()
Indicates whether you want to increase or decrease the retention period.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateDataRetentionRequest.Builder> |
serializableBuilderClass() |
String |
streamARN()
The Amazon Resource Name (ARN) of the stream whose retention period you want to change.
|
String |
streamName()
The name of the stream whose retention period you want to change.
|
UpdateDataRetentionRequest.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 whose retention period you want to change.
public final String streamARN()
The Amazon Resource Name (ARN) of the stream whose retention period you want to change.
public final String currentVersion()
The version of the stream whose retention period you want to change. To get the version, call either the
DescribeStream or the ListStreams API.
DescribeStream or the ListStreams API.public final UpdateDataRetentionOperation operation()
Indicates whether you want to increase or decrease the retention period.
If the service returns an enum value that is not available in the current SDK version, operation will
return UpdateDataRetentionOperation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from operationAsString().
UpdateDataRetentionOperationpublic final String operationAsString()
Indicates whether you want to increase or decrease the retention period.
If the service returns an enum value that is not available in the current SDK version, operation will
return UpdateDataRetentionOperation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from operationAsString().
UpdateDataRetentionOperationpublic final Integer dataRetentionChangeInHours()
The retention period, in hours. The value you specify replaces the current value. The maximum value for this parameter is 87600 (ten years).
public UpdateDataRetentionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateDataRetentionRequest.Builder,UpdateDataRetentionRequest>toBuilder in class KinesisVideoRequestpublic static UpdateDataRetentionRequest.Builder builder()
public static Class<? extends UpdateDataRetentionRequest.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.