Struct aws_sdk_datazone::types::builders::CustomParameterBuilder
source · #[non_exhaustive]pub struct CustomParameterBuilder { /* private fields */ }
Expand description
A builder for CustomParameter
.
Implementations§
source§impl CustomParameterBuilder
impl CustomParameterBuilder
sourcepub fn set_key_name(self, input: Option<String>) -> Self
pub fn set_key_name(self, input: Option<String>) -> Self
The key name of the parameter.
sourcepub fn get_key_name(&self) -> &Option<String>
pub fn get_key_name(&self) -> &Option<String>
The key name of the parameter.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the parameter.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the parameter.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the parameter.
sourcepub fn field_type(self, input: impl Into<String>) -> Self
pub fn field_type(self, input: impl Into<String>) -> Self
The filed type of the parameter.
sourcepub fn set_field_type(self, input: Option<String>) -> Self
pub fn set_field_type(self, input: Option<String>) -> Self
The filed type of the parameter.
sourcepub fn get_field_type(&self) -> &Option<String>
pub fn get_field_type(&self) -> &Option<String>
The filed type of the parameter.
sourcepub fn default_value(self, input: impl Into<String>) -> Self
pub fn default_value(self, input: impl Into<String>) -> Self
The default value of the parameter.
sourcepub fn set_default_value(self, input: Option<String>) -> Self
pub fn set_default_value(self, input: Option<String>) -> Self
The default value of the parameter.
sourcepub fn get_default_value(&self) -> &Option<String>
pub fn get_default_value(&self) -> &Option<String>
The default value of the parameter.
sourcepub fn is_editable(self, input: bool) -> Self
pub fn is_editable(self, input: bool) -> Self
Specifies whether the parameter is editable.
sourcepub fn set_is_editable(self, input: Option<bool>) -> Self
pub fn set_is_editable(self, input: Option<bool>) -> Self
Specifies whether the parameter is editable.
sourcepub fn get_is_editable(&self) -> &Option<bool>
pub fn get_is_editable(&self) -> &Option<bool>
Specifies whether the parameter is editable.
sourcepub fn is_optional(self, input: bool) -> Self
pub fn is_optional(self, input: bool) -> Self
Specifies whether the custom parameter is optional.
sourcepub fn set_is_optional(self, input: Option<bool>) -> Self
pub fn set_is_optional(self, input: Option<bool>) -> Self
Specifies whether the custom parameter is optional.
sourcepub fn get_is_optional(&self) -> &Option<bool>
pub fn get_is_optional(&self) -> &Option<bool>
Specifies whether the custom parameter is optional.
sourcepub fn build(self) -> CustomParameter
pub fn build(self) -> CustomParameter
Consumes the builder and constructs a CustomParameter
.
Trait Implementations§
source§impl Clone for CustomParameterBuilder
impl Clone for CustomParameterBuilder
source§fn clone(&self) -> CustomParameterBuilder
fn clone(&self) -> CustomParameterBuilder
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 CustomParameterBuilder
impl Debug for CustomParameterBuilder
source§impl Default for CustomParameterBuilder
impl Default for CustomParameterBuilder
source§fn default() -> CustomParameterBuilder
fn default() -> CustomParameterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CustomParameterBuilder
impl PartialEq for CustomParameterBuilder
source§fn eq(&self, other: &CustomParameterBuilder) -> bool
fn eq(&self, other: &CustomParameterBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomParameterBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CustomParameterBuilder
impl Send for CustomParameterBuilder
impl Sync for CustomParameterBuilder
impl Unpin for CustomParameterBuilder
impl UnwindSafe for CustomParameterBuilder
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