AWS SDK for .NET Documentation
SourceDataMap Class
AmazonAmazon.CloudSearch_2011_02_01.ModelSourceDataMap Did this page help you?   Yes   No    Tell us about it...

Specifies how to map source attribute values to custom values when populating an IndexField .

Declaration Syntax
C#
public class SourceDataMap
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
SourceDataMap()()()()
Initializes a new instance of the SourceDataMap class

Cases
A map that translates source field values to custom values.

DefaultValue
The default value to use if the source attribute is not specified in a document. Optional.

Constraints:

Length
0 - 1024


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
SourceName
The name of the document source field to add to this IndexField.

Constraints:

Length
1 - 64
Pattern
[a-z][a-z0-9_]*


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithCases(array<KeyValuePair<(Of <<'(String, String>)>>)>[]()[][]) Obsolete.
Adds the KeyValuePairs to the Cases dictionary.

WithDefaultValue(String) Obsolete.
Sets the DefaultValue property

WithSourceName(String) Obsolete.
Sets the SourceName property

Inheritance Hierarchy
Object
SourceDataMap

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)