#[non_exhaustive]pub struct EndpointSettingBuilder { /* private fields */ }
Expand description
A builder for EndpointSetting
.
Implementations§
source§impl EndpointSettingBuilder
impl EndpointSettingBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name that you want to give the endpoint settings.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name that you want to give the endpoint settings.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name that you want to give the endpoint settings.
sourcepub fn type(self, input: EndpointSettingTypeValue) -> Self
pub fn type(self, input: EndpointSettingTypeValue) -> Self
The type of endpoint. Valid values are source
and target
.
sourcepub fn set_type(self, input: Option<EndpointSettingTypeValue>) -> Self
pub fn set_type(self, input: Option<EndpointSettingTypeValue>) -> Self
The type of endpoint. Valid values are source
and target
.
sourcepub fn get_type(&self) -> &Option<EndpointSettingTypeValue>
pub fn get_type(&self) -> &Option<EndpointSettingTypeValue>
The type of endpoint. Valid values are source
and target
.
sourcepub fn enum_values(self, input: impl Into<String>) -> Self
pub fn enum_values(self, input: impl Into<String>) -> Self
Appends an item to enum_values
.
To override the contents of this collection use set_enum_values
.
Enumerated values to use for this endpoint.
sourcepub fn set_enum_values(self, input: Option<Vec<String>>) -> Self
pub fn set_enum_values(self, input: Option<Vec<String>>) -> Self
Enumerated values to use for this endpoint.
sourcepub fn get_enum_values(&self) -> &Option<Vec<String>>
pub fn get_enum_values(&self) -> &Option<Vec<String>>
Enumerated values to use for this endpoint.
sourcepub fn sensitive(self, input: bool) -> Self
pub fn sensitive(self, input: bool) -> Self
A value that marks this endpoint setting as sensitive.
sourcepub fn set_sensitive(self, input: Option<bool>) -> Self
pub fn set_sensitive(self, input: Option<bool>) -> Self
A value that marks this endpoint setting as sensitive.
sourcepub fn get_sensitive(&self) -> &Option<bool>
pub fn get_sensitive(&self) -> &Option<bool>
A value that marks this endpoint setting as sensitive.
sourcepub fn units(self, input: impl Into<String>) -> Self
pub fn units(self, input: impl Into<String>) -> Self
The unit of measure for this endpoint setting.
sourcepub fn set_units(self, input: Option<String>) -> Self
pub fn set_units(self, input: Option<String>) -> Self
The unit of measure for this endpoint setting.
sourcepub fn applicability(self, input: impl Into<String>) -> Self
pub fn applicability(self, input: impl Into<String>) -> Self
The relevance or validity of an endpoint setting for an engine name and its endpoint type.
sourcepub fn set_applicability(self, input: Option<String>) -> Self
pub fn set_applicability(self, input: Option<String>) -> Self
The relevance or validity of an endpoint setting for an engine name and its endpoint type.
sourcepub fn get_applicability(&self) -> &Option<String>
pub fn get_applicability(&self) -> &Option<String>
The relevance or validity of an endpoint setting for an engine name and its endpoint type.
sourcepub fn int_value_min(self, input: i32) -> Self
pub fn int_value_min(self, input: i32) -> Self
The minimum value of an endpoint setting that is of type int
.
sourcepub fn set_int_value_min(self, input: Option<i32>) -> Self
pub fn set_int_value_min(self, input: Option<i32>) -> Self
The minimum value of an endpoint setting that is of type int
.
sourcepub fn get_int_value_min(&self) -> &Option<i32>
pub fn get_int_value_min(&self) -> &Option<i32>
The minimum value of an endpoint setting that is of type int
.
sourcepub fn int_value_max(self, input: i32) -> Self
pub fn int_value_max(self, input: i32) -> Self
The maximum value of an endpoint setting that is of type int
.
sourcepub fn set_int_value_max(self, input: Option<i32>) -> Self
pub fn set_int_value_max(self, input: Option<i32>) -> Self
The maximum value of an endpoint setting that is of type int
.
sourcepub fn get_int_value_max(&self) -> &Option<i32>
pub fn get_int_value_max(&self) -> &Option<i32>
The maximum value of an endpoint setting that is of type int
.
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 endpoint setting if no value is specified using CreateEndpoint
or ModifyEndpoint
.
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 endpoint setting if no value is specified using CreateEndpoint
or ModifyEndpoint
.
sourcepub fn get_default_value(&self) -> &Option<String>
pub fn get_default_value(&self) -> &Option<String>
The default value of the endpoint setting if no value is specified using CreateEndpoint
or ModifyEndpoint
.
sourcepub fn build(self) -> EndpointSetting
pub fn build(self) -> EndpointSetting
Consumes the builder and constructs a EndpointSetting
.
Trait Implementations§
source§impl Clone for EndpointSettingBuilder
impl Clone for EndpointSettingBuilder
source§fn clone(&self) -> EndpointSettingBuilder
fn clone(&self) -> EndpointSettingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EndpointSettingBuilder
impl Debug for EndpointSettingBuilder
source§impl Default for EndpointSettingBuilder
impl Default for EndpointSettingBuilder
source§fn default() -> EndpointSettingBuilder
fn default() -> EndpointSettingBuilder
source§impl PartialEq for EndpointSettingBuilder
impl PartialEq for EndpointSettingBuilder
source§fn eq(&self, other: &EndpointSettingBuilder) -> bool
fn eq(&self, other: &EndpointSettingBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EndpointSettingBuilder
Auto Trait Implementations§
impl Freeze for EndpointSettingBuilder
impl RefUnwindSafe for EndpointSettingBuilder
impl Send for EndpointSettingBuilder
impl Sync for EndpointSettingBuilder
impl Unpin for EndpointSettingBuilder
impl UnwindSafe for EndpointSettingBuilder
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> 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