Struct aws_sdk_customerprofiles::operation::merge_profiles::builders::MergeProfilesInputBuilder
source · #[non_exhaustive]pub struct MergeProfilesInputBuilder { /* private fields */ }
Expand description
A builder for MergeProfilesInput
.
Implementations§
source§impl MergeProfilesInputBuilder
impl MergeProfilesInputBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The unique name of the domain.
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The unique name of the domain.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The unique name of the domain.
sourcepub fn main_profile_id(self, input: impl Into<String>) -> Self
pub fn main_profile_id(self, input: impl Into<String>) -> Self
The identifier of the profile to be taken.
This field is required.sourcepub fn set_main_profile_id(self, input: Option<String>) -> Self
pub fn set_main_profile_id(self, input: Option<String>) -> Self
The identifier of the profile to be taken.
sourcepub fn get_main_profile_id(&self) -> &Option<String>
pub fn get_main_profile_id(&self) -> &Option<String>
The identifier of the profile to be taken.
sourcepub fn profile_ids_to_be_merged(self, input: impl Into<String>) -> Self
pub fn profile_ids_to_be_merged(self, input: impl Into<String>) -> Self
Appends an item to profile_ids_to_be_merged
.
To override the contents of this collection use set_profile_ids_to_be_merged
.
The identifier of the profile to be merged into MainProfileId.
sourcepub fn set_profile_ids_to_be_merged(self, input: Option<Vec<String>>) -> Self
pub fn set_profile_ids_to_be_merged(self, input: Option<Vec<String>>) -> Self
The identifier of the profile to be merged into MainProfileId.
sourcepub fn get_profile_ids_to_be_merged(&self) -> &Option<Vec<String>>
pub fn get_profile_ids_to_be_merged(&self) -> &Option<Vec<String>>
The identifier of the profile to be merged into MainProfileId.
sourcepub fn field_source_profile_ids(self, input: FieldSourceProfileIds) -> Self
pub fn field_source_profile_ids(self, input: FieldSourceProfileIds) -> Self
The identifiers of the fields in the profile that has the information you want to apply to the merge. For example, say you want to merge EmailAddress from Profile1 into MainProfile. This would be the identifier of the EmailAddress field in Profile1.
sourcepub fn set_field_source_profile_ids(
self,
input: Option<FieldSourceProfileIds>
) -> Self
pub fn set_field_source_profile_ids( self, input: Option<FieldSourceProfileIds> ) -> Self
The identifiers of the fields in the profile that has the information you want to apply to the merge. For example, say you want to merge EmailAddress from Profile1 into MainProfile. This would be the identifier of the EmailAddress field in Profile1.
sourcepub fn get_field_source_profile_ids(&self) -> &Option<FieldSourceProfileIds>
pub fn get_field_source_profile_ids(&self) -> &Option<FieldSourceProfileIds>
The identifiers of the fields in the profile that has the information you want to apply to the merge. For example, say you want to merge EmailAddress from Profile1 into MainProfile. This would be the identifier of the EmailAddress field in Profile1.
sourcepub fn build(self) -> Result<MergeProfilesInput, BuildError>
pub fn build(self) -> Result<MergeProfilesInput, BuildError>
Consumes the builder and constructs a MergeProfilesInput
.
source§impl MergeProfilesInputBuilder
impl MergeProfilesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<MergeProfilesOutput, SdkError<MergeProfilesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<MergeProfilesOutput, SdkError<MergeProfilesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for MergeProfilesInputBuilder
impl Clone for MergeProfilesInputBuilder
source§fn clone(&self) -> MergeProfilesInputBuilder
fn clone(&self) -> MergeProfilesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MergeProfilesInputBuilder
impl Debug for MergeProfilesInputBuilder
source§impl Default for MergeProfilesInputBuilder
impl Default for MergeProfilesInputBuilder
source§fn default() -> MergeProfilesInputBuilder
fn default() -> MergeProfilesInputBuilder
source§impl PartialEq for MergeProfilesInputBuilder
impl PartialEq for MergeProfilesInputBuilder
source§fn eq(&self, other: &MergeProfilesInputBuilder) -> bool
fn eq(&self, other: &MergeProfilesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MergeProfilesInputBuilder
Auto Trait Implementations§
impl Freeze for MergeProfilesInputBuilder
impl RefUnwindSafe for MergeProfilesInputBuilder
impl Send for MergeProfilesInputBuilder
impl Sync for MergeProfilesInputBuilder
impl Unpin for MergeProfilesInputBuilder
impl UnwindSafe for MergeProfilesInputBuilder
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