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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Contributor.Buildername(String name)The name of the contributor.Contributor.Buildervalue(Long value)The contribution of this contributor expressed in Protection units.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
Contributor.Builder name(String name)
The name of the contributor. The type of name that you'll find here depends on the
AttackPropertyIdentifiersetting in theAttackPropertywhere this contributor is defined. For example, if theAttackPropertyIdentifierisSOURCE_COUNTRY, theNamecould beUnited States.- Parameters:
name- The name of the contributor. The type of name that you'll find here depends on theAttackPropertyIdentifiersetting in theAttackPropertywhere this contributor is defined. For example, if theAttackPropertyIdentifierisSOURCE_COUNTRY, theNamecould beUnited 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 example10,000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-