#[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
pub fn details(self, input: IdentitySourceItemDetails) -> Self
A structure that contains the details of the associated identity provider (IdP).
This field is required.sourcepub fn set_details(self, input: Option<IdentitySourceItemDetails>) -> Self
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>
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 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 ==.