Struct aws_sdk_frauddetector::operation::describe_model_versions::builders::DescribeModelVersionsInputBuilder
source · #[non_exhaustive]pub struct DescribeModelVersionsInputBuilder { /* private fields */ }
Expand description
A builder for DescribeModelVersionsInput
.
Implementations§
source§impl DescribeModelVersionsInputBuilder
impl DescribeModelVersionsInputBuilder
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.
sourcepub fn build(self) -> Result<DescribeModelVersionsInput, BuildError>
pub fn build(self) -> Result<DescribeModelVersionsInput, BuildError>
Consumes the builder and constructs a DescribeModelVersionsInput
.
source§impl DescribeModelVersionsInputBuilder
impl DescribeModelVersionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeModelVersionsOutput, SdkError<DescribeModelVersionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeModelVersionsOutput, SdkError<DescribeModelVersionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeModelVersionsInputBuilder
impl Clone for DescribeModelVersionsInputBuilder
source§fn clone(&self) -> DescribeModelVersionsInputBuilder
fn clone(&self) -> DescribeModelVersionsInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DescribeModelVersionsInputBuilder
impl Default for DescribeModelVersionsInputBuilder
source§fn default() -> DescribeModelVersionsInputBuilder
fn default() -> DescribeModelVersionsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeModelVersionsInputBuilder
impl PartialEq for DescribeModelVersionsInputBuilder
source§fn eq(&self, other: &DescribeModelVersionsInputBuilder) -> bool
fn eq(&self, other: &DescribeModelVersionsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeModelVersionsInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeModelVersionsInputBuilder
impl RefUnwindSafe for DescribeModelVersionsInputBuilder
impl Send for DescribeModelVersionsInputBuilder
impl Sync for DescribeModelVersionsInputBuilder
impl Unpin for DescribeModelVersionsInputBuilder
impl UnwindSafe for DescribeModelVersionsInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.