@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutLifecycleConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutLifecycleConfigurationRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutLifecycleConfigurationRequest |
clone() |
boolean |
equals(Object obj) |
String |
getFileSystemId()
The ID of the file system for which you are creating the
LifecycleConfiguration object (String). |
List<LifecyclePolicy> |
getLifecyclePolicies()
An array of
LifecyclePolicy objects that define the file system's
LifecycleConfiguration object. |
int |
hashCode() |
void |
setFileSystemId(String fileSystemId)
The ID of the file system for which you are creating the
LifecycleConfiguration object (String). |
void |
setLifecyclePolicies(Collection<LifecyclePolicy> lifecyclePolicies)
An array of
LifecyclePolicy objects that define the file system's
LifecycleConfiguration object. |
String |
toString()
Returns a string representation of this object.
|
PutLifecycleConfigurationRequest |
withFileSystemId(String fileSystemId)
The ID of the file system for which you are creating the
LifecycleConfiguration object (String). |
PutLifecycleConfigurationRequest |
withLifecyclePolicies(Collection<LifecyclePolicy> lifecyclePolicies)
An array of
LifecyclePolicy objects that define the file system's
LifecycleConfiguration object. |
PutLifecycleConfigurationRequest |
withLifecyclePolicies(LifecyclePolicy... lifecyclePolicies)
An array of
LifecyclePolicy objects that define the file system's
LifecycleConfiguration object. |
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setFileSystemId(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).public String getFileSystemId()
The ID of the file system for which you are creating the LifecycleConfiguration object (String).
LifecycleConfiguration object
(String).public PutLifecycleConfigurationRequest withFileSystemId(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).public List<LifecyclePolicy> getLifecyclePolicies()
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 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.
public void setLifecyclePolicies(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.
public PutLifecycleConfigurationRequest withLifecyclePolicies(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.
NOTE: This method appends the values to the existing list (if any). Use
setLifecyclePolicies(java.util.Collection) or withLifecyclePolicies(java.util.Collection) if
you want to override the existing values.
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.
public PutLifecycleConfigurationRequest withLifecyclePolicies(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.
public String toString()
toString in class ObjectObject.toString()public PutLifecycleConfigurationRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.