Interface PutLifecycleConfigurationRequest.Builder
- All Superinterfaces:
 AwsRequest.Builder,Buildable,CopyableBuilder<PutLifecycleConfigurationRequest.Builder,,PutLifecycleConfigurationRequest> EfsRequest.Builder,SdkBuilder<PutLifecycleConfigurationRequest.Builder,,PutLifecycleConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 PutLifecycleConfigurationRequest
- 
Method Summary
Modifier and TypeMethodDescriptionfileSystemId(String fileSystemId) The ID of the file system for which you are creating theLifecycleConfigurationobject (String).lifecyclePolicies(Collection<LifecyclePolicy> lifecyclePolicies) An array ofLifecyclePolicyobjects that define the file system'sLifecycleConfigurationobject.lifecyclePolicies(Consumer<LifecyclePolicy.Builder>... lifecyclePolicies) An array ofLifecyclePolicyobjects that define the file system'sLifecycleConfigurationobject.lifecyclePolicies(LifecyclePolicy... lifecyclePolicies) An array ofLifecyclePolicyobjects that define the file system'sLifecycleConfigurationobject.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.efs.model.EfsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
fileSystemId
The ID of the file system for which you are creating the
LifecycleConfigurationobject (String).- Parameters:
 fileSystemId- The ID of the file system for which you are creating theLifecycleConfigurationobject (String).- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
lifecyclePolicies
PutLifecycleConfigurationRequest.Builder lifecyclePolicies(Collection<LifecyclePolicy> lifecyclePolicies) An array of
LifecyclePolicyobjects that define the file system'sLifecycleConfigurationobject. ALifecycleConfigurationobject 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-configurationCLI command or thePutLifecycleConfigurationAPI action, Amazon EFS requires that eachLifecyclePolicyobject have only a single transition. This means that in a request body,LifecyclePoliciesmust be structured as an array ofLifecyclePolicyobjects, one object for each transition,TransitionToIA,TransitionToPrimaryStorageClass. See the example requests in the following section for more information.- Parameters:
 lifecyclePolicies- An array ofLifecyclePolicyobjects that define the file system'sLifecycleConfigurationobject. ALifecycleConfigurationobject 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-configurationCLI command or thePutLifecycleConfigurationAPI action, Amazon EFS requires that eachLifecyclePolicyobject have only a single transition. This means that in a request body,LifecyclePoliciesmust be structured as an array ofLifecyclePolicyobjects, one object for each transition,TransitionToIA,TransitionToPrimaryStorageClass. See the example requests in the following section for more information.- 
        
 - Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
 
 - 
lifecyclePolicies
An array of
LifecyclePolicyobjects that define the file system'sLifecycleConfigurationobject. ALifecycleConfigurationobject 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-configurationCLI command or thePutLifecycleConfigurationAPI action, Amazon EFS requires that eachLifecyclePolicyobject have only a single transition. This means that in a request body,LifecyclePoliciesmust be structured as an array ofLifecyclePolicyobjects, one object for each transition,TransitionToIA,TransitionToPrimaryStorageClass. See the example requests in the following section for more information.- Parameters:
 lifecyclePolicies- An array ofLifecyclePolicyobjects that define the file system'sLifecycleConfigurationobject. ALifecycleConfigurationobject 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-configurationCLI command or thePutLifecycleConfigurationAPI action, Amazon EFS requires that eachLifecyclePolicyobject have only a single transition. This means that in a request body,LifecyclePoliciesmust be structured as an array ofLifecyclePolicyobjects, one object for each transition,TransitionToIA,TransitionToPrimaryStorageClass. See the example requests in the following section for more information.- 
        
 - Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
 
 - 
lifecyclePolicies
PutLifecycleConfigurationRequest.Builder lifecyclePolicies(Consumer<LifecyclePolicy.Builder>... lifecyclePolicies) An array of
LifecyclePolicyobjects that define the file system'sLifecycleConfigurationobject. ALifecycleConfigurationobject 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.
 
 This is a convenience method that creates an instance of theWhen using the
put-lifecycle-configurationCLI command or thePutLifecycleConfigurationAPI action, Amazon EFS requires that eachLifecyclePolicyobject have only a single transition. This means that in a request body,LifecyclePoliciesmust be structured as an array ofLifecyclePolicyobjects, one object for each transition,TransitionToIA,TransitionToPrimaryStorageClass. See the example requests in the following section for more information.LifecyclePolicy.Builderavoiding the need to create one manually viaLifecyclePolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolifecyclePolicies(List<LifecyclePolicy>).- Parameters:
 lifecyclePolicies- a consumer that will call methods onLifecyclePolicy.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
 
 - 
overrideConfiguration
PutLifecycleConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 overrideConfiguration- The override configuration.- Returns:
 - This object for method chaining.
 
 - 
overrideConfiguration
PutLifecycleConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
 - This object for method chaining.
 
 
 -