@Generated(value="software.amazon.awssdk:codegen") public final class SearchRequest extends SageMakerRequest implements ToCopyableBuilder<SearchRequest.Builder,SearchRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SearchRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SearchRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to return.
|
String |
nextToken()
If more than
MaxResults resources match the specified SearchExpression, the response
includes a NextToken. |
ResourceType |
resource()
The name of the Amazon SageMaker resource to search for.
|
String |
resourceAsString()
The name of the Amazon SageMaker resource to search for.
|
List<SdkField<?>> |
sdkFields() |
SearchExpression |
searchExpression()
A Boolean conditional statement.
|
static Class<? extends SearchRequest.Builder> |
serializableBuilderClass() |
String |
sortBy()
The name of the resource property used to sort the
SearchResults. |
SearchSortOrder |
sortOrder()
How
SearchResults are ordered. |
String |
sortOrderAsString()
How
SearchResults are ordered. |
SearchRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic ResourceType resource()
The name of the Amazon SageMaker resource to search for.
If the service returns an enum value that is not available in the current SDK version, resource will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceAsString().
ResourceTypepublic String resourceAsString()
The name of the Amazon SageMaker resource to search for.
If the service returns an enum value that is not available in the current SDK version, resource will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceAsString().
ResourceTypepublic SearchExpression searchExpression()
A Boolean conditional statement. Resources must satisfy this condition to be included in search results. You must
provide at least one subexpression, filter, or nested filter. The maximum number of recursive
SubExpressions, NestedFilters, and Filters that can be included in a
SearchExpression object is 50.
SubExpressions, NestedFilters, and Filters that can be included in
a SearchExpression object is 50.public String sortBy()
The name of the resource property used to sort the SearchResults. The default is
LastModifiedTime.
SearchResults. The default is
LastModifiedTime.public SearchSortOrder sortOrder()
How SearchResults are ordered. Valid values are Ascending or Descending.
The default is Descending.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SearchSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
SearchResults are ordered. Valid values are Ascending or
Descending. The default is Descending.SearchSortOrderpublic String sortOrderAsString()
How SearchResults are ordered. Valid values are Ascending or Descending.
The default is Descending.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SearchSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
SearchResults are ordered. Valid values are Ascending or
Descending. The default is Descending.SearchSortOrderpublic String nextToken()
If more than MaxResults resources match the specified SearchExpression, the response
includes a NextToken. The NextToken can be passed to the next
SearchRequest to continue retrieving results.
MaxResults resources match the specified SearchExpression, the
response includes a NextToken. The NextToken can be passed to the next
SearchRequest to continue retrieving results.public Integer maxResults()
The maximum number of results to return.
public SearchRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SearchRequest.Builder,SearchRequest>toBuilder in class SageMakerRequestpublic static SearchRequest.Builder builder()
public static Class<? extends SearchRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.