#[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 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 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 build(self) -> Result<UpdateResourceInput, BuildError>
pub fn build(self) -> Result<UpdateResourceInput, BuildError>
Consumes the builder and constructs a UpdateResourceInput.
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 ==.