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 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

      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.

      Parameters:
      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.
      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

      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 the operation.

      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.