@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 in a
SearchResponse. |
String |
nextToken()
If more than
MaxResults resource objects match the specified SearchExpression, the
SearchResponse 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. Currently, the only valid Resource value is
TrainingJob.
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().
Resource
value is TrainingJob.ResourceTypepublic String resourceAsString()
The name of the Amazon SageMaker resource to search for. Currently, the only valid Resource value is
TrainingJob.
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().
Resource
value is TrainingJob.ResourceTypepublic SearchExpression searchExpression()
A Boolean conditional statement. Resource objects 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 resource objects match the specified SearchExpression, the
SearchResponse includes a NextToken. The NextToken can be passed to the
next SearchRequest to continue retrieving results for the specified SearchExpression
and Sort parameters.
MaxResults resource objects match the specified SearchExpression,
the SearchResponse includes a NextToken. The NextToken can be
passed to the next SearchRequest to continue retrieving results for the specified
SearchExpression and Sort parameters.public Integer maxResults()
The maximum number of results to return in a SearchResponse.
SearchResponse.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 © 2019. All rights reserved.