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

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

Introduction

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

Prototype


public void setType(String type) 

Source Link

Document

The type of filter that you want to use.

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);
    fieldFilter.setField(fieldName);//from  w w w  .j  a  v  a  2  s. c om
    fieldFilter.setValue(fieldValue);

    return fieldFilter;
}