Interface LifecyclePolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LifecyclePolicy.Builder,LifecyclePolicy>,SdkBuilder<LifecyclePolicy.Builder,LifecyclePolicy>,SdkPojo
- Enclosing class:
- LifecyclePolicy
public static interface LifecyclePolicy.Builder extends SdkPojo, CopyableBuilder<LifecyclePolicy.Builder,LifecyclePolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LifecyclePolicy.BuildertransitionToArchive(String transitionToArchive)The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage.LifecyclePolicy.BuildertransitionToArchive(TransitionToArchiveRules transitionToArchive)The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage.LifecyclePolicy.BuildertransitionToIA(String transitionToIA)The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage.LifecyclePolicy.BuildertransitionToIA(TransitionToIARules transitionToIA)The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage.LifecyclePolicy.BuildertransitionToPrimaryStorageClass(String transitionToPrimaryStorageClass)Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage.LifecyclePolicy.BuildertransitionToPrimaryStorageClass(TransitionToPrimaryStorageClassRules transitionToPrimaryStorageClass)Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage.-
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 Detail
-
transitionToIA
LifecyclePolicy.Builder transitionToIA(String transitionToIA)
The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- Parameters:
transitionToIA- The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransitionToIARules,TransitionToIARules
-
transitionToIA
LifecyclePolicy.Builder transitionToIA(TransitionToIARules transitionToIA)
The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- Parameters:
transitionToIA- The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransitionToIARules,TransitionToIARules
-
transitionToPrimaryStorageClass
LifecyclePolicy.Builder transitionToPrimaryStorageClass(String transitionToPrimaryStorageClass)
Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- Parameters:
transitionToPrimaryStorageClass- Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransitionToPrimaryStorageClassRules,TransitionToPrimaryStorageClassRules
-
transitionToPrimaryStorageClass
LifecyclePolicy.Builder transitionToPrimaryStorageClass(TransitionToPrimaryStorageClassRules transitionToPrimaryStorageClass)
Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- Parameters:
transitionToPrimaryStorageClass- Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransitionToPrimaryStorageClassRules,TransitionToPrimaryStorageClassRules
-
transitionToArchive
LifecyclePolicy.Builder transitionToArchive(String transitionToArchive)
The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- Parameters:
transitionToArchive- The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransitionToArchiveRules,TransitionToArchiveRules
-
transitionToArchive
LifecyclePolicy.Builder transitionToArchive(TransitionToArchiveRules transitionToArchive)
The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
- Parameters:
transitionToArchive- The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransitionToArchiveRules,TransitionToArchiveRules
-
-