Class TieringConfigurationDetails


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

    Tiering archives eligible file data to Object Storage while keeping files visible at their original Lustre paths and restoring archived data transparently when accessed. When tiering is enabled and policyMode is CUSTOM, provide one or more policy rules. When tiering is disabled, custom policy rules are optional. If 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 TieringConfigurationDetails.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 TieringConfigurationDetails.Builder, which maintain a set of all explicitly set fields called TieringConfigurationDetails.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.

        If unspecified, defaults to false.

        Returns:
        the value
      • getPolicyMode

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

        If unspecified, defaults to DEFAULT. 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 specified in rules.

        Returns:
        the value
      • getRules

        public List<TieringPolicyRule> getRules()
        Custom tiering policy rules.

        Specify this only when policyMode is CUSTOM. When policyMode is DEFAULT, omit this property; the service applies the built-in tiering policy rule instead. An enabled custom policy must contain 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