Class SearchIndexRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iot.model.IotRequest
-
- software.amazon.awssdk.services.iot.model.SearchIndexRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<SearchIndexRequest.Builder,SearchIndexRequest>
@Generated("software.amazon.awssdk:codegen") public final class SearchIndexRequest extends IotRequest implements ToCopyableBuilder<SearchIndexRequest.Builder,SearchIndexRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSearchIndexRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchIndexRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringindexName()The search index name.IntegermaxResults()The maximum number of results to return per page at one time.StringnextToken()The token used to get the next set of results, ornullif there are no additional results.StringqueryString()The search query string.StringqueryVersion()The query version.List<SdkField<?>>sdkFields()static Class<? extends SearchIndexRequest.Builder>serializableBuilderClass()SearchIndexRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
indexName
public final String indexName()
The search index name.
- Returns:
- The search index name.
-
queryString
public final String queryString()
The search query string. For more information about the search query syntax, see Query syntax.
- Returns:
- The search query string. For more information about the search query syntax, see Query syntax.
-
nextToken
public final String nextToken()
The token used to get the next set of results, or
nullif there are no additional results.- Returns:
- The token used to get the next set of results, or
nullif there are no additional results.
-
maxResults
public final Integer maxResults()
The maximum number of results to return per page at one time. This maximum number cannot exceed 100. The response might contain fewer results but will never contain more. You can use
nextTokento retrieve the next set of results untilnextTokenreturnsNULL.- Returns:
- The maximum number of results to return per page at one time. This maximum number cannot exceed 100. The
response might contain fewer results but will never contain more. You can use
nextTokento retrieve the next set of results untilnextTokenreturnsNULL.
-
queryVersion
public final String queryVersion()
The query version.
- Returns:
- The query version.
-
toBuilder
public SearchIndexRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SearchIndexRequest.Builder,SearchIndexRequest>- Specified by:
toBuilderin classIotRequest
-
builder
public static SearchIndexRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends SearchIndexRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-