Class Contributor
- java.lang.Object
-
- software.amazon.awssdk.services.shield.model.Contributor
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Contributor.Builder,Contributor>
@Generated("software.amazon.awssdk:codegen") public final class Contributor extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Contributor.Builder,Contributor>
A contributor to the attack and their contribution.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContributor.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Contributor.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the contributor.List<SdkField<?>>sdkFields()static Class<? extends Contributor.Builder>serializableBuilderClass()Contributor.BuildertoBuilder()StringtoString()Returns a string representation of this object.Longvalue()The contribution of this contributor expressed in Protection units.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final 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.- Returns:
- 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.
-
value
public final Long value()
The contribution of this contributor expressed in Protection units. For example
10,000.- Returns:
- The contribution of this contributor expressed in Protection units. For example
10,000.
-
toBuilder
public Contributor.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Contributor.Builder,Contributor>
-
builder
public static Contributor.Builder builder()
-
serializableBuilderClass
public static Class<? extends Contributor.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-