Interface UpdateDataRetentionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDataRetentionRequest.Builder,
,UpdateDataRetentionRequest> KinesisVideoRequest.Builder
,SdkBuilder<UpdateDataRetentionRequest.Builder,
,UpdateDataRetentionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDataRetentionRequest
-
Method Summary
Modifier and TypeMethodDescriptioncurrentVersion
(String currentVersion) The version of the stream whose retention period you want to change.dataRetentionChangeInHours
(Integer dataRetentionChangeInHours) The number of hours to adjust the current retention by.Indicates whether you want to increase or decrease the retention period.operation
(UpdateDataRetentionOperation operation) Indicates whether you want to increase or decrease the retention period.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the stream whose retention period you want to change.streamName
(String streamName) The name of the stream whose retention period you want to change.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kinesisvideo.model.KinesisVideoRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
streamName
The name of the stream whose retention period you want to change.
- Parameters:
streamName
- The name of the stream whose retention period you want to change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamARN
The Amazon Resource Name (ARN) of the stream whose retention period you want to change.
- Parameters:
streamARN
- The Amazon Resource Name (ARN) of the stream whose retention period you want to change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentVersion
The version of the stream whose retention period you want to change. To get the version, call either the
DescribeStream
or theListStreams
API.- Parameters:
currentVersion
- The version of the stream whose retention period you want to change. To get the version, call either theDescribeStream
or theListStreams
API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
Indicates whether you want to increase or decrease the retention period.
- Parameters:
operation
- Indicates whether you want to increase or decrease the retention period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operation
Indicates whether you want to increase or decrease the retention period.
- Parameters:
operation
- Indicates whether you want to increase or decrease the retention period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataRetentionChangeInHours
The number of hours to adjust the current retention by. The value you specify is added to or subtracted from the current value, depending on the
operation
.The minimum value for data retention is 0 and the maximum value is 87600 (ten years).
- Parameters:
dataRetentionChangeInHours
- The number of hours to adjust the current retention by. The value you specify is added to or subtracted from the current value, depending on theoperation
.The minimum value for data retention is 0 and the maximum value is 87600 (ten years).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateDataRetentionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDataRetentionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-