Struct aws_sdk_appflow::types::AuthParameter
source · #[non_exhaustive]pub struct AuthParameter {
pub key: Option<String>,
pub is_required: bool,
pub label: Option<String>,
pub description: Option<String>,
pub is_sensitive_field: bool,
pub connector_supplied_values: Option<Vec<String>>,
}Expand description
Information about required authentication parameters.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.key: Option<String>The authentication key required to authenticate with the connector.
is_required: boolIndicates whether this authentication parameter is required.
label: Option<String>Label used for authentication parameter.
description: Option<String>A description about the authentication parameter.
is_sensitive_field: boolIndicates whether this authentication parameter is a sensitive field.
connector_supplied_values: Option<Vec<String>>Contains default values for this authentication parameter that are supplied by the connector.
Implementations§
source§impl AuthParameter
impl AuthParameter
sourcepub fn key(&self) -> Option<&str>
pub fn key(&self) -> Option<&str>
The authentication key required to authenticate with the connector.
sourcepub fn is_required(&self) -> bool
pub fn is_required(&self) -> bool
Indicates whether this authentication parameter is required.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description about the authentication parameter.
sourcepub fn is_sensitive_field(&self) -> bool
pub fn is_sensitive_field(&self) -> bool
Indicates whether this authentication parameter is a sensitive field.
sourcepub fn connector_supplied_values(&self) -> &[String]
pub fn connector_supplied_values(&self) -> &[String]
Contains default values for this authentication parameter that are supplied by the connector.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .connector_supplied_values.is_none().
source§impl AuthParameter
impl AuthParameter
sourcepub fn builder() -> AuthParameterBuilder
pub fn builder() -> AuthParameterBuilder
Creates a new builder-style object to manufacture AuthParameter.
Trait Implementations§
source§impl Clone for AuthParameter
impl Clone for AuthParameter
source§fn clone(&self) -> AuthParameter
fn clone(&self) -> AuthParameter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AuthParameter
impl Debug for AuthParameter
source§impl PartialEq for AuthParameter
impl PartialEq for AuthParameter
source§fn eq(&self, other: &AuthParameter) -> bool
fn eq(&self, other: &AuthParameter) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AuthParameter
Auto Trait Implementations§
impl Freeze for AuthParameter
impl RefUnwindSafe for AuthParameter
impl Send for AuthParameter
impl Sync for AuthParameter
impl Unpin for AuthParameter
impl UnwindSafe for AuthParameter
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