StructuredPojo
, ToCopyableBuilder<Filter.Builder,Filter>
@Generated("software.amazon.awssdk:codegen") public class Filter extends Object implements StructuredPojo, ToCopyableBuilder<Filter.Builder,Filter>
A filter that can use conditional operators.
For more information about filters, see Querying Discovered Configuration Items.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Filter.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Filter.Builder |
builder() |
|
String |
condition() |
A conditional operator.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name() |
The name of the filter.
|
static Class<? extends Filter.Builder> |
serializableBuilderClass() |
|
Filter.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
List<String> |
values() |
A string value on which to filter.
|
public String name()
The name of the filter.
public List<String> values()
A string value on which to filter. For example, if you choose the destinationServer.osVersion
filter
name, you could specify Ubuntu
for the value.
destinationServer.osVersion
filter name, you could specify Ubuntu
for the
value.public String condition()
A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by AND. If you specify multiple values for a particular filter, the system differentiates the values using OR. Calling either DescribeConfigurations or ListConfigurations returns attributes of matching configuration items.
public Filter.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Filter.Builder,Filter>
public static Filter.Builder builder()
public static Class<? extends Filter.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.