pub struct CreateModelFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateModel
.
Creates a model using the specified model type.
Implementations§
source§impl CreateModelFluentBuilder
impl CreateModelFluentBuilder
sourcepub fn as_input(&self) -> &CreateModelInputBuilder
pub fn as_input(&self) -> &CreateModelInputBuilder
Access the CreateModel as a reference.
sourcepub async fn send(
self
) -> Result<CreateModelOutput, SdkError<CreateModelError, HttpResponse>>
pub async fn send( self ) -> Result<CreateModelOutput, SdkError<CreateModelError, 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<CreateModelOutput, CreateModelError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateModelOutput, CreateModelError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The model description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The model description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The model description.
sourcepub fn event_type_name(self, input: impl Into<String>) -> Self
pub fn event_type_name(self, input: impl Into<String>) -> Self
The name of the event type.
sourcepub fn set_event_type_name(self, input: Option<String>) -> Self
pub fn set_event_type_name(self, input: Option<String>) -> Self
The name of the event type.
sourcepub fn get_event_type_name(&self) -> &Option<String>
pub fn get_event_type_name(&self) -> &Option<String>
The name of the event type.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A collection of key and value pairs.
A collection of key and value pairs.
A collection of key and value pairs.
Trait Implementations§
source§impl Clone for CreateModelFluentBuilder
impl Clone for CreateModelFluentBuilder
source§fn clone(&self) -> CreateModelFluentBuilder
fn clone(&self) -> CreateModelFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more