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: bool
Indicates 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: bool
Indicates 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 ==
.