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

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

Introduction

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

Prototype


public void setField(String field) 

Source Link

Document

The product metadata field that you want to filter on.

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);/* w ww  .j  a v  a 2 s.co m*/
    fieldFilter.setField(fieldName);
    fieldFilter.setValue(fieldValue);

    return fieldFilter;
}