Class TieringConfiguration.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • isEnabled

        public TieringConfiguration.Builder isEnabled​(Boolean isEnabled)
        Whether tiering is enabled for the Lustre file system.
        Parameters:
        isEnabled - the value to set
        Returns:
        this builder
      • policyMode

        public TieringConfiguration.Builder policyMode​(TieringConfiguration.PolicyMode policyMode)
        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.

        Parameters:
        policyMode - the value to set
        Returns:
        this builder
      • ruleCount

        public TieringConfiguration.Builder ruleCount​(Integer ruleCount)
        Service-computed number of custom tiering policy rules.
        Parameters:
        ruleCount - the value to set
        Returns:
        this builder
      • rules

        public TieringConfiguration.Builder rules​(List<TieringPolicyRule> rules)
        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.

        Parameters:
        rules - the value to set
        Returns:
        this builder