@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricAttribution extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a metric attribution associated with an event. For more information about metric attributions, see Measuring impact of recommendations.
| Constructor and Description |
|---|
MetricAttribution() |
| Modifier and Type | Method and Description |
|---|---|
MetricAttribution |
clone() |
boolean |
equals(Object obj) |
String |
getEventAttributionSource()
The source of the event, such as a third party.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEventAttributionSource(String eventAttributionSource)
The source of the event, such as a third party.
|
String |
toString()
Returns a string representation of this object.
|
MetricAttribution |
withEventAttributionSource(String eventAttributionSource)
The source of the event, such as a third party.
|
public void setEventAttributionSource(String eventAttributionSource)
The source of the event, such as a third party.
eventAttributionSource - The source of the event, such as a third party.public String getEventAttributionSource()
The source of the event, such as a third party.
public MetricAttribution withEventAttributionSource(String eventAttributionSource)
The source of the event, such as a third party.
eventAttributionSource - The source of the event, such as a third party.public String toString()
toString in class ObjectObject.toString()public MetricAttribution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.