@Generated(value="software.amazon.awssdk:codegen") public class ResourceQuery extends Object implements StructuredPojo, ToCopyableBuilder<ResourceQuery.Builder,ResourceQuery>
The query that is used to define a resource group or a search for resources.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceQuery.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceQuery.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
query()
The query that defines a group or a search.
|
static Class<? extends ResourceQuery.Builder> |
serializableBuilderClass() |
ResourceQuery.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
QueryType |
type()
The type of the query.
|
String |
typeAsString()
The type of the query.
|
copypublic QueryType type()
The type of the query. The valid value in this release is TAG_FILTERS_1_0.
TAG_FILTERS_1_0: A JSON syntax that lets you specify a collection of simple tag filters for
resource types and tags, as supported by the AWS Tagging API GetResources operation. When more than one element
is present, only resources that match all filters are part of the result. If a filter specifies more than one
value for a key, a resource matches the filter if its tag value matches any of the specified values.
If the service returns an enum value that is not available in the current SDK version, type will return
QueryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
TAG_FILTERS_1_0.
TAG_FILTERS_1_0: A JSON syntax that lets you specify a collection of simple tag
filters for resource types and tags, as supported by the AWS Tagging API GetResources operation. When
more than one element is present, only resources that match all filters are part of the result. If a
filter specifies more than one value for a key, a resource matches the filter if its tag value matches
any of the specified values.
QueryTypepublic String typeAsString()
The type of the query. The valid value in this release is TAG_FILTERS_1_0.
TAG_FILTERS_1_0: A JSON syntax that lets you specify a collection of simple tag filters for
resource types and tags, as supported by the AWS Tagging API GetResources operation. When more than one element
is present, only resources that match all filters are part of the result. If a filter specifies more than one
value for a key, a resource matches the filter if its tag value matches any of the specified values.
If the service returns an enum value that is not available in the current SDK version, type will return
QueryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
TAG_FILTERS_1_0.
TAG_FILTERS_1_0: A JSON syntax that lets you specify a collection of simple tag
filters for resource types and tags, as supported by the AWS Tagging API GetResources operation. When
more than one element is present, only resources that match all filters are part of the result. If a
filter specifies more than one value for a key, a resource matches the filter if its tag value matches
any of the specified values.
QueryTypepublic String query()
The query that defines a group or a search.
public ResourceQuery.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ResourceQuery.Builder,ResourceQuery>public static ResourceQuery.Builder builder()
public static Class<? extends ResourceQuery.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.