/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.customerprofiles.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* A duplicate customer profile that is to be merged into a main profile. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class FieldSourceProfileIds implements Serializable, Cloneable, StructuredPojo { /** ** A unique identifier for the account number field to be merged. *
*/ private String accountNumber; /** ** A unique identifier for the additional information field to be merged. *
*/ private String additionalInformation; /** ** A unique identifier for the party type field to be merged. *
*/ private String partyType; /** ** A unique identifier for the business name field to be merged. *
*/ private String businessName; /** ** A unique identifier for the first name field to be merged. *
*/ private String firstName; /** ** A unique identifier for the middle name field to be merged. *
*/ private String middleName; /** ** A unique identifier for the last name field to be merged. *
*/ private String lastName; /** ** A unique identifier for the birthdate field to be merged. *
*/ private String birthDate; /** ** A unique identifier for the gender field to be merged. *
*/ private String gender; /** ** A unique identifier for the phone number field to be merged. *
*/ private String phoneNumber; /** ** A unique identifier for the mobile phone number field to be merged. *
*/ private String mobilePhoneNumber; /** ** A unique identifier for the home phone number field to be merged. *
*/ private String homePhoneNumber; /** ** A unique identifier for the business phone number field to be merged. *
*/ private String businessPhoneNumber; /** ** A unique identifier for the email address field to be merged. *
*/ private String emailAddress; /** ** A unique identifier for the personal email address field to be merged. *
*/ private String personalEmailAddress; /** ** A unique identifier for the party type field to be merged. *
*/ private String businessEmailAddress; /** ** A unique identifier for the party type field to be merged. *
*/ private String address; /** ** A unique identifier for the shipping address field to be merged. *
*/ private String shippingAddress; /** ** A unique identifier for the mailing address field to be merged. *
*/ private String mailingAddress; /** ** A unique identifier for the billing type field to be merged. *
*/ private String billingAddress; /** ** A unique identifier for the attributes field to be merged. *
*/ private java.util.Map* A unique identifier for the account number field to be merged. *
* * @param accountNumber * A unique identifier for the account number field to be merged. */ public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } /** ** A unique identifier for the account number field to be merged. *
* * @return A unique identifier for the account number field to be merged. */ public String getAccountNumber() { return this.accountNumber; } /** ** A unique identifier for the account number field to be merged. *
* * @param accountNumber * A unique identifier for the account number field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withAccountNumber(String accountNumber) { setAccountNumber(accountNumber); return this; } /** ** A unique identifier for the additional information field to be merged. *
* * @param additionalInformation * A unique identifier for the additional information field to be merged. */ public void setAdditionalInformation(String additionalInformation) { this.additionalInformation = additionalInformation; } /** ** A unique identifier for the additional information field to be merged. *
* * @return A unique identifier for the additional information field to be merged. */ public String getAdditionalInformation() { return this.additionalInformation; } /** ** A unique identifier for the additional information field to be merged. *
* * @param additionalInformation * A unique identifier for the additional information field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withAdditionalInformation(String additionalInformation) { setAdditionalInformation(additionalInformation); return this; } /** ** A unique identifier for the party type field to be merged. *
* * @param partyType * A unique identifier for the party type field to be merged. */ public void setPartyType(String partyType) { this.partyType = partyType; } /** ** A unique identifier for the party type field to be merged. *
* * @return A unique identifier for the party type field to be merged. */ public String getPartyType() { return this.partyType; } /** ** A unique identifier for the party type field to be merged. *
* * @param partyType * A unique identifier for the party type field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withPartyType(String partyType) { setPartyType(partyType); return this; } /** ** A unique identifier for the business name field to be merged. *
* * @param businessName * A unique identifier for the business name field to be merged. */ public void setBusinessName(String businessName) { this.businessName = businessName; } /** ** A unique identifier for the business name field to be merged. *
* * @return A unique identifier for the business name field to be merged. */ public String getBusinessName() { return this.businessName; } /** ** A unique identifier for the business name field to be merged. *
* * @param businessName * A unique identifier for the business name field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withBusinessName(String businessName) { setBusinessName(businessName); return this; } /** ** A unique identifier for the first name field to be merged. *
* * @param firstName * A unique identifier for the first name field to be merged. */ public void setFirstName(String firstName) { this.firstName = firstName; } /** ** A unique identifier for the first name field to be merged. *
* * @return A unique identifier for the first name field to be merged. */ public String getFirstName() { return this.firstName; } /** ** A unique identifier for the first name field to be merged. *
* * @param firstName * A unique identifier for the first name field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withFirstName(String firstName) { setFirstName(firstName); return this; } /** ** A unique identifier for the middle name field to be merged. *
* * @param middleName * A unique identifier for the middle name field to be merged. */ public void setMiddleName(String middleName) { this.middleName = middleName; } /** ** A unique identifier for the middle name field to be merged. *
* * @return A unique identifier for the middle name field to be merged. */ public String getMiddleName() { return this.middleName; } /** ** A unique identifier for the middle name field to be merged. *
* * @param middleName * A unique identifier for the middle name field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withMiddleName(String middleName) { setMiddleName(middleName); return this; } /** ** A unique identifier for the last name field to be merged. *
* * @param lastName * A unique identifier for the last name field to be merged. */ public void setLastName(String lastName) { this.lastName = lastName; } /** ** A unique identifier for the last name field to be merged. *
* * @return A unique identifier for the last name field to be merged. */ public String getLastName() { return this.lastName; } /** ** A unique identifier for the last name field to be merged. *
* * @param lastName * A unique identifier for the last name field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withLastName(String lastName) { setLastName(lastName); return this; } /** ** A unique identifier for the birthdate field to be merged. *
* * @param birthDate * A unique identifier for the birthdate field to be merged. */ public void setBirthDate(String birthDate) { this.birthDate = birthDate; } /** ** A unique identifier for the birthdate field to be merged. *
* * @return A unique identifier for the birthdate field to be merged. */ public String getBirthDate() { return this.birthDate; } /** ** A unique identifier for the birthdate field to be merged. *
* * @param birthDate * A unique identifier for the birthdate field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withBirthDate(String birthDate) { setBirthDate(birthDate); return this; } /** ** A unique identifier for the gender field to be merged. *
* * @param gender * A unique identifier for the gender field to be merged. */ public void setGender(String gender) { this.gender = gender; } /** ** A unique identifier for the gender field to be merged. *
* * @return A unique identifier for the gender field to be merged. */ public String getGender() { return this.gender; } /** ** A unique identifier for the gender field to be merged. *
* * @param gender * A unique identifier for the gender field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withGender(String gender) { setGender(gender); return this; } /** ** A unique identifier for the phone number field to be merged. *
* * @param phoneNumber * A unique identifier for the phone number field to be merged. */ public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } /** ** A unique identifier for the phone number field to be merged. *
* * @return A unique identifier for the phone number field to be merged. */ public String getPhoneNumber() { return this.phoneNumber; } /** ** A unique identifier for the phone number field to be merged. *
* * @param phoneNumber * A unique identifier for the phone number field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withPhoneNumber(String phoneNumber) { setPhoneNumber(phoneNumber); return this; } /** ** A unique identifier for the mobile phone number field to be merged. *
* * @param mobilePhoneNumber * A unique identifier for the mobile phone number field to be merged. */ public void setMobilePhoneNumber(String mobilePhoneNumber) { this.mobilePhoneNumber = mobilePhoneNumber; } /** ** A unique identifier for the mobile phone number field to be merged. *
* * @return A unique identifier for the mobile phone number field to be merged. */ public String getMobilePhoneNumber() { return this.mobilePhoneNumber; } /** ** A unique identifier for the mobile phone number field to be merged. *
* * @param mobilePhoneNumber * A unique identifier for the mobile phone number field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withMobilePhoneNumber(String mobilePhoneNumber) { setMobilePhoneNumber(mobilePhoneNumber); return this; } /** ** A unique identifier for the home phone number field to be merged. *
* * @param homePhoneNumber * A unique identifier for the home phone number field to be merged. */ public void setHomePhoneNumber(String homePhoneNumber) { this.homePhoneNumber = homePhoneNumber; } /** ** A unique identifier for the home phone number field to be merged. *
* * @return A unique identifier for the home phone number field to be merged. */ public String getHomePhoneNumber() { return this.homePhoneNumber; } /** ** A unique identifier for the home phone number field to be merged. *
* * @param homePhoneNumber * A unique identifier for the home phone number field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withHomePhoneNumber(String homePhoneNumber) { setHomePhoneNumber(homePhoneNumber); return this; } /** ** A unique identifier for the business phone number field to be merged. *
* * @param businessPhoneNumber * A unique identifier for the business phone number field to be merged. */ public void setBusinessPhoneNumber(String businessPhoneNumber) { this.businessPhoneNumber = businessPhoneNumber; } /** ** A unique identifier for the business phone number field to be merged. *
* * @return A unique identifier for the business phone number field to be merged. */ public String getBusinessPhoneNumber() { return this.businessPhoneNumber; } /** ** A unique identifier for the business phone number field to be merged. *
* * @param businessPhoneNumber * A unique identifier for the business phone number field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withBusinessPhoneNumber(String businessPhoneNumber) { setBusinessPhoneNumber(businessPhoneNumber); return this; } /** ** A unique identifier for the email address field to be merged. *
* * @param emailAddress * A unique identifier for the email address field to be merged. */ public void setEmailAddress(String emailAddress) { this.emailAddress = emailAddress; } /** ** A unique identifier for the email address field to be merged. *
* * @return A unique identifier for the email address field to be merged. */ public String getEmailAddress() { return this.emailAddress; } /** ** A unique identifier for the email address field to be merged. *
* * @param emailAddress * A unique identifier for the email address field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withEmailAddress(String emailAddress) { setEmailAddress(emailAddress); return this; } /** ** A unique identifier for the personal email address field to be merged. *
* * @param personalEmailAddress * A unique identifier for the personal email address field to be merged. */ public void setPersonalEmailAddress(String personalEmailAddress) { this.personalEmailAddress = personalEmailAddress; } /** ** A unique identifier for the personal email address field to be merged. *
* * @return A unique identifier for the personal email address field to be merged. */ public String getPersonalEmailAddress() { return this.personalEmailAddress; } /** ** A unique identifier for the personal email address field to be merged. *
* * @param personalEmailAddress * A unique identifier for the personal email address field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withPersonalEmailAddress(String personalEmailAddress) { setPersonalEmailAddress(personalEmailAddress); return this; } /** ** A unique identifier for the party type field to be merged. *
* * @param businessEmailAddress * A unique identifier for the party type field to be merged. */ public void setBusinessEmailAddress(String businessEmailAddress) { this.businessEmailAddress = businessEmailAddress; } /** ** A unique identifier for the party type field to be merged. *
* * @return A unique identifier for the party type field to be merged. */ public String getBusinessEmailAddress() { return this.businessEmailAddress; } /** ** A unique identifier for the party type field to be merged. *
* * @param businessEmailAddress * A unique identifier for the party type field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withBusinessEmailAddress(String businessEmailAddress) { setBusinessEmailAddress(businessEmailAddress); return this; } /** ** A unique identifier for the party type field to be merged. *
* * @param address * A unique identifier for the party type field to be merged. */ public void setAddress(String address) { this.address = address; } /** ** A unique identifier for the party type field to be merged. *
* * @return A unique identifier for the party type field to be merged. */ public String getAddress() { return this.address; } /** ** A unique identifier for the party type field to be merged. *
* * @param address * A unique identifier for the party type field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withAddress(String address) { setAddress(address); return this; } /** ** A unique identifier for the shipping address field to be merged. *
* * @param shippingAddress * A unique identifier for the shipping address field to be merged. */ public void setShippingAddress(String shippingAddress) { this.shippingAddress = shippingAddress; } /** ** A unique identifier for the shipping address field to be merged. *
* * @return A unique identifier for the shipping address field to be merged. */ public String getShippingAddress() { return this.shippingAddress; } /** ** A unique identifier for the shipping address field to be merged. *
* * @param shippingAddress * A unique identifier for the shipping address field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withShippingAddress(String shippingAddress) { setShippingAddress(shippingAddress); return this; } /** ** A unique identifier for the mailing address field to be merged. *
* * @param mailingAddress * A unique identifier for the mailing address field to be merged. */ public void setMailingAddress(String mailingAddress) { this.mailingAddress = mailingAddress; } /** ** A unique identifier for the mailing address field to be merged. *
* * @return A unique identifier for the mailing address field to be merged. */ public String getMailingAddress() { return this.mailingAddress; } /** ** A unique identifier for the mailing address field to be merged. *
* * @param mailingAddress * A unique identifier for the mailing address field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withMailingAddress(String mailingAddress) { setMailingAddress(mailingAddress); return this; } /** ** A unique identifier for the billing type field to be merged. *
* * @param billingAddress * A unique identifier for the billing type field to be merged. */ public void setBillingAddress(String billingAddress) { this.billingAddress = billingAddress; } /** ** A unique identifier for the billing type field to be merged. *
* * @return A unique identifier for the billing type field to be merged. */ public String getBillingAddress() { return this.billingAddress; } /** ** A unique identifier for the billing type field to be merged. *
* * @param billingAddress * A unique identifier for the billing type field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withBillingAddress(String billingAddress) { setBillingAddress(billingAddress); return this; } /** ** A unique identifier for the attributes field to be merged. *
* * @return A unique identifier for the attributes field to be merged. */ public java.util.Map* A unique identifier for the attributes field to be merged. *
* * @param attributes * A unique identifier for the attributes field to be merged. */ public void setAttributes(java.util.Map* A unique identifier for the attributes field to be merged. *
* * @param attributes * A unique identifier for the attributes field to be merged. * @return Returns a reference to this object so that method calls can be chained together. */ public FieldSourceProfileIds withAttributes(java.util.Map