@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCustomModelsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListCustomModelsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListCustomModelsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBaseModelArnEquals()
Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter.
|
Date |
getCreationTimeAfter()
Return custom models created after the specified time.
|
Date |
getCreationTimeBefore()
Return custom models created before the specified time.
|
String |
getFoundationModelArnEquals()
Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.
|
Integer |
getMaxResults()
Maximum number of results to return in the response.
|
String |
getNameContains()
Return custom models only if the job name contains these characters.
|
String |
getNextToken()
Continuation token from the previous response, for Amazon Bedrock to list the next set of results.
|
String |
getSortBy()
The field to sort by in the returned list of models.
|
String |
getSortOrder()
The sort order of the results.
|
int |
hashCode() |
void |
setBaseModelArnEquals(String baseModelArnEquals)
Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter.
|
void |
setCreationTimeAfter(Date creationTimeAfter)
Return custom models created after the specified time.
|
void |
setCreationTimeBefore(Date creationTimeBefore)
Return custom models created before the specified time.
|
void |
setFoundationModelArnEquals(String foundationModelArnEquals)
Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.
|
void |
setMaxResults(Integer maxResults)
Maximum number of results to return in the response.
|
void |
setNameContains(String nameContains)
Return custom models only if the job name contains these characters.
|
void |
setNextToken(String nextToken)
Continuation token from the previous response, for Amazon Bedrock to list the next set of results.
|
void |
setSortBy(String sortBy)
The field to sort by in the returned list of models.
|
void |
setSortOrder(String sortOrder)
The sort order of the results.
|
String |
toString()
Returns a string representation of this object.
|
ListCustomModelsRequest |
withBaseModelArnEquals(String baseModelArnEquals)
Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter.
|
ListCustomModelsRequest |
withCreationTimeAfter(Date creationTimeAfter)
Return custom models created after the specified time.
|
ListCustomModelsRequest |
withCreationTimeBefore(Date creationTimeBefore)
Return custom models created before the specified time.
|
ListCustomModelsRequest |
withFoundationModelArnEquals(String foundationModelArnEquals)
Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.
|
ListCustomModelsRequest |
withMaxResults(Integer maxResults)
Maximum number of results to return in the response.
|
ListCustomModelsRequest |
withNameContains(String nameContains)
Return custom models only if the job name contains these characters.
|
ListCustomModelsRequest |
withNextToken(String nextToken)
Continuation token from the previous response, for Amazon Bedrock to list the next set of results.
|
ListCustomModelsRequest |
withSortBy(SortModelsBy sortBy)
The field to sort by in the returned list of models.
|
ListCustomModelsRequest |
withSortBy(String sortBy)
The field to sort by in the returned list of models.
|
ListCustomModelsRequest |
withSortOrder(SortOrder sortOrder)
The sort order of the results.
|
ListCustomModelsRequest |
withSortOrder(String sortOrder)
The sort order of the results.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setCreationTimeBefore(Date creationTimeBefore)
Return custom models created before the specified time.
creationTimeBefore - Return custom models created before the specified time.public Date getCreationTimeBefore()
Return custom models created before the specified time.
public ListCustomModelsRequest withCreationTimeBefore(Date creationTimeBefore)
Return custom models created before the specified time.
creationTimeBefore - Return custom models created before the specified time.public void setCreationTimeAfter(Date creationTimeAfter)
Return custom models created after the specified time.
creationTimeAfter - Return custom models created after the specified time.public Date getCreationTimeAfter()
Return custom models created after the specified time.
public ListCustomModelsRequest withCreationTimeAfter(Date creationTimeAfter)
Return custom models created after the specified time.
creationTimeAfter - Return custom models created after the specified time.public void setNameContains(String nameContains)
Return custom models only if the job name contains these characters.
nameContains - Return custom models only if the job name contains these characters.public String getNameContains()
Return custom models only if the job name contains these characters.
public ListCustomModelsRequest withNameContains(String nameContains)
Return custom models only if the job name contains these characters.
nameContains - Return custom models only if the job name contains these characters.public void setBaseModelArnEquals(String baseModelArnEquals)
Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter.
baseModelArnEquals - Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter.public String getBaseModelArnEquals()
Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter.
public ListCustomModelsRequest withBaseModelArnEquals(String baseModelArnEquals)
Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter.
baseModelArnEquals - Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter.public void setFoundationModelArnEquals(String foundationModelArnEquals)
Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.
foundationModelArnEquals - Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.public String getFoundationModelArnEquals()
Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.
public ListCustomModelsRequest withFoundationModelArnEquals(String foundationModelArnEquals)
Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.
foundationModelArnEquals - Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.public void setMaxResults(Integer maxResults)
Maximum number of results to return in the response.
maxResults - Maximum number of results to return in the response.public Integer getMaxResults()
Maximum number of results to return in the response.
public ListCustomModelsRequest withMaxResults(Integer maxResults)
Maximum number of results to return in the response.
maxResults - Maximum number of results to return in the response.public void setNextToken(String nextToken)
Continuation token from the previous response, for Amazon Bedrock to list the next set of results.
nextToken - Continuation token from the previous response, for Amazon Bedrock to list the next set of results.public String getNextToken()
Continuation token from the previous response, for Amazon Bedrock to list the next set of results.
public ListCustomModelsRequest withNextToken(String nextToken)
Continuation token from the previous response, for Amazon Bedrock to list the next set of results.
nextToken - Continuation token from the previous response, for Amazon Bedrock to list the next set of results.public void setSortBy(String sortBy)
The field to sort by in the returned list of models.
sortBy - The field to sort by in the returned list of models.SortModelsBypublic String getSortBy()
The field to sort by in the returned list of models.
SortModelsBypublic ListCustomModelsRequest withSortBy(String sortBy)
The field to sort by in the returned list of models.
sortBy - The field to sort by in the returned list of models.SortModelsBypublic ListCustomModelsRequest withSortBy(SortModelsBy sortBy)
The field to sort by in the returned list of models.
sortBy - The field to sort by in the returned list of models.SortModelsBypublic void setSortOrder(String sortOrder)
The sort order of the results.
sortOrder - The sort order of the results.SortOrderpublic String getSortOrder()
The sort order of the results.
SortOrderpublic ListCustomModelsRequest withSortOrder(String sortOrder)
The sort order of the results.
sortOrder - The sort order of the results.SortOrderpublic ListCustomModelsRequest withSortOrder(SortOrder sortOrder)
The sort order of the results.
sortOrder - The sort order of the results.SortOrderpublic String toString()
toString in class ObjectObject.toString()public ListCustomModelsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()