Struct aws_sdk_frauddetector::operation::describe_model_versions::builders::DescribeModelVersionsFluentBuilder
source · pub struct DescribeModelVersionsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeModelVersions
.
Gets all of the model versions for the specified model type or for the specified model type and model ID. You can also get details for a single, specified model version.
Implementations§
source§impl DescribeModelVersionsFluentBuilder
impl DescribeModelVersionsFluentBuilder
sourcepub fn as_input(&self) -> &DescribeModelVersionsInputBuilder
pub fn as_input(&self) -> &DescribeModelVersionsInputBuilder
Access the DescribeModelVersions as a reference.
sourcepub async fn send(
self
) -> Result<DescribeModelVersionsOutput, SdkError<DescribeModelVersionsError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeModelVersionsOutput, SdkError<DescribeModelVersionsError, 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<DescribeModelVersionsOutput, DescribeModelVersionsError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeModelVersionsOutput, DescribeModelVersionsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> DescribeModelVersionsPaginator
pub fn into_paginator(self) -> DescribeModelVersionsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn set_model_id(self, input: Option<String>) -> Self
pub fn set_model_id(self, input: Option<String>) -> Self
The model ID.
sourcepub fn get_model_id(&self) -> &Option<String>
pub fn get_model_id(&self) -> &Option<String>
The model ID.
sourcepub fn model_version_number(self, input: impl Into<String>) -> Self
pub fn model_version_number(self, input: impl Into<String>) -> Self
The model version number.
sourcepub fn set_model_version_number(self, input: Option<String>) -> Self
pub fn set_model_version_number(self, input: Option<String>) -> Self
The model version number.
sourcepub fn get_model_version_number(&self) -> &Option<String>
pub fn get_model_version_number(&self) -> &Option<String>
The model version number.
sourcepub fn model_type(self, input: ModelTypeEnum) -> Self
pub fn model_type(self, input: ModelTypeEnum) -> Self
The model type.
sourcepub fn set_model_type(self, input: Option<ModelTypeEnum>) -> Self
pub fn set_model_type(self, input: Option<ModelTypeEnum>) -> Self
The model type.
sourcepub fn get_model_type(&self) -> &Option<ModelTypeEnum>
pub fn get_model_type(&self) -> &Option<ModelTypeEnum>
The model type.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The next token from the previous results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The next token from the previous results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The next token from the previous results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return.
Trait Implementations§
source§impl Clone for DescribeModelVersionsFluentBuilder
impl Clone for DescribeModelVersionsFluentBuilder
source§fn clone(&self) -> DescribeModelVersionsFluentBuilder
fn clone(&self) -> DescribeModelVersionsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more