Struct aws_sdk_robomaker::operation::update_world_template::builders::UpdateWorldTemplateInputBuilder
source · #[non_exhaustive]pub struct UpdateWorldTemplateInputBuilder { /* private fields */ }Expand description
A builder for UpdateWorldTemplateInput.
Implementations§
source§impl UpdateWorldTemplateInputBuilder
impl UpdateWorldTemplateInputBuilder
sourcepub fn template(self, input: impl Into<String>) -> Self
pub fn template(self, input: impl Into<String>) -> Self
The Amazon Resource Name (arn) of the world template to update.
This field is required.sourcepub fn set_template(self, input: Option<String>) -> Self
pub fn set_template(self, input: Option<String>) -> Self
The Amazon Resource Name (arn) of the world template to update.
sourcepub fn get_template(&self) -> &Option<String>
pub fn get_template(&self) -> &Option<String>
The Amazon Resource Name (arn) of the world template to update.
sourcepub fn template_body(self, input: impl Into<String>) -> Self
pub fn template_body(self, input: impl Into<String>) -> Self
The world template body.
sourcepub fn set_template_body(self, input: Option<String>) -> Self
pub fn set_template_body(self, input: Option<String>) -> Self
The world template body.
sourcepub fn get_template_body(&self) -> &Option<String>
pub fn get_template_body(&self) -> &Option<String>
The world template body.
sourcepub fn template_location(self, input: TemplateLocation) -> Self
pub fn template_location(self, input: TemplateLocation) -> Self
The location of the world template.
sourcepub fn set_template_location(self, input: Option<TemplateLocation>) -> Self
pub fn set_template_location(self, input: Option<TemplateLocation>) -> Self
The location of the world template.
sourcepub fn get_template_location(&self) -> &Option<TemplateLocation>
pub fn get_template_location(&self) -> &Option<TemplateLocation>
The location of the world template.
sourcepub fn build(self) -> Result<UpdateWorldTemplateInput, BuildError>
pub fn build(self) -> Result<UpdateWorldTemplateInput, BuildError>
Consumes the builder and constructs a UpdateWorldTemplateInput.
source§impl UpdateWorldTemplateInputBuilder
impl UpdateWorldTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateWorldTemplateOutput, SdkError<UpdateWorldTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateWorldTemplateOutput, SdkError<UpdateWorldTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateWorldTemplateInputBuilder
impl Clone for UpdateWorldTemplateInputBuilder
source§fn clone(&self) -> UpdateWorldTemplateInputBuilder
fn clone(&self) -> UpdateWorldTemplateInputBuilder
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 UpdateWorldTemplateInputBuilder
impl Default for UpdateWorldTemplateInputBuilder
source§fn default() -> UpdateWorldTemplateInputBuilder
fn default() -> UpdateWorldTemplateInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateWorldTemplateInputBuilder
impl PartialEq for UpdateWorldTemplateInputBuilder
source§fn eq(&self, other: &UpdateWorldTemplateInputBuilder) -> bool
fn eq(&self, other: &UpdateWorldTemplateInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateWorldTemplateInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateWorldTemplateInputBuilder
impl Send for UpdateWorldTemplateInputBuilder
impl Sync for UpdateWorldTemplateInputBuilder
impl Unpin for UpdateWorldTemplateInputBuilder
impl UnwindSafe for UpdateWorldTemplateInputBuilder
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>
Creates a shared type from an unshared type.