Interface Transition.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Transition.Builder,Transition>
,SdkBuilder<Transition.Builder,Transition>
,SdkPojo
- Enclosing class:
- Transition
public static interface Transition.Builder extends SdkPojo, CopyableBuilder<Transition.Builder,Transition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Transition.Builder
date(Instant date)
Indicates when objects are transitioned to the specified storage class.Transition.Builder
days(Integer days)
Indicates the number of days after creation when objects are transitioned to the specified storage class.Transition.Builder
storageClass(String storageClass)
The storage class to which you want the object to transition.Transition.Builder
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, sdkFields
-
-
-
-
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
-
storageClass
Transition.Builder storageClass(TransitionStorageClass 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
-
-