Interface S3InitiateRestoreObjectOperation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<S3InitiateRestoreObjectOperation.Builder,S3InitiateRestoreObjectOperation>, SdkBuilder<S3InitiateRestoreObjectOperation.Builder,S3InitiateRestoreObjectOperation>, SdkPojo
Enclosing class:
S3InitiateRestoreObjectOperation

public static interface S3InitiateRestoreObjectOperation.Builder extends SdkPojo, CopyableBuilder<S3InitiateRestoreObjectOperation.Builder,S3InitiateRestoreObjectOperation>
  • Method Details

    • expirationInDays

      S3InitiateRestoreObjectOperation.Builder expirationInDays(Integer expirationInDays)

      This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in Amazon S3. S3 Initiate Restore Object jobs that target S3 Glacier and S3 Glacier Deep Archive objects require ExpirationInDays set to 1 or greater.

      Conversely, do not set ExpirationInDays when creating S3 Initiate Restore Object jobs that target S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in S3 Intelligent-Tiering archive access tiers are not subject to restore expiry, so specifying ExpirationInDays results in restore request failure.

      S3 Batch Operations jobs can operate either on S3 Glacier and S3 Glacier Deep Archive storage class objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier objects, but not both types in the same job. If you need to restore objects of both types you must create separate Batch Operations jobs.

      Parameters:
      expirationInDays - This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in Amazon S3. S3 Initiate Restore Object jobs that target S3 Glacier and S3 Glacier Deep Archive objects require ExpirationInDays set to 1 or greater.

      Conversely, do not set ExpirationInDays when creating S3 Initiate Restore Object jobs that target S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in S3 Intelligent-Tiering archive access tiers are not subject to restore expiry, so specifying ExpirationInDays results in restore request failure.

      S3 Batch Operations jobs can operate either on S3 Glacier and S3 Glacier Deep Archive storage class objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier objects, but not both types in the same job. If you need to restore objects of both types you must create separate Batch Operations jobs.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • glacierJobTier

      S3InitiateRestoreObjectOperation.Builder glacierJobTier(String glacierJobTier)

      S3 Batch Operations supports STANDARD and BULK retrieval tiers, but not the EXPEDITED retrieval tier.

      Parameters:
      glacierJobTier - S3 Batch Operations supports STANDARD and BULK retrieval tiers, but not the EXPEDITED retrieval tier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • glacierJobTier

      S3 Batch Operations supports STANDARD and BULK retrieval tiers, but not the EXPEDITED retrieval tier.

      Parameters:
      glacierJobTier - S3 Batch Operations supports STANDARD and BULK retrieval tiers, but not the EXPEDITED retrieval tier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: