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 moreAuto Trait Implementationsยง
impl Freeze for CreateSystemTemplateFluentBuilder
impl !RefUnwindSafe for CreateSystemTemplateFluentBuilder
impl Send for CreateSystemTemplateFluentBuilder
impl Sync for CreateSystemTemplateFluentBuilder
impl Unpin for CreateSystemTemplateFluentBuilder
impl !UnwindSafe for CreateSystemTemplateFluentBuilder
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
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>
sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more