Example usage for com.amazonaws.services.pricing.model Filter setValue

List of usage examples for com.amazonaws.services.pricing.model Filter setValue

Introduction

In this page you can find the example usage for com.amazonaws.services.pricing.model Filter setValue.

Prototype


public void setValue(String value) 

Source Link

Document

The service code or attribute value that you want to filter by.

Usage

From source file:org.pentaho.amazon.client.impl.PricingClientImpl.java

License:Apache License

private static Filter createProductFilter(String fieldType, String fieldName, String fieldValue) {
    Filter fieldFilter = new Filter();
    fieldFilter.setType(fieldType);/*from   w  w  w. j a  v a2 s .co  m*/
    fieldFilter.setField(fieldName);
    fieldFilter.setValue(fieldValue);

    return fieldFilter;
}