@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProductViewAggregationValue extends Object implements Serializable, Cloneable, StructuredPojo
A single product view aggregation value/count pair, containing metadata about each product to which the calling user has access.
| Constructor and Description |
|---|
ProductViewAggregationValue() |
| Modifier and Type | Method and Description |
|---|---|
ProductViewAggregationValue |
clone() |
boolean |
equals(Object obj) |
Integer |
getApproximateCount()
An approximate count of the products that match the value.
|
String |
getValue()
The value of the product view aggregation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setApproximateCount(Integer approximateCount)
An approximate count of the products that match the value.
|
void |
setValue(String value)
The value of the product view aggregation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ProductViewAggregationValue |
withApproximateCount(Integer approximateCount)
An approximate count of the products that match the value.
|
ProductViewAggregationValue |
withValue(String value)
The value of the product view aggregation.
|
public void setValue(String value)
The value of the product view aggregation.
value - The value of the product view aggregation.public String getValue()
The value of the product view aggregation.
public ProductViewAggregationValue withValue(String value)
The value of the product view aggregation.
value - The value of the product view aggregation.public void setApproximateCount(Integer approximateCount)
An approximate count of the products that match the value.
approximateCount - An approximate count of the products that match the value.public Integer getApproximateCount()
An approximate count of the products that match the value.
public ProductViewAggregationValue withApproximateCount(Integer approximateCount)
An approximate count of the products that match the value.
approximateCount - An approximate count of the products that match the value.public String toString()
toString in class ObjectObject.toString()public ProductViewAggregationValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.