#[non_exhaustive]pub struct ConnectionTypeVariantBuilder { /* private fields */ }Expand description
A builder for ConnectionTypeVariant.
Implementations§
Source§impl ConnectionTypeVariantBuilder
impl ConnectionTypeVariantBuilder
Sourcepub fn connection_type_variant_name(self, input: impl Into<String>) -> Self
pub fn connection_type_variant_name(self, input: impl Into<String>) -> Self
The unique identifier for the connection type variant. This name is used internally to identify the specific variant of a connection type.
Sourcepub fn set_connection_type_variant_name(self, input: Option<String>) -> Self
pub fn set_connection_type_variant_name(self, input: Option<String>) -> Self
The unique identifier for the connection type variant. This name is used internally to identify the specific variant of a connection type.
Sourcepub fn get_connection_type_variant_name(&self) -> &Option<String>
pub fn get_connection_type_variant_name(&self) -> &Option<String>
The unique identifier for the connection type variant. This name is used internally to identify the specific variant of a connection type.
Sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The human-readable name for the connection type variant that is displayed in the Glue console.
Sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The human-readable name for the connection type variant that is displayed in the Glue console.
Sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
The human-readable name for the connection type variant that is displayed in the Glue console.
Sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A detailed description of the connection type variant, including its purpose, use cases, and any specific configuration requirements.
Sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A detailed description of the connection type variant, including its purpose, use cases, and any specific configuration requirements.
Sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A detailed description of the connection type variant, including its purpose, use cases, and any specific configuration requirements.
Sourcepub fn logo_url(self, input: impl Into<String>) -> Self
pub fn logo_url(self, input: impl Into<String>) -> Self
The URL of the logo associated with a connection type variant.
Sourcepub fn set_logo_url(self, input: Option<String>) -> Self
pub fn set_logo_url(self, input: Option<String>) -> Self
The URL of the logo associated with a connection type variant.
Sourcepub fn get_logo_url(&self) -> &Option<String>
pub fn get_logo_url(&self) -> &Option<String>
The URL of the logo associated with a connection type variant.
Sourcepub fn build(self) -> ConnectionTypeVariant
pub fn build(self) -> ConnectionTypeVariant
Consumes the builder and constructs a ConnectionTypeVariant.
Trait Implementations§
Source§impl Clone for ConnectionTypeVariantBuilder
impl Clone for ConnectionTypeVariantBuilder
Source§fn clone(&self) -> ConnectionTypeVariantBuilder
fn clone(&self) -> ConnectionTypeVariantBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConnectionTypeVariantBuilder
impl Debug for ConnectionTypeVariantBuilder
Source§impl Default for ConnectionTypeVariantBuilder
impl Default for ConnectionTypeVariantBuilder
Source§fn default() -> ConnectionTypeVariantBuilder
fn default() -> ConnectionTypeVariantBuilder
Source§impl PartialEq for ConnectionTypeVariantBuilder
impl PartialEq for ConnectionTypeVariantBuilder
Source§fn eq(&self, other: &ConnectionTypeVariantBuilder) -> bool
fn eq(&self, other: &ConnectionTypeVariantBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConnectionTypeVariantBuilder
Auto Trait Implementations§
impl Freeze for ConnectionTypeVariantBuilder
impl RefUnwindSafe for ConnectionTypeVariantBuilder
impl Send for ConnectionTypeVariantBuilder
impl Sync for ConnectionTypeVariantBuilder
impl Unpin for ConnectionTypeVariantBuilder
impl UnsafeUnpin for ConnectionTypeVariantBuilder
impl UnwindSafe for ConnectionTypeVariantBuilder
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§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