@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Contributor extends Object implements Serializable, Cloneable, StructuredPojo
A contributor to the attack and their contribution.
| Constructor and Description |
|---|
Contributor() |
| Modifier and Type | Method and Description |
|---|---|
Contributor |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the contributor.
|
Long |
getValue()
The contribution of this contributor expressed in Protection units.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the contributor.
|
void |
setValue(Long value)
The contribution of this contributor expressed in Protection units.
|
String |
toString()
Returns a string representation of this object.
|
Contributor |
withName(String name)
The name of the contributor.
|
Contributor |
withValue(Long value)
The contribution of this contributor expressed in Protection units.
|
public void setName(String name)
The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the
AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be
United States.
name - The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example,
if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could
be United States.public String getName()
The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the
AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be
United States.
AttackPropertyIdentifier. For example,
if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could
be United States.public Contributor withName(String name)
The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example, if the
AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be
United States.
name - The name of the contributor. This is dependent on the AttackPropertyIdentifier. For example,
if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could
be United States.public void setValue(Long value)
The contribution of this contributor expressed in Protection units. For example 10,000.
value - The contribution of this contributor expressed in Protection units. For example 10,000
.public Long getValue()
The contribution of this contributor expressed in Protection units. For example 10,000.
10,000.public Contributor withValue(Long value)
The contribution of this contributor expressed in Protection units. For example 10,000.
value - The contribution of this contributor expressed in Protection units. For example 10,000
.public String toString()
toString in class ObjectObject.toString()public Contributor clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.