Interface Contributor.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Contributor.Builder,Contributor>, SdkBuilder<Contributor.Builder,Contributor>, SdkPojo
Enclosing class:
Contributor

public static interface Contributor.Builder extends SdkPojo, CopyableBuilder<Contributor.Builder,Contributor>
  • Method Details

    • name

      The name of the contributor. The type of name that you'll find here depends on the AttackPropertyIdentifier setting in the AttackProperty where this contributor is defined. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

      Parameters:
      name - The name of the contributor. The type of name that you'll find here depends on the AttackPropertyIdentifier setting in the AttackProperty where this contributor is defined. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      Contributor.Builder value(Long value)

      The contribution of this contributor expressed in Protection units. For example 10,000.

      Parameters:
      value - The contribution of this contributor expressed in Protection units. For example 10,000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.