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