Class: AWSCDK::CustomerProfiles::CfnDomain::ConflictResolutionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnDomain::ConflictResolutionProperty
- Defined in:
- customer_profiles/cfn_domain.rb
Overview
Determines how the auto-merging process should resolve conflicts between different profiles.
For example, if Profile A and Profile B have the same FirstName and LastName , ConflictResolution specifies which EmailAddress should be used.
Instance Attribute Summary collapse
-
#conflict_resolving_model ⇒ String
readonly
How the auto-merging process should resolve conflicts between different profiles.
-
#source_name ⇒ String?
readonly
The
ObjectTypename that is used to resolve profile merging conflicts when choosingSOURCEas theConflictResolvingModel.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(conflict_resolving_model:, source_name: nil) ⇒ ConflictResolutionProperty
constructor
A new instance of ConflictResolutionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(conflict_resolving_model:, source_name: nil) ⇒ ConflictResolutionProperty
Returns a new instance of ConflictResolutionProperty.
797 798 799 800 801 802 |
# File 'customer_profiles/cfn_domain.rb', line 797 def initialize(conflict_resolving_model:, source_name: nil) @conflict_resolving_model = conflict_resolving_model Jsii::Type.check_type(@conflict_resolving_model, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "conflictResolvingModel") @source_name = source_name Jsii::Type.check_type(@source_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceName") unless @source_name.nil? end |
Instance Attribute Details
#conflict_resolving_model ⇒ String (readonly)
How the auto-merging process should resolve conflicts between different profiles.
808 809 810 |
# File 'customer_profiles/cfn_domain.rb', line 808 def conflict_resolving_model @conflict_resolving_model end |
#source_name ⇒ String? (readonly)
The ObjectType name that is used to resolve profile merging conflicts when choosing SOURCE as the ConflictResolvingModel .
813 814 815 |
# File 'customer_profiles/cfn_domain.rb', line 813 def source_name @source_name end |
Class Method Details
.jsii_properties ⇒ Object
815 816 817 818 819 820 |
# File 'customer_profiles/cfn_domain.rb', line 815 def self.jsii_properties { :conflict_resolving_model => "conflictResolvingModel", :source_name => "sourceName", } end |
Instance Method Details
#to_jsii ⇒ Object
822 823 824 825 826 827 828 829 |
# File 'customer_profiles/cfn_domain.rb', line 822 def to_jsii result = {} result.merge!({ "conflictResolvingModel" => @conflict_resolving_model, "sourceName" => @source_name, }) result.compact end |