Interface Transition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Transition.Builder,
,Transition> SdkBuilder<Transition.Builder,
,Transition> SdkPojo
- Enclosing class:
Transition
-
Method Summary
Modifier and TypeMethodDescriptionIndicates when objects are transitioned to the specified storage class.Indicates the number of days after creation when objects are transitioned to the specified storage class.storageClass
(String storageClass) The storage class to which you want the object to transition.storageClass
(TransitionStorageClass storageClass) The storage class to which you want the object to transition.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
Indicates the number of days after creation when objects are transitioned to the specified storage class. If the specified storage class is
INTELLIGENT_TIERING
,GLACIER_IR
,GLACIER
, orDEEP_ARCHIVE
, valid values are0
or positive integers. If the specified storage class isSTANDARD_IA
orONEZONE_IA
, valid values are positive integers greater than30
. Be aware that some storage classes have a minimum storage duration and that you're charged for transitioning objects before their minimum storage duration. For more information, see Constraints and considerations for transitions in the Amazon S3 User Guide.- Parameters:
days
- Indicates the number of days after creation when objects are transitioned to the specified storage class. If the specified storage class isINTELLIGENT_TIERING
,GLACIER_IR
,GLACIER
, orDEEP_ARCHIVE
, valid values are0
or positive integers. If the specified storage class isSTANDARD_IA
orONEZONE_IA
, valid values are positive integers greater than30
. Be aware that some storage classes have a minimum storage duration and that you're charged for transitioning objects before their minimum storage duration. For more information, see Constraints and considerations for transitions in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
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:
-