Struct aws_sdk_iotthingsgraph::operation::update_system_template::builders::UpdateSystemTemplateInputBuilder
source · #[non_exhaustive]pub struct UpdateSystemTemplateInputBuilder { /* private fields */ }
Expand description
A builder for UpdateSystemTemplateInput
.
Implementations§
source§impl UpdateSystemTemplateInputBuilder
impl UpdateSystemTemplateInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the system to be updated.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID of the system to be updated.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The ID of the system to be updated.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:system:SYSTEMNAME
sourcepub fn definition(self, input: DefinitionDocument) -> Self
pub fn definition(self, input: DefinitionDocument) -> Self
The DefinitionDocument
that contains the updated system definition.
sourcepub fn set_definition(self, input: Option<DefinitionDocument>) -> Self
pub fn set_definition(self, input: Option<DefinitionDocument>) -> Self
The DefinitionDocument
that contains the updated system definition.
sourcepub fn get_definition(&self) -> &Option<DefinitionDocument>
pub fn get_definition(&self) -> &Option<DefinitionDocument>
The DefinitionDocument
that contains the updated system definition.
sourcepub fn compatible_namespace_version(self, input: i64) -> Self
pub fn compatible_namespace_version(self, input: i64) -> Self
The version of the user's namespace. Defaults to the latest version of the user's namespace.
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 version of the user's namespace. Defaults to the latest version of the user's namespace.
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 version of the user's namespace. Defaults to the latest version of the user's namespace.
If no value is specified, the latest version is used by default.
sourcepub fn build(self) -> Result<UpdateSystemTemplateInput, BuildError>
pub fn build(self) -> Result<UpdateSystemTemplateInput, BuildError>
Consumes the builder and constructs a UpdateSystemTemplateInput
.
source§impl UpdateSystemTemplateInputBuilder
impl UpdateSystemTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateSystemTemplateOutput, SdkError<UpdateSystemTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateSystemTemplateOutput, SdkError<UpdateSystemTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSystemTemplateInputBuilder
impl Clone for UpdateSystemTemplateInputBuilder
source§fn clone(&self) -> UpdateSystemTemplateInputBuilder
fn clone(&self) -> UpdateSystemTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateSystemTemplateInputBuilder
impl Default for UpdateSystemTemplateInputBuilder
source§fn default() -> UpdateSystemTemplateInputBuilder
fn default() -> UpdateSystemTemplateInputBuilder
source§impl PartialEq for UpdateSystemTemplateInputBuilder
impl PartialEq for UpdateSystemTemplateInputBuilder
source§fn eq(&self, other: &UpdateSystemTemplateInputBuilder) -> bool
fn eq(&self, other: &UpdateSystemTemplateInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateSystemTemplateInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateSystemTemplateInputBuilder
impl RefUnwindSafe for UpdateSystemTemplateInputBuilder
impl Send for UpdateSystemTemplateInputBuilder
impl Sync for UpdateSystemTemplateInputBuilder
impl Unpin for UpdateSystemTemplateInputBuilder
impl UnwindSafe for UpdateSystemTemplateInputBuilder
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