Struct aws_sdk_iotthingsgraph::operation::create_system_template::builders::CreateSystemTemplateInputBuilder
source · #[non_exhaustive]pub struct CreateSystemTemplateInputBuilder { /* private fields */ }
Expand description
A builder for CreateSystemTemplateInput
.
Implementations§
source§impl CreateSystemTemplateInputBuilder
impl CreateSystemTemplateInputBuilder
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.
sourcepub fn build(self) -> Result<CreateSystemTemplateInput, BuildError>
pub fn build(self) -> Result<CreateSystemTemplateInput, BuildError>
Consumes the builder and constructs a CreateSystemTemplateInput
.
source§impl CreateSystemTemplateInputBuilder
impl CreateSystemTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateSystemTemplateOutput, SdkError<CreateSystemTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateSystemTemplateOutput, SdkError<CreateSystemTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSystemTemplateInputBuilder
impl Clone for CreateSystemTemplateInputBuilder
source§fn clone(&self) -> CreateSystemTemplateInputBuilder
fn clone(&self) -> CreateSystemTemplateInputBuilder
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 CreateSystemTemplateInputBuilder
impl Default for CreateSystemTemplateInputBuilder
source§fn default() -> CreateSystemTemplateInputBuilder
fn default() -> CreateSystemTemplateInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateSystemTemplateInputBuilder
impl PartialEq for CreateSystemTemplateInputBuilder
source§fn eq(&self, other: &CreateSystemTemplateInputBuilder) -> bool
fn eq(&self, other: &CreateSystemTemplateInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSystemTemplateInputBuilder
Auto Trait Implementations§
impl Freeze for CreateSystemTemplateInputBuilder
impl RefUnwindSafe for CreateSystemTemplateInputBuilder
impl Send for CreateSystemTemplateInputBuilder
impl Sync for CreateSystemTemplateInputBuilder
impl Unpin for CreateSystemTemplateInputBuilder
impl UnwindSafe for CreateSystemTemplateInputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.