@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricAttribution extends Object implements Serializable, Cloneable, StructuredPojo
Contains information on a metric attribution. A metric attribution creates reports on the data that you import into Amazon Personalize. Depending on how you import the data, you can view reports in Amazon CloudWatch or Amazon S3. For more information, see Measuring impact of recommendations.
Constructor and Description |
---|
MetricAttribution() |
Modifier and Type | Method and Description |
---|---|
MetricAttribution |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDateTime()
The metric attribution's creation date time.
|
String |
getDatasetGroupArn()
The metric attribution's dataset group Amazon Resource Name (ARN).
|
String |
getFailureReason()
The metric attribution's failure reason.
|
Date |
getLastUpdatedDateTime()
The metric attribution's last updated date time.
|
String |
getMetricAttributionArn()
The metric attribution's Amazon Resource Name (ARN).
|
MetricAttributionOutput |
getMetricsOutputConfig()
The metric attribution's output configuration.
|
String |
getName()
The metric attribution's name.
|
String |
getStatus()
The metric attribution's status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDateTime(Date creationDateTime)
The metric attribution's creation date time.
|
void |
setDatasetGroupArn(String datasetGroupArn)
The metric attribution's dataset group Amazon Resource Name (ARN).
|
void |
setFailureReason(String failureReason)
The metric attribution's failure reason.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
The metric attribution's last updated date time.
|
void |
setMetricAttributionArn(String metricAttributionArn)
The metric attribution's Amazon Resource Name (ARN).
|
void |
setMetricsOutputConfig(MetricAttributionOutput metricsOutputConfig)
The metric attribution's output configuration.
|
void |
setName(String name)
The metric attribution's name.
|
void |
setStatus(String status)
The metric attribution's status.
|
String |
toString()
Returns a string representation of this object.
|
MetricAttribution |
withCreationDateTime(Date creationDateTime)
The metric attribution's creation date time.
|
MetricAttribution |
withDatasetGroupArn(String datasetGroupArn)
The metric attribution's dataset group Amazon Resource Name (ARN).
|
MetricAttribution |
withFailureReason(String failureReason)
The metric attribution's failure reason.
|
MetricAttribution |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The metric attribution's last updated date time.
|
MetricAttribution |
withMetricAttributionArn(String metricAttributionArn)
The metric attribution's Amazon Resource Name (ARN).
|
MetricAttribution |
withMetricsOutputConfig(MetricAttributionOutput metricsOutputConfig)
The metric attribution's output configuration.
|
MetricAttribution |
withName(String name)
The metric attribution's name.
|
MetricAttribution |
withStatus(String status)
The metric attribution's status.
|
public void setName(String name)
The metric attribution's name.
name
- The metric attribution's name.public String getName()
The metric attribution's name.
public MetricAttribution withName(String name)
The metric attribution's name.
name
- The metric attribution's name.public void setMetricAttributionArn(String metricAttributionArn)
The metric attribution's Amazon Resource Name (ARN).
metricAttributionArn
- The metric attribution's Amazon Resource Name (ARN).public String getMetricAttributionArn()
The metric attribution's Amazon Resource Name (ARN).
public MetricAttribution withMetricAttributionArn(String metricAttributionArn)
The metric attribution's Amazon Resource Name (ARN).
metricAttributionArn
- The metric attribution's Amazon Resource Name (ARN).public void setDatasetGroupArn(String datasetGroupArn)
The metric attribution's dataset group Amazon Resource Name (ARN).
datasetGroupArn
- The metric attribution's dataset group Amazon Resource Name (ARN).public String getDatasetGroupArn()
The metric attribution's dataset group Amazon Resource Name (ARN).
public MetricAttribution withDatasetGroupArn(String datasetGroupArn)
The metric attribution's dataset group Amazon Resource Name (ARN).
datasetGroupArn
- The metric attribution's dataset group Amazon Resource Name (ARN).public void setMetricsOutputConfig(MetricAttributionOutput metricsOutputConfig)
The metric attribution's output configuration.
metricsOutputConfig
- The metric attribution's output configuration.public MetricAttributionOutput getMetricsOutputConfig()
The metric attribution's output configuration.
public MetricAttribution withMetricsOutputConfig(MetricAttributionOutput metricsOutputConfig)
The metric attribution's output configuration.
metricsOutputConfig
- The metric attribution's output configuration.public void setStatus(String status)
The metric attribution's status.
status
- The metric attribution's status.public String getStatus()
The metric attribution's status.
public MetricAttribution withStatus(String status)
The metric attribution's status.
status
- The metric attribution's status.public void setCreationDateTime(Date creationDateTime)
The metric attribution's creation date time.
creationDateTime
- The metric attribution's creation date time.public Date getCreationDateTime()
The metric attribution's creation date time.
public MetricAttribution withCreationDateTime(Date creationDateTime)
The metric attribution's creation date time.
creationDateTime
- The metric attribution's creation date time.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
The metric attribution's last updated date time.
lastUpdatedDateTime
- The metric attribution's last updated date time.public Date getLastUpdatedDateTime()
The metric attribution's last updated date time.
public MetricAttribution withLastUpdatedDateTime(Date lastUpdatedDateTime)
The metric attribution's last updated date time.
lastUpdatedDateTime
- The metric attribution's last updated date time.public void setFailureReason(String failureReason)
The metric attribution's failure reason.
failureReason
- The metric attribution's failure reason.public String getFailureReason()
The metric attribution's failure reason.
public MetricAttribution withFailureReason(String failureReason)
The metric attribution's failure reason.
failureReason
- The metric attribution's failure reason.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.