@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.
|
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 Object
Object.toString()
public ProductViewAggregationValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.