Interface Transition.Builder

    • Method Detail

      • date

        Transition.Builder date​(Instant date)

        Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.

        Parameters:
        date - Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • days

        Transition.Builder days​(Integer days)

        Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.

        Parameters:
        days - Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageClass

        Transition.Builder storageClass​(String storageClass)

        The storage class to which you want the object to transition.

        Parameters:
        storageClass - The storage class to which you want the object to transition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TransitionStorageClass, TransitionStorageClass