|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudsearch.model.SourceAttribute
public class SourceAttribute
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.
Constructor Summary | |
---|---|
SourceAttribute()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
SourceData |
getSourceDataCopy()
Copies data from a source document attribute to an IndexField . |
java.lang.String |
getSourceDataFunction()
Identifies the transformation to apply when copying data from a source attribute. |
SourceDataMap |
getSourceDataMap()
Maps source document attribute values to new values when populating the IndexField . |
SourceDataTrimTitle |
getSourceDataTrimTitle()
Trims common title words from a source document attribute when populating an IndexField . |
int |
hashCode()
|
void |
setSourceDataCopy(SourceData sourceDataCopy)
Copies data from a source document attribute to an IndexField . |
void |
setSourceDataFunction(SourceDataFunction sourceDataFunction)
Identifies the transformation to apply when copying data from a source attribute. |
void |
setSourceDataFunction(java.lang.String sourceDataFunction)
Identifies the transformation to apply when copying data from a source attribute. |
void |
setSourceDataMap(SourceDataMap sourceDataMap)
Maps source document attribute values to new values when populating the IndexField . |
void |
setSourceDataTrimTitle(SourceDataTrimTitle sourceDataTrimTitle)
Trims common title words from a source document attribute when populating an IndexField . |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SourceAttribute |
withSourceDataCopy(SourceData sourceDataCopy)
Copies data from a source document attribute to an IndexField . |
SourceAttribute |
withSourceDataFunction(SourceDataFunction sourceDataFunction)
Identifies the transformation to apply when copying data from a source attribute. |
SourceAttribute |
withSourceDataFunction(java.lang.String sourceDataFunction)
Identifies the transformation to apply when copying data from a source attribute. |
SourceAttribute |
withSourceDataMap(SourceDataMap sourceDataMap)
Maps source document attribute values to new values when populating the IndexField . |
SourceAttribute |
withSourceDataTrimTitle(SourceDataTrimTitle sourceDataTrimTitle)
Trims common title words from a source document attribute when populating an IndexField . |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SourceAttribute()
Method Detail |
---|
public java.lang.String getSourceDataFunction()
Constraints:
Allowed Values: Copy, TrimTitle, Map
SourceDataFunction
public void setSourceDataFunction(java.lang.String sourceDataFunction)
Constraints:
Allowed Values: Copy, TrimTitle, Map
sourceDataFunction
- Identifies the transformation to apply when copying data from a source
attribute.SourceDataFunction
public SourceAttribute withSourceDataFunction(java.lang.String sourceDataFunction)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Copy, TrimTitle, Map
sourceDataFunction
- Identifies the transformation to apply when copying data from a source
attribute.
SourceDataFunction
public void setSourceDataFunction(SourceDataFunction sourceDataFunction)
Constraints:
Allowed Values: Copy, TrimTitle, Map
sourceDataFunction
- Identifies the transformation to apply when copying data from a source
attribute.SourceDataFunction
public SourceAttribute withSourceDataFunction(SourceDataFunction sourceDataFunction)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Copy, TrimTitle, Map
sourceDataFunction
- Identifies the transformation to apply when copying data from a source
attribute.
SourceDataFunction
public SourceData getSourceDataCopy()
IndexField
.
IndexField
.public void setSourceDataCopy(SourceData sourceDataCopy)
IndexField
.
sourceDataCopy
- Copies data from a source document attribute to an
IndexField
.public SourceAttribute withSourceDataCopy(SourceData sourceDataCopy)
IndexField
.
Returns a reference to this object so that method calls can be chained together.
sourceDataCopy
- Copies data from a source document attribute to an
IndexField
.
public SourceDataTrimTitle getSourceDataTrimTitle()
IndexField
. This can be used to create an
IndexField
you can use for sorting.
IndexField
. This can be used to create an
IndexField
you can use for sorting.public void setSourceDataTrimTitle(SourceDataTrimTitle sourceDataTrimTitle)
IndexField
. This can be used to create an
IndexField
you can use for sorting.
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.public SourceAttribute withSourceDataTrimTitle(SourceDataTrimTitle sourceDataTrimTitle)
IndexField
. This can be used to create an
IndexField
you can use for sorting.
Returns a reference to this object so that method calls can be chained together.
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.
public SourceDataMap getSourceDataMap()
IndexField
.
IndexField
.public void setSourceDataMap(SourceDataMap sourceDataMap)
IndexField
.
sourceDataMap
- Maps source document attribute values to new values when populating
the IndexField
.public SourceAttribute withSourceDataMap(SourceDataMap sourceDataMap)
IndexField
.
Returns a reference to this object so that method calls can be chained together.
sourceDataMap
- Maps source document attribute values to new values when populating
the IndexField
.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |