Class RuleBasedMatchingResponse
- java.lang.Object
-
- software.amazon.awssdk.services.customerprofiles.model.RuleBasedMatchingResponse
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RuleBasedMatchingResponse.Builder,RuleBasedMatchingResponse>
@Generated("software.amazon.awssdk:codegen") public final class RuleBasedMatchingResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleBasedMatchingResponse.Builder,RuleBasedMatchingResponse>
The response of the Rule-based matching request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRuleBasedMatchingResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeTypesSelectorattributeTypesSelector()Configures information about theAttributeTypesSelectorwhere the rule-based identity resolution uses to match profiles.static RuleBasedMatchingResponse.Builderbuilder()ConflictResolutionconflictResolution()Returns the value of the ConflictResolution property for this object.Booleanenabled()The flag that enables the rule-based matching process of duplicate profiles.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ExportingConfigexportingConfig()Returns the value of the ExportingConfig property for this object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasMatchingRules()For responses, this returns true if the service returned a value for the MatchingRules property.List<MatchingRule>matchingRules()Configures how the rule-based matching process should match profiles.IntegermaxAllowedRuleLevelForMatching()Indicates the maximum allowed rule level.IntegermaxAllowedRuleLevelForMerging()List<SdkField<?>>sdkFields()static Class<? extends RuleBasedMatchingResponse.Builder>serializableBuilderClass()RuleBasedMatchingStatusstatus()PENDINGStringstatusAsString()PENDINGRuleBasedMatchingResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
enabled
public final Boolean enabled()
The flag that enables the rule-based matching process of duplicate profiles.
- Returns:
- The flag that enables the rule-based matching process of duplicate profiles.
-
hasMatchingRules
public final boolean hasMatchingRules()
For responses, this returns true if the service returned a value for the MatchingRules property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
matchingRules
public final List<MatchingRule> matchingRules()
Configures how the rule-based matching process should match profiles. You can have up to 15
MatchingRulein theMatchingRules.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasMatchingRules()method.- Returns:
- Configures how the rule-based matching process should match profiles. You can have up to 15
MatchingRulein theMatchingRules.
-
status
public final RuleBasedMatchingStatus status()
PENDING
-
The first status after configuration a rule-based matching rule. If it is an existing domain, the rule-based Identity Resolution waits one hour before creating the matching rule. If it is a new domain, the system will skip the
PENDINGstage.
IN_PROGRESS
-
The system is creating the rule-based matching rule. Under this status, the system is evaluating the existing data and you can no longer change the Rule-based matching configuration.
ACTIVE
-
The rule is ready to use. You can change the rule a day after the status is in
ACTIVE.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRuleBasedMatchingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- PENDING
-
The first status after configuration a rule-based matching rule. If it is an existing domain, the rule-based Identity Resolution waits one hour before creating the matching rule. If it is a new domain, the system will skip the
PENDINGstage.
IN_PROGRESS
-
The system is creating the rule-based matching rule. Under this status, the system is evaluating the existing data and you can no longer change the Rule-based matching configuration.
ACTIVE
-
The rule is ready to use. You can change the rule a day after the status is in
ACTIVE.
-
- See Also:
RuleBasedMatchingStatus
-
-
statusAsString
public final String statusAsString()
PENDING
-
The first status after configuration a rule-based matching rule. If it is an existing domain, the rule-based Identity Resolution waits one hour before creating the matching rule. If it is a new domain, the system will skip the
PENDINGstage.
IN_PROGRESS
-
The system is creating the rule-based matching rule. Under this status, the system is evaluating the existing data and you can no longer change the Rule-based matching configuration.
ACTIVE
-
The rule is ready to use. You can change the rule a day after the status is in
ACTIVE.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRuleBasedMatchingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- PENDING
-
The first status after configuration a rule-based matching rule. If it is an existing domain, the rule-based Identity Resolution waits one hour before creating the matching rule. If it is a new domain, the system will skip the
PENDINGstage.
IN_PROGRESS
-
The system is creating the rule-based matching rule. Under this status, the system is evaluating the existing data and you can no longer change the Rule-based matching configuration.
ACTIVE
-
The rule is ready to use. You can change the rule a day after the status is in
ACTIVE.
-
- See Also:
RuleBasedMatchingStatus
-
-
maxAllowedRuleLevelForMerging
public final Integer maxAllowedRuleLevelForMerging()
- Returns:
- MatchingRule
-
maxAllowedRuleLevelForMatching
public final Integer maxAllowedRuleLevelForMatching()
Indicates the maximum allowed rule level.
- Returns:
- Indicates the maximum allowed rule level.
-
attributeTypesSelector
public final AttributeTypesSelector attributeTypesSelector()
Configures information about the
AttributeTypesSelectorwhere the rule-based identity resolution uses to match profiles.- Returns:
- Configures information about the
AttributeTypesSelectorwhere the rule-based identity resolution uses to match profiles.
-
conflictResolution
public final ConflictResolution conflictResolution()
Returns the value of the ConflictResolution property for this object.- Returns:
- The value of the ConflictResolution property for this object.
-
exportingConfig
public final ExportingConfig exportingConfig()
Returns the value of the ExportingConfig property for this object.- Returns:
- The value of the ExportingConfig property for this object.
-
toBuilder
public RuleBasedMatchingResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RuleBasedMatchingResponse.Builder,RuleBasedMatchingResponse>
-
builder
public static RuleBasedMatchingResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends RuleBasedMatchingResponse.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-