Interface ReleaseConfiguration.Builder

  • Method Details

    • durationSinceLastAccess

      ReleaseConfiguration.Builder durationSinceLastAccess(DurationSinceLastAccess durationSinceLastAccess)

      Defines the point-in-time since an exported file was last accessed, in order for that file to be eligible for release. Only files that were last accessed before this point-in-time are eligible to be released from the file system.

      Parameters:
      durationSinceLastAccess - Defines the point-in-time since an exported file was last accessed, in order for that file to be eligible for release. Only files that were last accessed before this point-in-time are eligible to be released from the file system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • durationSinceLastAccess

      default ReleaseConfiguration.Builder durationSinceLastAccess(Consumer<DurationSinceLastAccess.Builder> durationSinceLastAccess)

      Defines the point-in-time since an exported file was last accessed, in order for that file to be eligible for release. Only files that were last accessed before this point-in-time are eligible to be released from the file system.

      This is a convenience method that creates an instance of the DurationSinceLastAccess.Builder avoiding the need to create one manually via DurationSinceLastAccess.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to durationSinceLastAccess(DurationSinceLastAccess).

      Parameters:
      durationSinceLastAccess - a consumer that will call methods on DurationSinceLastAccess.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: