Struct aws_sdk_iotthingsgraph::operation::create_system_template::builders::CreateSystemTemplateFluentBuilder
source · pub struct CreateSystemTemplateFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateSystemTemplate
.
Creates a system. The system is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.
Implementations§
source§impl CreateSystemTemplateFluentBuilder
impl CreateSystemTemplateFluentBuilder
sourcepub fn as_input(&self) -> &CreateSystemTemplateInputBuilder
pub fn as_input(&self) -> &CreateSystemTemplateInputBuilder
Access the CreateSystemTemplate as a reference.
sourcepub async fn send(
self
) -> Result<CreateSystemTemplateOutput, SdkError<CreateSystemTemplateError, HttpResponse>>
pub async fn send( self ) -> Result<CreateSystemTemplateOutput, SdkError<CreateSystemTemplateError, 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<CreateSystemTemplateOutput, CreateSystemTemplateError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateSystemTemplateOutput, CreateSystemTemplateError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn definition(self, input: DefinitionDocument) -> Self
pub fn definition(self, input: DefinitionDocument) -> Self
The DefinitionDocument
used to create the system.
sourcepub fn set_definition(self, input: Option<DefinitionDocument>) -> Self
pub fn set_definition(self, input: Option<DefinitionDocument>) -> Self
The DefinitionDocument
used to create the system.
sourcepub fn get_definition(&self) -> &Option<DefinitionDocument>
pub fn get_definition(&self) -> &Option<DefinitionDocument>
The DefinitionDocument
used to create the system.
sourcepub fn compatible_namespace_version(self, input: i64) -> Self
pub fn compatible_namespace_version(self, input: i64) -> Self
The namespace version in which the system is to be created.
If no value is specified, the latest version is used by default.
sourcepub fn set_compatible_namespace_version(self, input: Option<i64>) -> Self
pub fn set_compatible_namespace_version(self, input: Option<i64>) -> Self
The namespace version in which the system is to be created.
If no value is specified, the latest version is used by default.
sourcepub fn get_compatible_namespace_version(&self) -> &Option<i64>
pub fn get_compatible_namespace_version(&self) -> &Option<i64>
The namespace version in which the system is to be created.
If no value is specified, the latest version is used by default.
Trait Implementations§
source§impl Clone for CreateSystemTemplateFluentBuilder
impl Clone for CreateSystemTemplateFluentBuilder
source§fn clone(&self) -> CreateSystemTemplateFluentBuilder
fn clone(&self) -> CreateSystemTemplateFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more