Interface S3ObjectLockRetentionEventHoldDuration.Builder

  • Method Details

    • days

      The number of days for the event hold duration. The minimum value is 1 and the maximum value is 36,500.

      Parameters:
      days - The number of days for the event hold duration. The minimum value is 1 and the maximum value is 36,500.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • years

      The number of years for the event hold duration. The minimum value is 1 and the maximum value is 100.

      Parameters:
      years - The number of years for the event hold duration. The minimum value is 1 and the maximum value is 100.
      Returns:
      Returns a reference to this object so that method calls can be chained together.