#[non_exhaustive]pub struct IdentitySourceItemBuilder { /* private fields */ }Expand description
A builder for IdentitySourceItem.
Implementations§
source§impl IdentitySourceItemBuilder
impl IdentitySourceItemBuilder
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date and time the identity source was originally created.
This field is required.sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The date and time the identity source was originally created.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
The date and time the identity source was originally created.
sourcepub fn details(self, input: IdentitySourceItemDetails) -> Self
👎Deprecated: This attribute has been replaced by configuration.cognitoUserPoolConfiguration
pub fn details(self, input: IdentitySourceItemDetails) -> Self
A structure that contains the details of the associated identity provider (IdP).
sourcepub fn set_details(self, input: Option<IdentitySourceItemDetails>) -> Self
👎Deprecated: This attribute has been replaced by configuration.cognitoUserPoolConfiguration
pub fn set_details(self, input: Option<IdentitySourceItemDetails>) -> Self
A structure that contains the details of the associated identity provider (IdP).
sourcepub fn get_details(&self) -> &Option<IdentitySourceItemDetails>
👎Deprecated: This attribute has been replaced by configuration.cognitoUserPoolConfiguration
pub fn get_details(&self) -> &Option<IdentitySourceItemDetails>
A structure that contains the details of the associated identity provider (IdP).
sourcepub fn identity_source_id(self, input: impl Into<String>) -> Self
pub fn identity_source_id(self, input: impl Into<String>) -> Self
The unique identifier of the identity source.
This field is required.sourcepub fn set_identity_source_id(self, input: Option<String>) -> Self
pub fn set_identity_source_id(self, input: Option<String>) -> Self
The unique identifier of the identity source.
sourcepub fn get_identity_source_id(&self) -> &Option<String>
pub fn get_identity_source_id(&self) -> &Option<String>
The unique identifier of the identity source.
sourcepub fn last_updated_date(self, input: DateTime) -> Self
pub fn last_updated_date(self, input: DateTime) -> Self
The date and time the identity source was most recently updated.
This field is required.sourcepub fn set_last_updated_date(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date(self, input: Option<DateTime>) -> Self
The date and time the identity source was most recently updated.
sourcepub fn get_last_updated_date(&self) -> &Option<DateTime>
pub fn get_last_updated_date(&self) -> &Option<DateTime>
The date and time the identity source was most recently updated.
sourcepub fn policy_store_id(self, input: impl Into<String>) -> Self
pub fn policy_store_id(self, input: impl Into<String>) -> Self
The identifier of the policy store that contains the identity source.
This field is required.sourcepub fn set_policy_store_id(self, input: Option<String>) -> Self
pub fn set_policy_store_id(self, input: Option<String>) -> Self
The identifier of the policy store that contains the identity source.
sourcepub fn get_policy_store_id(&self) -> &Option<String>
pub fn get_policy_store_id(&self) -> &Option<String>
The identifier of the policy store that contains the identity source.
sourcepub fn principal_entity_type(self, input: impl Into<String>) -> Self
pub fn principal_entity_type(self, input: impl Into<String>) -> Self
The Cedar entity type of the principals returned from the IdP associated with this identity source.
This field is required.sourcepub fn set_principal_entity_type(self, input: Option<String>) -> Self
pub fn set_principal_entity_type(self, input: Option<String>) -> Self
The Cedar entity type of the principals returned from the IdP associated with this identity source.
sourcepub fn get_principal_entity_type(&self) -> &Option<String>
pub fn get_principal_entity_type(&self) -> &Option<String>
The Cedar entity type of the principals returned from the IdP associated with this identity source.
sourcepub fn configuration(self, input: ConfigurationItem) -> Self
pub fn configuration(self, input: ConfigurationItem) -> Self
Contains configuration information about an identity source.
sourcepub fn set_configuration(self, input: Option<ConfigurationItem>) -> Self
pub fn set_configuration(self, input: Option<ConfigurationItem>) -> Self
Contains configuration information about an identity source.
sourcepub fn get_configuration(&self) -> &Option<ConfigurationItem>
pub fn get_configuration(&self) -> &Option<ConfigurationItem>
Contains configuration information about an identity source.
sourcepub fn build(self) -> Result<IdentitySourceItem, BuildError>
pub fn build(self) -> Result<IdentitySourceItem, BuildError>
Consumes the builder and constructs a IdentitySourceItem.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for IdentitySourceItemBuilder
impl Clone for IdentitySourceItemBuilder
source§fn clone(&self) -> IdentitySourceItemBuilder
fn clone(&self) -> IdentitySourceItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for IdentitySourceItemBuilder
impl Debug for IdentitySourceItemBuilder
source§impl Default for IdentitySourceItemBuilder
impl Default for IdentitySourceItemBuilder
source§fn default() -> IdentitySourceItemBuilder
fn default() -> IdentitySourceItemBuilder
source§impl PartialEq for IdentitySourceItemBuilder
impl PartialEq for IdentitySourceItemBuilder
source§fn eq(&self, other: &IdentitySourceItemBuilder) -> bool
fn eq(&self, other: &IdentitySourceItemBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IdentitySourceItemBuilder
Auto Trait Implementations§
impl Freeze for IdentitySourceItemBuilder
impl RefUnwindSafe for IdentitySourceItemBuilder
impl Send for IdentitySourceItemBuilder
impl Sync for IdentitySourceItemBuilder
impl Unpin for IdentitySourceItemBuilder
impl UnwindSafe for IdentitySourceItemBuilder
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