@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricAttributionSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides a summary of the properties of a metric attribution. For a complete listing, call the DescribeMetricAttribution.
Constructor and Description |
---|
MetricAttributionSummary() |
Modifier and Type | Method and Description |
---|---|
MetricAttributionSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDateTime()
The metric attribution's creation date time.
|
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).
|
String |
getName()
The name of the metric attribution.
|
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 |
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 |
setName(String name)
The name of the metric attribution.
|
void |
setStatus(String status)
The metric attribution's status.
|
String |
toString()
Returns a string representation of this object.
|
MetricAttributionSummary |
withCreationDateTime(Date creationDateTime)
The metric attribution's creation date time.
|
MetricAttributionSummary |
withFailureReason(String failureReason)
The metric attribution's failure reason.
|
MetricAttributionSummary |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The metric attribution's last updated date time.
|
MetricAttributionSummary |
withMetricAttributionArn(String metricAttributionArn)
The metric attribution's Amazon Resource Name (ARN).
|
MetricAttributionSummary |
withName(String name)
The name of the metric attribution.
|
MetricAttributionSummary |
withStatus(String status)
The metric attribution's status.
|
public void setName(String name)
The name of the metric attribution.
name
- The name of the metric attribution.public String getName()
The name of the metric attribution.
public MetricAttributionSummary withName(String name)
The name of the metric attribution.
name
- The name of the metric attribution.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 MetricAttributionSummary withMetricAttributionArn(String metricAttributionArn)
The metric attribution's Amazon Resource Name (ARN).
metricAttributionArn
- The metric attribution's Amazon Resource Name (ARN).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 MetricAttributionSummary 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 MetricAttributionSummary 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 MetricAttributionSummary 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 MetricAttributionSummary 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 MetricAttributionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.