Struct aws_sdk_sagemaker::operation::update_inference_component_runtime_config::builders::UpdateInferenceComponentRuntimeConfigInputBuilder
source · #[non_exhaustive]pub struct UpdateInferenceComponentRuntimeConfigInputBuilder { /* private fields */ }
Expand description
A builder for UpdateInferenceComponentRuntimeConfigInput
.
Implementations§
source§impl UpdateInferenceComponentRuntimeConfigInputBuilder
impl UpdateInferenceComponentRuntimeConfigInputBuilder
sourcepub fn inference_component_name(self, input: impl Into<String>) -> Self
pub fn inference_component_name(self, input: impl Into<String>) -> Self
The name of the inference component to update.
This field is required.sourcepub fn set_inference_component_name(self, input: Option<String>) -> Self
pub fn set_inference_component_name(self, input: Option<String>) -> Self
The name of the inference component to update.
sourcepub fn get_inference_component_name(&self) -> &Option<String>
pub fn get_inference_component_name(&self) -> &Option<String>
The name of the inference component to update.
sourcepub fn desired_runtime_config(
self,
input: InferenceComponentRuntimeConfig
) -> Self
pub fn desired_runtime_config( self, input: InferenceComponentRuntimeConfig ) -> Self
Runtime settings for a model that is deployed with an inference component.
This field is required.sourcepub fn set_desired_runtime_config(
self,
input: Option<InferenceComponentRuntimeConfig>
) -> Self
pub fn set_desired_runtime_config( self, input: Option<InferenceComponentRuntimeConfig> ) -> Self
Runtime settings for a model that is deployed with an inference component.
sourcepub fn get_desired_runtime_config(
&self
) -> &Option<InferenceComponentRuntimeConfig>
pub fn get_desired_runtime_config( &self ) -> &Option<InferenceComponentRuntimeConfig>
Runtime settings for a model that is deployed with an inference component.
sourcepub fn build(
self
) -> Result<UpdateInferenceComponentRuntimeConfigInput, BuildError>
pub fn build( self ) -> Result<UpdateInferenceComponentRuntimeConfigInput, BuildError>
Consumes the builder and constructs a UpdateInferenceComponentRuntimeConfigInput
.
source§impl UpdateInferenceComponentRuntimeConfigInputBuilder
impl UpdateInferenceComponentRuntimeConfigInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateInferenceComponentRuntimeConfigOutput, SdkError<UpdateInferenceComponentRuntimeConfigError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateInferenceComponentRuntimeConfigOutput, SdkError<UpdateInferenceComponentRuntimeConfigError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateInferenceComponentRuntimeConfigInputBuilder
impl Clone for UpdateInferenceComponentRuntimeConfigInputBuilder
source§fn clone(&self) -> UpdateInferenceComponentRuntimeConfigInputBuilder
fn clone(&self) -> UpdateInferenceComponentRuntimeConfigInputBuilder
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 UpdateInferenceComponentRuntimeConfigInputBuilder
impl Default for UpdateInferenceComponentRuntimeConfigInputBuilder
source§fn default() -> UpdateInferenceComponentRuntimeConfigInputBuilder
fn default() -> UpdateInferenceComponentRuntimeConfigInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateInferenceComponentRuntimeConfigInputBuilder
impl PartialEq for UpdateInferenceComponentRuntimeConfigInputBuilder
source§fn eq(&self, other: &UpdateInferenceComponentRuntimeConfigInputBuilder) -> bool
fn eq(&self, other: &UpdateInferenceComponentRuntimeConfigInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateInferenceComponentRuntimeConfigInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateInferenceComponentRuntimeConfigInputBuilder
impl Send for UpdateInferenceComponentRuntimeConfigInputBuilder
impl Sync for UpdateInferenceComponentRuntimeConfigInputBuilder
impl Unpin for UpdateInferenceComponentRuntimeConfigInputBuilder
impl UnwindSafe for UpdateInferenceComponentRuntimeConfigInputBuilder
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.