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 retention period, in hours. The value you specify replaces the current value. The maximum value for this parameter is 87600 (ten years).

      Parameters:
      dataRetentionChangeInHours - The retention period, in hours. The value you specify replaces the current value. The maximum value for this parameter 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.