Class TieringConfigurationDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • isEnabled

        public TieringConfigurationDetails.Builder isEnabled​(Boolean isEnabled)
        Whether tiering is enabled for the Lustre file system.

        If unspecified, defaults to false.

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

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

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

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

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