@Generated(value="software.amazon.awssdk:codegen") public final class ListCustomModelsRequest extends BedrockRequest implements ToCopyableBuilder<ListCustomModelsRequest.Builder,ListCustomModelsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListCustomModelsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
baseModelArnEquals()
Return custom models only if the base model ARN matches this parameter.
|
static ListCustomModelsRequest.Builder |
builder() |
Instant |
creationTimeAfter()
Return custom models created after the specified time.
|
Instant |
creationTimeBefore()
Return custom models created before the specified time.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
foundationModelArnEquals()
Return custom models only if the foundation model ARN matches this parameter.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
Maximum number of results to return in the response.
|
String |
nameContains()
Return custom models only if the job name contains these characters.
|
String |
nextToken()
Continuation token from the previous response, for Bedrock to list the next set of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListCustomModelsRequest.Builder> |
serializableBuilderClass() |
SortModelsBy |
sortBy()
The field to sort by in the returned list of models.
|
String |
sortByAsString()
The field to sort by in the returned list of models.
|
SortOrder |
sortOrder()
The sort order of the results.
|
String |
sortOrderAsString()
The sort order of the results.
|
ListCustomModelsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant creationTimeBefore()
Return custom models created before the specified time.
public final Instant creationTimeAfter()
Return custom models created after the specified time.
public final String nameContains()
Return custom models only if the job name contains these characters.
public final String baseModelArnEquals()
Return custom models only if the base model ARN matches this parameter.
public final String foundationModelArnEquals()
Return custom models only if the foundation model ARN matches this parameter.
public final Integer maxResults()
Maximum number of results to return in the response.
public final String nextToken()
Continuation token from the previous response, for Bedrock to list the next set of results.
public final SortModelsBy sortBy()
The field to sort by in the returned list of models.
If the service returns an enum value that is not available in the current SDK version, sortBy will
return SortModelsBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortByAsString().
SortModelsBypublic final String sortByAsString()
The field to sort by in the returned list of models.
If the service returns an enum value that is not available in the current SDK version, sortBy will
return SortModelsBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortByAsString().
SortModelsBypublic final SortOrder sortOrder()
The sort order of the results.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
SortOrderpublic final String sortOrderAsString()
The sort order of the results.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
SortOrderpublic ListCustomModelsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListCustomModelsRequest.Builder,ListCustomModelsRequest>toBuilder in class BedrockRequestpublic static ListCustomModelsRequest.Builder builder()
public static Class<? extends ListCustomModelsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.