#[non_exhaustive]pub struct TargetResourceTypeParameterBuilder { /* private fields */ }Expand description
A builder for TargetResourceTypeParameter.
Implementations§
source§impl TargetResourceTypeParameterBuilder
impl TargetResourceTypeParameterBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the parameter.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the parameter.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the parameter.
sourcepub fn set_required(self, input: Option<bool>) -> Self
pub fn set_required(self, input: Option<bool>) -> Self
Indicates whether the parameter is required.
sourcepub fn get_required(&self) -> &Option<bool>
pub fn get_required(&self) -> &Option<bool>
Indicates whether the parameter is required.
sourcepub fn build(self) -> TargetResourceTypeParameter
pub fn build(self) -> TargetResourceTypeParameter
Consumes the builder and constructs a TargetResourceTypeParameter.
Trait Implementations§
source§impl Clone for TargetResourceTypeParameterBuilder
impl Clone for TargetResourceTypeParameterBuilder
source§fn clone(&self) -> TargetResourceTypeParameterBuilder
fn clone(&self) -> TargetResourceTypeParameterBuilder
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 TargetResourceTypeParameterBuilder
impl Default for TargetResourceTypeParameterBuilder
source§fn default() -> TargetResourceTypeParameterBuilder
fn default() -> TargetResourceTypeParameterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TargetResourceTypeParameterBuilder> for TargetResourceTypeParameterBuilder
impl PartialEq<TargetResourceTypeParameterBuilder> for TargetResourceTypeParameterBuilder
source§fn eq(&self, other: &TargetResourceTypeParameterBuilder) -> bool
fn eq(&self, other: &TargetResourceTypeParameterBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TargetResourceTypeParameterBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TargetResourceTypeParameterBuilder
impl Send for TargetResourceTypeParameterBuilder
impl Sync for TargetResourceTypeParameterBuilder
impl Unpin for TargetResourceTypeParameterBuilder
impl UnwindSafe for TargetResourceTypeParameterBuilder
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