#[non_exhaustive]pub struct CreateProfileOutputBuilder { /* private fields */ }Expand description
A builder for CreateProfileOutput.
Implementations§
source§impl CreateProfileOutputBuilder
impl CreateProfileOutputBuilder
sourcepub fn profile_id(self, input: impl Into<String>) -> Self
pub fn profile_id(self, input: impl Into<String>) -> Self
Returns the unique, system-generated identifier for the profile.
This field is required.sourcepub fn set_profile_id(self, input: Option<String>) -> Self
pub fn set_profile_id(self, input: Option<String>) -> Self
Returns the unique, system-generated identifier for the profile.
sourcepub fn get_profile_id(&self) -> &Option<String>
pub fn get_profile_id(&self) -> &Option<String>
Returns the unique, system-generated identifier for the profile.
sourcepub fn profile_arn(self, input: impl Into<String>) -> Self
pub fn profile_arn(self, input: impl Into<String>) -> Self
Returns an Amazon Resource Name (ARN) for the profile.
This field is required.sourcepub fn set_profile_arn(self, input: Option<String>) -> Self
pub fn set_profile_arn(self, input: Option<String>) -> Self
Returns an Amazon Resource Name (ARN) for the profile.
sourcepub fn get_profile_arn(&self) -> &Option<String>
pub fn get_profile_arn(&self) -> &Option<String>
Returns an Amazon Resource Name (ARN) for the profile.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Returns the name of the profile, used to identify it.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Returns the name of the profile, used to identify it.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
Returns the name of the profile, used to identify it.
sourcepub fn business_name(self, input: impl Into<String>) -> Self
pub fn business_name(self, input: impl Into<String>) -> Self
Returns the name for the business associated with this profile.
This field is required.sourcepub fn set_business_name(self, input: Option<String>) -> Self
pub fn set_business_name(self, input: Option<String>) -> Self
Returns the name for the business associated with this profile.
sourcepub fn get_business_name(&self) -> &Option<String>
pub fn get_business_name(&self) -> &Option<String>
Returns the name for the business associated with this profile.
sourcepub fn phone(self, input: impl Into<String>) -> Self
pub fn phone(self, input: impl Into<String>) -> Self
Returns the phone number associated with the profile.
This field is required.sourcepub fn set_phone(self, input: Option<String>) -> Self
pub fn set_phone(self, input: Option<String>) -> Self
Returns the phone number associated with the profile.
sourcepub fn get_phone(&self) -> &Option<String>
pub fn get_phone(&self) -> &Option<String>
Returns the phone number associated with the profile.
sourcepub fn email(self, input: impl Into<String>) -> Self
pub fn email(self, input: impl Into<String>) -> Self
Returns the email address associated with this customer profile.
sourcepub fn set_email(self, input: Option<String>) -> Self
pub fn set_email(self, input: Option<String>) -> Self
Returns the email address associated with this customer profile.
sourcepub fn get_email(&self) -> &Option<String>
pub fn get_email(&self) -> &Option<String>
Returns the email address associated with this customer profile.
sourcepub fn logging(self, input: Logging) -> Self
pub fn logging(self, input: Logging) -> Self
Returns whether or not logging is turned on for this profile.
sourcepub fn set_logging(self, input: Option<Logging>) -> Self
pub fn set_logging(self, input: Option<Logging>) -> Self
Returns whether or not logging is turned on for this profile.
sourcepub fn get_logging(&self) -> &Option<Logging>
pub fn get_logging(&self) -> &Option<Logging>
Returns whether or not logging is turned on for this profile.
sourcepub fn log_group_name(self, input: impl Into<String>) -> Self
pub fn log_group_name(self, input: impl Into<String>) -> Self
Returns the name of the logging group.
sourcepub fn set_log_group_name(self, input: Option<String>) -> Self
pub fn set_log_group_name(self, input: Option<String>) -> Self
Returns the name of the logging group.
sourcepub fn get_log_group_name(&self) -> &Option<String>
pub fn get_log_group_name(&self) -> &Option<String>
Returns the name of the logging group.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
Returns a timestamp representing the time the profile was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
Returns a timestamp representing the time the profile was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
Returns a timestamp representing the time the profile was created.
sourcepub fn build(self) -> Result<CreateProfileOutput, BuildError>
pub fn build(self) -> Result<CreateProfileOutput, BuildError>
Consumes the builder and constructs a CreateProfileOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateProfileOutputBuilder
impl Clone for CreateProfileOutputBuilder
source§fn clone(&self) -> CreateProfileOutputBuilder
fn clone(&self) -> CreateProfileOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateProfileOutputBuilder
impl Debug for CreateProfileOutputBuilder
source§impl Default for CreateProfileOutputBuilder
impl Default for CreateProfileOutputBuilder
source§fn default() -> CreateProfileOutputBuilder
fn default() -> CreateProfileOutputBuilder
source§impl PartialEq for CreateProfileOutputBuilder
impl PartialEq for CreateProfileOutputBuilder
source§fn eq(&self, other: &CreateProfileOutputBuilder) -> bool
fn eq(&self, other: &CreateProfileOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateProfileOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateProfileOutputBuilder
impl RefUnwindSafe for CreateProfileOutputBuilder
impl Send for CreateProfileOutputBuilder
impl Sync for CreateProfileOutputBuilder
impl Unpin for CreateProfileOutputBuilder
impl UnwindSafe for CreateProfileOutputBuilder
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