@Generated(value="software.amazon.awssdk:codegen") public final class SearchResourcesRequest extends ResourceGroupsRequest implements ToCopyableBuilder<SearchResourcesRequest.Builder,SearchResourcesRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
SearchResourcesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static SearchResourcesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxResults()
The maximum number of group member ARNs returned by
SearchResources in paginated output. |
String |
nextToken()
The NextToken value that is returned in a paginated
SearchResources request. |
ResourceQuery |
resourceQuery()
The search query, using the same formats that are supported for resource group definition.
|
static Class<? extends SearchResourcesRequest.Builder> |
serializableBuilderClass() |
SearchResourcesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public ResourceQuery resourceQuery()
The search query, using the same formats that are supported for resource group definition.
public Integer maxResults()
The maximum number of group member ARNs returned by SearchResources
in paginated output. By default,
this number is 50.
SearchResources
in paginated output. By
default, this number is 50.public String nextToken()
The NextToken value that is returned in a paginated SearchResources
request. To get the next page of
results, run the call again, add the NextToken parameter, and specify the NextToken value.
SearchResources
request. To get the next
page of results, run the call again, add the NextToken parameter, and specify the NextToken value.public SearchResourcesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SearchResourcesRequest.Builder,SearchResourcesRequest>
toBuilder
in class ResourceGroupsRequest
public static SearchResourcesRequest.Builder builder()
public static Class<? extends SearchResourcesRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.