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

Identifies the source data for an index field. An optional data transformation can be applied to the source data when populating the index field. By default, the value of the source attribute is copied to the index field.

Declaration Syntax
C#
public class SourceAttribute
Members
All MembersConstructorsMethodsProperties



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

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.)
SourceDataCopy
Copies data from a source document attribute to an IndexField.

SourceDataFunction
Identifies the transformation to apply when copying data from a source attribute.

Constraints:

Allowed Values
Copy, TrimTitle, Map


SourceDataMap
Maps source document attribute values to new values when populating the IndexField.

SourceDataTrimTitle
Trims common title words from a source document attribute when populating an IndexField. This can be used to create an IndexField you can use for sorting.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithSourceDataCopy(SourceData) Obsolete.
Sets the SourceDataCopy property

WithSourceDataFunction(String) Obsolete.
Sets the SourceDataFunction property

WithSourceDataMap(SourceDataMap) Obsolete.
Sets the SourceDataMap property

WithSourceDataTrimTitle(SourceDataTrimTitle) Obsolete.
Sets the SourceDataTrimTitle property

Inheritance Hierarchy
Object
SourceAttribute

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