Struct aws_sdk_datazone::operation::update_domain_unit::builders::UpdateDomainUnitInputBuilder
source · #[non_exhaustive]pub struct UpdateDomainUnitInputBuilder { /* private fields */ }
Expand description
A builder for UpdateDomainUnitInput
.
Implementations§
source§impl UpdateDomainUnitInputBuilder
impl UpdateDomainUnitInputBuilder
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The ID of the domain where you want to update a domain unit.
This field is required.sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The ID of the domain where you want to update a domain unit.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The ID of the domain where you want to update a domain unit.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The ID of the domain unit that you want to update.
This field is required.sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The ID of the domain unit that you want to update.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The ID of the domain unit that you want to update.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the domain unit that you want to update.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the domain unit that you want to update.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the domain unit that you want to update.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the domain unit that you want to update.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the domain unit that you want to update.
sourcepub fn build(self) -> Result<UpdateDomainUnitInput, BuildError>
pub fn build(self) -> Result<UpdateDomainUnitInput, BuildError>
Consumes the builder and constructs a UpdateDomainUnitInput
.
source§impl UpdateDomainUnitInputBuilder
impl UpdateDomainUnitInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateDomainUnitOutput, SdkError<UpdateDomainUnitError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateDomainUnitOutput, SdkError<UpdateDomainUnitError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDomainUnitInputBuilder
impl Clone for UpdateDomainUnitInputBuilder
source§fn clone(&self) -> UpdateDomainUnitInputBuilder
fn clone(&self) -> UpdateDomainUnitInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateDomainUnitInputBuilder
impl Debug for UpdateDomainUnitInputBuilder
source§impl Default for UpdateDomainUnitInputBuilder
impl Default for UpdateDomainUnitInputBuilder
source§fn default() -> UpdateDomainUnitInputBuilder
fn default() -> UpdateDomainUnitInputBuilder
source§impl PartialEq for UpdateDomainUnitInputBuilder
impl PartialEq for UpdateDomainUnitInputBuilder
source§fn eq(&self, other: &UpdateDomainUnitInputBuilder) -> bool
fn eq(&self, other: &UpdateDomainUnitInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateDomainUnitInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateDomainUnitInputBuilder
impl RefUnwindSafe for UpdateDomainUnitInputBuilder
impl Send for UpdateDomainUnitInputBuilder
impl Sync for UpdateDomainUnitInputBuilder
impl Unpin for UpdateDomainUnitInputBuilder
impl UnwindSafe for UpdateDomainUnitInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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