Class TieringConfiguration


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20250228")
    public final class TieringConfiguration
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Tiering configuration for a Lustre file system.

    Tiering archives eligible file data to Object Storage while keeping files visible at their original Lustre paths, and restores archived data transparently when accessed. When policyMode is CUSTOM, this object includes the custom policy rules configured for the file system. When policyMode is DEFAULT, the service applies the built-in tiering policy rule, which archives files larger than 1 MB that have not been accessed for more than 30 days.
    Note: Objects should always be created or deserialized using the TieringConfiguration.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the TieringConfiguration.Builder, which maintain a set of all explicitly set fields called TieringConfiguration.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Method Detail

      • getIsEnabled

        public Boolean getIsEnabled()
        Whether tiering is enabled for the Lustre file system.
        Returns:
        the value
      • getPolicyMode

        public TieringConfiguration.PolicyMode getPolicyMode()
        Whether the service default policy rule or custom policy rules are used.

        When set to DEFAULT, the service applies the built-in tiering policy rule, which archives files larger than 1 MB that have not been accessed for more than 30 days. When set to CUSTOM, the service uses the policy rules configured in rules.

        Returns:
        the value
      • getRuleCount

        public Integer getRuleCount()
        Service-computed number of custom tiering policy rules.
        Returns:
        the value
      • getRules

        public List<TieringPolicyRule> getRules()
        Custom tiering policy rules configured for the Lustre file system.

        This property is only applicable when policyMode is CUSTOM. When policyMode is DEFAULT, the service applies the built-in tiering policy rule instead. An enabled custom policy contains 1 to 50 rules. When tiering is disabled, custom policy rules are optional.

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel