@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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final 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()
.
ResourceType
public final 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()
.
ResourceType
public final 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 final String sortBy()
The name of the resource property used to sort the SearchResults
. The default is
LastModifiedTime
.
SearchResults
. The default is
LastModifiedTime
.public final 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
.SearchSortOrder
public final 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
.SearchSortOrder
public final 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 final Integer maxResults()
The maximum number of results to return.
public SearchRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<SearchRequest.Builder,SearchRequest>
toBuilder
in class SageMakerRequest
public static SearchRequest.Builder builder()
public static Class<? extends SearchRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2021. All rights reserved.