Interface UpdateDataRetentionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDataRetentionRequest.Builder,UpdateDataRetentionRequest>,KinesisVideoRequest.Builder,SdkBuilder<UpdateDataRetentionRequest.Builder,UpdateDataRetentionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateDataRetentionRequest
public static interface UpdateDataRetentionRequest.Builder extends KinesisVideoRequest.Builder, SdkPojo, CopyableBuilder<UpdateDataRetentionRequest.Builder,UpdateDataRetentionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateDataRetentionRequest.BuildercurrentVersion(String currentVersion)The version of the stream whose retention period you want to change.UpdateDataRetentionRequest.BuilderdataRetentionChangeInHours(Integer dataRetentionChangeInHours)The number of hours to adjust the current retention by.UpdateDataRetentionRequest.Builderoperation(String operation)Indicates whether you want to increase or decrease the retention period.UpdateDataRetentionRequest.Builderoperation(UpdateDataRetentionOperation operation)Indicates whether you want to increase or decrease the retention period.UpdateDataRetentionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateDataRetentionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateDataRetentionRequest.BuilderstreamARN(String streamARN)The Amazon Resource Name (ARN) of the stream whose retention period you want to change.UpdateDataRetentionRequest.BuilderstreamName(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 Detail
-
streamName
UpdateDataRetentionRequest.Builder streamName(String 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
UpdateDataRetentionRequest.Builder streamARN(String 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
UpdateDataRetentionRequest.Builder currentVersion(String currentVersion)
The version of the stream whose retention period you want to change. To get the version, call either the
DescribeStreamor theListStreamsAPI.- Parameters:
currentVersion- The version of the stream whose retention period you want to change. To get the version, call either theDescribeStreamor theListStreamsAPI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
UpdateDataRetentionRequest.Builder operation(String 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:
UpdateDataRetentionOperation,UpdateDataRetentionOperation
-
operation
UpdateDataRetentionRequest.Builder operation(UpdateDataRetentionOperation 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:
UpdateDataRetentionOperation,UpdateDataRetentionOperation
-
dataRetentionChangeInHours
UpdateDataRetentionRequest.Builder dataRetentionChangeInHours(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDataRetentionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-