public static interface PutLifecycleConfigurationRequest.Builder extends EfsRequest.Builder, SdkPojo, CopyableBuilder<PutLifecycleConfigurationRequest.Builder,PutLifecycleConfigurationRequest>
| Modifier and Type | Method and Description |
|---|---|
PutLifecycleConfigurationRequest.Builder |
fileSystemId(String fileSystemId)
The ID of the file system for which you are creating the
LifecycleConfiguration object (String). |
PutLifecycleConfigurationRequest.Builder |
lifecyclePolicies(Collection<LifecyclePolicy> lifecyclePolicies)
An array of
LifecyclePolicy objects that define the file system's
LifecycleConfiguration object. |
PutLifecycleConfigurationRequest.Builder |
lifecyclePolicies(Consumer<LifecyclePolicy.Builder>... lifecyclePolicies)
An array of
LifecyclePolicy objects that define the file system's
LifecycleConfiguration object. |
PutLifecycleConfigurationRequest.Builder |
lifecyclePolicies(LifecyclePolicy... lifecyclePolicies)
An array of
LifecyclePolicy objects that define the file system's
LifecycleConfiguration object. |
PutLifecycleConfigurationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutLifecycleConfigurationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutLifecycleConfigurationRequest.Builder fileSystemId(String fileSystemId)
The ID of the file system for which you are creating the LifecycleConfiguration object (String).
fileSystemId - The ID of the file system for which you are creating the LifecycleConfiguration object
(String).PutLifecycleConfigurationRequest.Builder lifecyclePolicies(Collection<LifecyclePolicy> lifecyclePolicies)
An array of LifecyclePolicy objects that define the file system's
LifecycleConfiguration object. A LifecycleConfiguration object informs EFS
lifecycle management and EFS Intelligent-Tiering of the following:
When to move files in the file system from primary storage to the IA storage class.
When to move files that are in IA storage to primary storage.
When using the put-lifecycle-configuration CLI command or the
PutLifecycleConfiguration API action, Amazon EFS requires that each LifecyclePolicy
object have only a single transition. This means that in a request body, LifecyclePolicies must
be structured as an array of LifecyclePolicy objects, one object for each transition,
TransitionToIA, TransitionToPrimaryStorageClass. See the example requests in the
following section for more information.
lifecyclePolicies - An array of LifecyclePolicy objects that define the file system's
LifecycleConfiguration object. A LifecycleConfiguration object informs EFS
lifecycle management and EFS Intelligent-Tiering of the following:
When to move files in the file system from primary storage to the IA storage class.
When to move files that are in IA storage to primary storage.
When using the put-lifecycle-configuration CLI command or the
PutLifecycleConfiguration API action, Amazon EFS requires that each
LifecyclePolicy object have only a single transition. This means that in a request body,
LifecyclePolicies must be structured as an array of LifecyclePolicy objects,
one object for each transition, TransitionToIA,
TransitionToPrimaryStorageClass. See the example requests in the following section for
more information.
PutLifecycleConfigurationRequest.Builder lifecyclePolicies(LifecyclePolicy... lifecyclePolicies)
An array of LifecyclePolicy objects that define the file system's
LifecycleConfiguration object. A LifecycleConfiguration object informs EFS
lifecycle management and EFS Intelligent-Tiering of the following:
When to move files in the file system from primary storage to the IA storage class.
When to move files that are in IA storage to primary storage.
When using the put-lifecycle-configuration CLI command or the
PutLifecycleConfiguration API action, Amazon EFS requires that each LifecyclePolicy
object have only a single transition. This means that in a request body, LifecyclePolicies must
be structured as an array of LifecyclePolicy objects, one object for each transition,
TransitionToIA, TransitionToPrimaryStorageClass. See the example requests in the
following section for more information.
lifecyclePolicies - An array of LifecyclePolicy objects that define the file system's
LifecycleConfiguration object. A LifecycleConfiguration object informs EFS
lifecycle management and EFS Intelligent-Tiering of the following:
When to move files in the file system from primary storage to the IA storage class.
When to move files that are in IA storage to primary storage.
When using the put-lifecycle-configuration CLI command or the
PutLifecycleConfiguration API action, Amazon EFS requires that each
LifecyclePolicy object have only a single transition. This means that in a request body,
LifecyclePolicies must be structured as an array of LifecyclePolicy objects,
one object for each transition, TransitionToIA,
TransitionToPrimaryStorageClass. See the example requests in the following section for
more information.
PutLifecycleConfigurationRequest.Builder lifecyclePolicies(Consumer<LifecyclePolicy.Builder>... lifecyclePolicies)
An array of LifecyclePolicy objects that define the file system's
LifecycleConfiguration object. A LifecycleConfiguration object informs EFS
lifecycle management and EFS Intelligent-Tiering of the following:
When to move files in the file system from primary storage to the IA storage class.
When to move files that are in IA storage to primary storage.
When using the put-lifecycle-configuration CLI command or the
PutLifecycleConfiguration API action, Amazon EFS requires that each LifecyclePolicy
object have only a single transition. This means that in a request body, LifecyclePolicies must
be structured as an array of LifecyclePolicy objects, one object for each transition,
TransitionToIA, TransitionToPrimaryStorageClass. See the example requests in the
following section for more information.
LifecyclePolicy.Builder avoiding the need to create one
manually via LifecyclePolicy.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #lifecyclePolicies(List.
lifecyclePolicies - a consumer that will call methods on
LifecyclePolicy.Builder#lifecyclePolicies(java.util.Collection) PutLifecycleConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutLifecycleConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.