public static interface UpdateDataRetentionRequest.Builder extends KinesisVideoRequest.Builder, CopyableBuilder<UpdateDataRetentionRequest.Builder,UpdateDataRetentionRequest>
Modifier and Type | Method and Description |
---|---|
UpdateDataRetentionRequest.Builder |
currentVersion(String currentVersion)
The version of the stream whose retention period you want to change.
|
UpdateDataRetentionRequest.Builder |
dataRetentionChangeInHours(Integer dataRetentionChangeInHours)
The retention period, in hours.
|
UpdateDataRetentionRequest.Builder |
operation(String operation)
Indicates whether you want to increase or decrease the retention period.
|
UpdateDataRetentionRequest.Builder |
operation(UpdateDataRetentionOperation operation)
Indicates whether you want to increase or decrease the retention period.
|
UpdateDataRetentionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateDataRetentionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateDataRetentionRequest.Builder |
streamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream whose retention period you want to change.
|
UpdateDataRetentionRequest.Builder |
streamName(String streamName)
The name of the stream whose retention period you want to change.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateDataRetentionRequest.Builder streamName(String streamName)
The name of the stream whose retention period you want to change.
streamName
- The name of the stream whose retention period you want to change.UpdateDataRetentionRequest.Builder streamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream whose retention period you want to change.
streamARN
- The Amazon Resource Name (ARN) of the stream whose retention period you want to change.UpdateDataRetentionRequest.Builder currentVersion(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.
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.UpdateDataRetentionRequest.Builder operation(String operation)
Indicates whether you want to increase or decrease the retention period.
operation
- Indicates whether you want to increase or decrease the retention period.UpdateDataRetentionOperation
,
UpdateDataRetentionOperation
UpdateDataRetentionRequest.Builder operation(UpdateDataRetentionOperation operation)
Indicates whether you want to increase or decrease the retention period.
operation
- Indicates whether you want to increase or decrease the retention period.UpdateDataRetentionOperation
,
UpdateDataRetentionOperation
UpdateDataRetentionRequest.Builder dataRetentionChangeInHours(Integer dataRetentionChangeInHours)
The retention period, in hours. The value you specify replaces the current value.
dataRetentionChangeInHours
- The retention period, in hours. The value you specify replaces the current value.UpdateDataRetentionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateDataRetentionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.