JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticfilesystem.model

Class LifecyclePolicy

    • Constructor Detail

      • LifecyclePolicy

        public LifecyclePolicy()
    • Method Detail

      • setTransitionToIA

        public void setTransitionToIA(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.
        See Also:
        TransitionToIARules
      • getTransitionToIA

        public String getTransitionToIA()

        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:
        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.
        See Also:
        TransitionToIARules
      • withTransitionToIA

        public LifecyclePolicy withTransitionToIA(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
      • withTransitionToIA

        public LifecyclePolicy withTransitionToIA(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
      • setTransitionToPrimaryStorageClass

        public void setTransitionToPrimaryStorageClass(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.
        See Also:
        TransitionToPrimaryStorageClassRules
      • getTransitionToPrimaryStorageClass

        public String getTransitionToPrimaryStorageClass()

        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:
        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.
        See Also:
        TransitionToPrimaryStorageClassRules
      • withTransitionToPrimaryStorageClass

        public LifecyclePolicy withTransitionToPrimaryStorageClass(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
      • withTransitionToPrimaryStorageClass

        public LifecyclePolicy withTransitionToPrimaryStorageClass(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
      • setTransitionToArchive

        public void setTransitionToArchive(String transitionToArchive)

        The number of days after files were last accessed in primary storage (the Standard storage class) files 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) files 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.
        See Also:
        TransitionToArchiveRules
      • getTransitionToArchive

        public String getTransitionToArchive()

        The number of days after files were last accessed in primary storage (the Standard storage class) files 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:
        The number of days after files were last accessed in primary storage (the Standard storage class) files 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.
        See Also:
        TransitionToArchiveRules
      • withTransitionToArchive

        public LifecyclePolicy withTransitionToArchive(String transitionToArchive)

        The number of days after files were last accessed in primary storage (the Standard storage class) files 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) files 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
      • withTransitionToArchive

        public LifecyclePolicy withTransitionToArchive(TransitionToArchiveRules transitionToArchive)

        The number of days after files were last accessed in primary storage (the Standard storage class) files 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) files 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
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /