@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ItemValue extends Object implements Serializable, Cloneable, StructuredPojo
Describes a related item.
| Constructor and Description |
|---|
ItemValue() |
| Modifier and Type | Method and Description |
|---|---|
ItemValue |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.
|
String |
getMetricDefinition()
The metric definition, if the related item is a metric in CloudWatch.
|
String |
getUrl()
The URL, if the related item is a non-AWS resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.
|
void |
setMetricDefinition(String metricDefinition)
The metric definition, if the related item is a metric in CloudWatch.
|
void |
setUrl(String url)
The URL, if the related item is a non-AWS resource.
|
String |
toString()
Returns a string representation of this object.
|
ItemValue |
withArn(String arn)
The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.
|
ItemValue |
withMetricDefinition(String metricDefinition)
The metric definition, if the related item is a metric in CloudWatch.
|
ItemValue |
withUrl(String url)
The URL, if the related item is a non-AWS resource.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.
arn - The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.public String getArn()
The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.
public ItemValue withArn(String arn)
The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.
arn - The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.public void setMetricDefinition(String metricDefinition)
The metric definition, if the related item is a metric in CloudWatch.
metricDefinition - The metric definition, if the related item is a metric in CloudWatch.public String getMetricDefinition()
The metric definition, if the related item is a metric in CloudWatch.
public ItemValue withMetricDefinition(String metricDefinition)
The metric definition, if the related item is a metric in CloudWatch.
metricDefinition - The metric definition, if the related item is a metric in CloudWatch.public void setUrl(String url)
The URL, if the related item is a non-AWS resource.
url - The URL, if the related item is a non-AWS resource.public String getUrl()
The URL, if the related item is a non-AWS resource.
public ItemValue withUrl(String url)
The URL, if the related item is a non-AWS resource.
url - The URL, if the related item is a non-AWS resource.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.