public class FilterUtils
extends java.lang.Object
Constructor and Description |
---|
FilterUtils(java.lang.String configuredFilters,
TagsUtils tagsUtils) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.util.List<com.amazonaws.services.ec2.model.Filter>> |
getAwsFilters() |
java.util.List<com.amazonaws.services.ec2.model.Filter> |
instanceTagNamesToFilters()
Takes the list of configured tag names and compares it with tagsUtils on the ec2 instance.
|
public FilterUtils(java.lang.String configuredFilters, TagsUtils tagsUtils)
public java.util.Optional<java.util.List<com.amazonaws.services.ec2.model.Filter>> getAwsFilters()
public java.util.List<com.amazonaws.services.ec2.model.Filter> instanceTagNamesToFilters()
Takes the list of configured tag names and compares it with tagsUtils on the ec2 instance. FilterUtils (tag:key=value) will be created for all matches.
Copyright © 2012-2017 meltmedia. All Rights Reserved.