#[non_exhaustive]pub struct UpdateResourceInputBuilder { /* private fields */ }
Expand description
A builder for UpdateResourceInput
.
Implementations§
source§impl UpdateResourceInputBuilder
impl UpdateResourceInputBuilder
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The identifier associated with the organization for which the resource is updated.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The identifier associated with the organization for which the resource is updated.
sourcepub fn get_organization_id(&self) -> &Option<String>
pub fn get_organization_id(&self) -> &Option<String>
The identifier associated with the organization for which the resource is updated.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The identifier of the resource to be updated.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The identifier of the resource to be updated.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The identifier of the resource to be updated.
sourcepub fn booking_options(self, input: BookingOptions) -> Self
pub fn booking_options(self, input: BookingOptions) -> Self
The resource's booking options to be updated.
sourcepub fn set_booking_options(self, input: Option<BookingOptions>) -> Self
pub fn set_booking_options(self, input: Option<BookingOptions>) -> Self
The resource's booking options to be updated.
sourcepub fn get_booking_options(&self) -> &Option<BookingOptions>
pub fn get_booking_options(&self) -> &Option<BookingOptions>
The resource's booking options to be updated.
sourcepub fn build(self) -> Result<UpdateResourceInput, BuildError>
pub fn build(self) -> Result<UpdateResourceInput, BuildError>
Consumes the builder and constructs a UpdateResourceInput
.
source§impl UpdateResourceInputBuilder
impl UpdateResourceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateResourceOutput, SdkError<UpdateResourceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateResourceOutput, SdkError<UpdateResourceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateResourceInputBuilder
impl Clone for UpdateResourceInputBuilder
source§fn clone(&self) -> UpdateResourceInputBuilder
fn clone(&self) -> UpdateResourceInputBuilder
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 Debug for UpdateResourceInputBuilder
impl Debug for UpdateResourceInputBuilder
source§impl Default for UpdateResourceInputBuilder
impl Default for UpdateResourceInputBuilder
source§fn default() -> UpdateResourceInputBuilder
fn default() -> UpdateResourceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateResourceInputBuilder> for UpdateResourceInputBuilder
impl PartialEq<UpdateResourceInputBuilder> for UpdateResourceInputBuilder
source§fn eq(&self, other: &UpdateResourceInputBuilder) -> bool
fn eq(&self, other: &UpdateResourceInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateResourceInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateResourceInputBuilder
impl Send for UpdateResourceInputBuilder
impl Sync for UpdateResourceInputBuilder
impl Unpin for UpdateResourceInputBuilder
impl UnwindSafe for UpdateResourceInputBuilder
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