Class ConflictResolution
- java.lang.Object
-
- software.amazon.awssdk.services.customerprofiles.model.ConflictResolution
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConflictResolution.Builder,ConflictResolution>
@Generated("software.amazon.awssdk:codegen") public final class ConflictResolution extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConflictResolution.Builder,ConflictResolution>
How the auto-merging process should resolve conflicts between different profiles.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConflictResolution.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConflictResolution.Builderbuilder()ConflictResolvingModelconflictResolvingModel()How the auto-merging process should resolve conflicts between different profiles.StringconflictResolvingModelAsString()How the auto-merging process should resolve conflicts between different profiles.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ConflictResolution.Builder>serializableBuilderClass()StringsourceName()TheObjectTypename that is used to resolve profile merging conflicts when choosingSOURCEas theConflictResolvingModel.ConflictResolution.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
-
conflictResolvingModel
public final ConflictResolvingModel conflictResolvingModel()
How the auto-merging process should resolve conflicts between different profiles.
-
RECENCY: Uses the data that was most recently updated. -
SOURCE: Uses the data from a specific source. For example, if a company has been aquired or two departments have merged, data from the specified source is used. If two duplicate profiles are from the same source, thenRECENCYis used again.
If the service returns an enum value that is not available in the current SDK version,
conflictResolvingModelwill returnConflictResolvingModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconflictResolvingModelAsString().- Returns:
- How the auto-merging process should resolve conflicts between different profiles.
-
RECENCY: Uses the data that was most recently updated. -
SOURCE: Uses the data from a specific source. For example, if a company has been aquired or two departments have merged, data from the specified source is used. If two duplicate profiles are from the same source, thenRECENCYis used again.
-
- See Also:
ConflictResolvingModel
-
-
conflictResolvingModelAsString
public final String conflictResolvingModelAsString()
How the auto-merging process should resolve conflicts between different profiles.
-
RECENCY: Uses the data that was most recently updated. -
SOURCE: Uses the data from a specific source. For example, if a company has been aquired or two departments have merged, data from the specified source is used. If two duplicate profiles are from the same source, thenRECENCYis used again.
If the service returns an enum value that is not available in the current SDK version,
conflictResolvingModelwill returnConflictResolvingModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconflictResolvingModelAsString().- Returns:
- How the auto-merging process should resolve conflicts between different profiles.
-
RECENCY: Uses the data that was most recently updated. -
SOURCE: Uses the data from a specific source. For example, if a company has been aquired or two departments have merged, data from the specified source is used. If two duplicate profiles are from the same source, thenRECENCYis used again.
-
- See Also:
ConflictResolvingModel
-
-
sourceName
public final String sourceName()
The
ObjectTypename that is used to resolve profile merging conflicts when choosingSOURCEas theConflictResolvingModel.- Returns:
- The
ObjectTypename that is used to resolve profile merging conflicts when choosingSOURCEas theConflictResolvingModel.
-
toBuilder
public ConflictResolution.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConflictResolution.Builder,ConflictResolution>
-
builder
public static ConflictResolution.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConflictResolution.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.
-
-