Struct aws_sdk_bedrock::operation::list_custom_models::builders::ListCustomModelsFluentBuilder
source · pub struct ListCustomModelsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListCustomModels
.
Returns a list of the custom models that you have created with the CreateModelCustomizationJob
operation.
For more information, see Custom models in the Amazon Bedrock User Guide.
Implementations§
source§impl ListCustomModelsFluentBuilder
impl ListCustomModelsFluentBuilder
sourcepub fn as_input(&self) -> &ListCustomModelsInputBuilder
pub fn as_input(&self) -> &ListCustomModelsInputBuilder
Access the ListCustomModels as a reference.
sourcepub async fn send(
self
) -> Result<ListCustomModelsOutput, SdkError<ListCustomModelsError, HttpResponse>>
pub async fn send( self ) -> Result<ListCustomModelsOutput, SdkError<ListCustomModelsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListCustomModelsOutput, ListCustomModelsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListCustomModelsOutput, ListCustomModelsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListCustomModelsPaginator
pub fn into_paginator(self) -> ListCustomModelsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn creation_time_before(self, input: DateTime) -> Self
pub fn creation_time_before(self, input: DateTime) -> Self
Return custom models created before the specified time.
sourcepub fn set_creation_time_before(self, input: Option<DateTime>) -> Self
pub fn set_creation_time_before(self, input: Option<DateTime>) -> Self
Return custom models created before the specified time.
sourcepub fn get_creation_time_before(&self) -> &Option<DateTime>
pub fn get_creation_time_before(&self) -> &Option<DateTime>
Return custom models created before the specified time.
sourcepub fn creation_time_after(self, input: DateTime) -> Self
pub fn creation_time_after(self, input: DateTime) -> Self
Return custom models created after the specified time.
sourcepub fn set_creation_time_after(self, input: Option<DateTime>) -> Self
pub fn set_creation_time_after(self, input: Option<DateTime>) -> Self
Return custom models created after the specified time.
sourcepub fn get_creation_time_after(&self) -> &Option<DateTime>
pub fn get_creation_time_after(&self) -> &Option<DateTime>
Return custom models created after the specified time.
sourcepub fn name_contains(self, input: impl Into<String>) -> Self
pub fn name_contains(self, input: impl Into<String>) -> Self
Return custom models only if the job name contains these characters.
sourcepub fn set_name_contains(self, input: Option<String>) -> Self
pub fn set_name_contains(self, input: Option<String>) -> Self
Return custom models only if the job name contains these characters.
sourcepub fn get_name_contains(&self) -> &Option<String>
pub fn get_name_contains(&self) -> &Option<String>
Return custom models only if the job name contains these characters.
sourcepub fn base_model_arn_equals(self, input: impl Into<String>) -> Self
pub fn base_model_arn_equals(self, input: impl Into<String>) -> Self
Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter.
sourcepub fn set_base_model_arn_equals(self, input: Option<String>) -> Self
pub fn set_base_model_arn_equals(self, input: Option<String>) -> Self
Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter.
sourcepub fn get_base_model_arn_equals(&self) -> &Option<String>
pub fn get_base_model_arn_equals(&self) -> &Option<String>
Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter.
sourcepub fn foundation_model_arn_equals(self, input: impl Into<String>) -> Self
pub fn foundation_model_arn_equals(self, input: impl Into<String>) -> Self
Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.
sourcepub fn set_foundation_model_arn_equals(self, input: Option<String>) -> Self
pub fn set_foundation_model_arn_equals(self, input: Option<String>) -> Self
Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.
sourcepub fn get_foundation_model_arn_equals(&self) -> &Option<String>
pub fn get_foundation_model_arn_equals(&self) -> &Option<String>
Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Maximum number of results to return in the response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Maximum number of results to return in the response.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Maximum number of results to return in the response.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Continuation token from the previous response, for Amazon Bedrock to list the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Continuation token from the previous response, for Amazon Bedrock to list the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Continuation token from the previous response, for Amazon Bedrock to list the next set of results.
sourcepub fn sort_by(self, input: SortModelsBy) -> Self
pub fn sort_by(self, input: SortModelsBy) -> Self
The field to sort by in the returned list of models.
sourcepub fn set_sort_by(self, input: Option<SortModelsBy>) -> Self
pub fn set_sort_by(self, input: Option<SortModelsBy>) -> Self
The field to sort by in the returned list of models.
sourcepub fn get_sort_by(&self) -> &Option<SortModelsBy>
pub fn get_sort_by(&self) -> &Option<SortModelsBy>
The field to sort by in the returned list of models.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
The sort order of the results.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
The sort order of the results.
sourcepub fn get_sort_order(&self) -> &Option<SortOrder>
pub fn get_sort_order(&self) -> &Option<SortOrder>
The sort order of the results.
Trait Implementations§
source§impl Clone for ListCustomModelsFluentBuilder
impl Clone for ListCustomModelsFluentBuilder
source§fn clone(&self) -> ListCustomModelsFluentBuilder
fn clone(&self) -> ListCustomModelsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ListCustomModelsFluentBuilder
impl !RefUnwindSafe for ListCustomModelsFluentBuilder
impl Send for ListCustomModelsFluentBuilder
impl Sync for ListCustomModelsFluentBuilder
impl Unpin for ListCustomModelsFluentBuilder
impl !UnwindSafe for ListCustomModelsFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more