@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 Object
Object.toString()
public MetricAttribution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.