Interface S3Retention.Builder

    • Method Detail

      • retainUntilDate

        S3Retention.Builder retainUntilDate​(Instant retainUntilDate)

        The date when the applied Object Lock retention will expire on all objects set by the Batch Operations job.

        Parameters:
        retainUntilDate - The date when the applied Object Lock retention will expire on all objects set by the Batch Operations job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mode

        S3Retention.Builder mode​(String mode)

        The Object Lock retention mode to be applied to all objects in the Batch Operations job.

        Parameters:
        mode - The Object Lock retention mode to be applied to all objects in the Batch Operations job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        S3ObjectLockRetentionMode, S3ObjectLockRetentionMode