Interface AccountSetting.Builder

  • Method Details

    • name

      The name of the account setting. Each account setting has a unique name that identifies the specific feature it controls.

      Parameters:
      name - The name of the account setting. Each account setting has a unique name that identifies the specific feature it controls.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The current value of the account setting.

      Parameters:
      value - The current value of the account setting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enforcementType

      AccountSetting.Builder enforcementType(String enforcementType)

      The type of enforcement for the account setting. Valid values include: hard (the setting has a hard enforcement date after which the setting will be enforced and cannot be modified), flexible (the setting has a flexible enforcement where you can always modify the setting value), and none (the setting has no enforcement and can always be modified).

      Parameters:
      enforcementType - The type of enforcement for the account setting. Valid values include: hard (the setting has a hard enforcement date after which the setting will be enforced and cannot be modified), flexible (the setting has a flexible enforcement where you can always modify the setting value), and none (the setting has no enforcement and can always be modified).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enforcementDate

      AccountSetting.Builder enforcementDate(Instant enforcementDate)

      The date when the account setting will be enforced. After this date, for settings with hard enforcement type, you can no longer modify the setting value. This parameter is only returned for settings with hard or flexible enforcement types.

      Parameters:
      enforcementDate - The date when the account setting will be enforced. After this date, for settings with hard enforcement type, you can no longer modify the setting value. This parameter is only returned for settings with hard or flexible enforcement types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultValue

      AccountSetting.Builder defaultValue(String defaultValue)

      The default value of the account setting before the enforcement date. Valid values are enabled and disabled. This parameter is only returned for settings with hard or flexible enforcement types.

      Parameters:
      defaultValue - The default value of the account setting before the enforcement date. Valid values are enabled and disabled. This parameter is only returned for settings with hard or flexible enforcement types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enforcedValue

      AccountSetting.Builder enforcedValue(String enforcedValue)

      The value that will be enforced after the enforcement date. Valid values are enabled and disabled. This parameter is only returned for settings with hard or flexible enforcement types.

      Parameters:
      enforcedValue - The value that will be enforced after the enforcement date. Valid values are enabled and disabled. This parameter is only returned for settings with hard or flexible enforcement types.
      Returns:
      Returns a reference to this object so that method calls can be chained together.