@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 Amazon CloudWatch.
|
String |
getUrl()
The URL, if the related item is a non-Amazon Web Services resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 Amazon CloudWatch.
|
void |
setUrl(String url)
The URL, if the related item is a non-Amazon Web Services 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 Amazon CloudWatch.
|
ItemValue |
withUrl(String url)
The URL, if the related item is a non-Amazon Web Services 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 Amazon CloudWatch.
metricDefinition
- The metric definition, if the related item is a metric in Amazon CloudWatch.public String getMetricDefinition()
The metric definition, if the related item is a metric in Amazon CloudWatch.
public ItemValue withMetricDefinition(String metricDefinition)
The metric definition, if the related item is a metric in Amazon CloudWatch.
metricDefinition
- The metric definition, if the related item is a metric in Amazon CloudWatch.public void setUrl(String url)
The URL, if the related item is a non-Amazon Web Services resource.
url
- The URL, if the related item is a non-Amazon Web Services resource.public String getUrl()
The URL, if the related item is a non-Amazon Web Services resource.
public ItemValue withUrl(String url)
The URL, if the related item is a non-Amazon Web Services resource.
url
- The URL, if the related item is a non-Amazon Web Services resource.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.