Struct aws_sdk_verifiedpermissions::operation::create_identity_source::builders::CreateIdentitySourceOutputBuilder
source · #[non_exhaustive]pub struct CreateIdentitySourceOutputBuilder { /* private fields */ }Expand description
A builder for CreateIdentitySourceOutput.
Implementations§
source§impl CreateIdentitySourceOutputBuilder
impl CreateIdentitySourceOutputBuilder
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 identity_source_id(self, input: impl Into<String>) -> Self
pub fn identity_source_id(self, input: impl Into<String>) -> Self
The unique ID of the new 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 ID of the new identity source.
sourcepub fn get_identity_source_id(&self) -> &Option<String>
pub fn get_identity_source_id(&self) -> &Option<String>
The unique ID of the new 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 ID 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 ID 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 ID of the policy store that contains the identity source.
sourcepub fn build(self) -> Result<CreateIdentitySourceOutput, BuildError>
pub fn build(self) -> Result<CreateIdentitySourceOutput, BuildError>
Consumes the builder and constructs a CreateIdentitySourceOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateIdentitySourceOutputBuilder
impl Clone for CreateIdentitySourceOutputBuilder
source§fn clone(&self) -> CreateIdentitySourceOutputBuilder
fn clone(&self) -> CreateIdentitySourceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateIdentitySourceOutputBuilder
impl Default for CreateIdentitySourceOutputBuilder
source§fn default() -> CreateIdentitySourceOutputBuilder
fn default() -> CreateIdentitySourceOutputBuilder
source§impl PartialEq for CreateIdentitySourceOutputBuilder
impl PartialEq for CreateIdentitySourceOutputBuilder
source§fn eq(&self, other: &CreateIdentitySourceOutputBuilder) -> bool
fn eq(&self, other: &CreateIdentitySourceOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.