Struct aws_sdk_frauddetector::operation::create_model_version::builders::CreateModelVersionOutputBuilder
source · #[non_exhaustive]pub struct CreateModelVersionOutputBuilder { /* private fields */ }
Expand description
A builder for CreateModelVersionOutput
.
Implementations§
source§impl CreateModelVersionOutputBuilder
impl CreateModelVersionOutputBuilder
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_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 model_version_number(self, input: impl Into<String>) -> Self
pub fn model_version_number(self, input: impl Into<String>) -> Self
The model version number of the model version created.
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 of the model version created.
sourcepub fn get_model_version_number(&self) -> &Option<String>
pub fn get_model_version_number(&self) -> &Option<String>
The model version number of the model version created.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The model version status.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The model version status.
sourcepub fn build(self) -> CreateModelVersionOutput
pub fn build(self) -> CreateModelVersionOutput
Consumes the builder and constructs a CreateModelVersionOutput
.
Trait Implementations§
source§impl Clone for CreateModelVersionOutputBuilder
impl Clone for CreateModelVersionOutputBuilder
source§fn clone(&self) -> CreateModelVersionOutputBuilder
fn clone(&self) -> CreateModelVersionOutputBuilder
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 CreateModelVersionOutputBuilder
impl Default for CreateModelVersionOutputBuilder
source§fn default() -> CreateModelVersionOutputBuilder
fn default() -> CreateModelVersionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateModelVersionOutputBuilder
impl PartialEq for CreateModelVersionOutputBuilder
source§fn eq(&self, other: &CreateModelVersionOutputBuilder) -> bool
fn eq(&self, other: &CreateModelVersionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateModelVersionOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateModelVersionOutputBuilder
impl RefUnwindSafe for CreateModelVersionOutputBuilder
impl Send for CreateModelVersionOutputBuilder
impl Sync for CreateModelVersionOutputBuilder
impl Unpin for CreateModelVersionOutputBuilder
impl UnwindSafe for CreateModelVersionOutputBuilder
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.