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 ==.impl StructuralPartialEq for CreateIdentitySourceOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateIdentitySourceOutputBuilder
impl RefUnwindSafe for CreateIdentitySourceOutputBuilder
impl Send for CreateIdentitySourceOutputBuilder
impl Sync for CreateIdentitySourceOutputBuilder
impl Unpin for CreateIdentitySourceOutputBuilder
impl UnwindSafe for CreateIdentitySourceOutputBuilder
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