code: private Map<String, String> getMetricFilterParameters( MetricFilterOptions options ) {
          if( options == null ) {
              return null;
          }
  
          Map<String, String> parameters = new HashMap<String, String>();
  
          AWSCloud.addValueIfNotNull(parameters, "MetricName", options.getMetricName());
          AWSCloud.addValueIfNotNull(parameters, "Namespace", options.getMetricNamespace());
          AWSCloud.addIndexedParameters(parameters, "Dimensions.member.", options.getMetricMetadata());
  
          if( parameters.size() == 0 ) {
              return null;
          }
  
          return parameters;
      }
docs: Creates map of parameters based on the MetricFilterOptions.
  
  @param options options to convert to a parameter map
  @return parameter map