Interface IndexField.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IndexField.Builder,
,IndexField> SdkBuilder<IndexField.Builder,
,IndexField> SdkPojo
- Enclosing class:
IndexField
-
Method Summary
Modifier and TypeMethodDescriptiondefault IndexField.Builder
dateArrayOptions
(Consumer<DateArrayOptions.Builder> dateArrayOptions) Sets the value of the DateArrayOptions property for this object.dateArrayOptions
(DateArrayOptions dateArrayOptions) Sets the value of the DateArrayOptions property for this object.default IndexField.Builder
dateOptions
(Consumer<DateOptions.Builder> dateOptions) Sets the value of the DateOptions property for this object.dateOptions
(DateOptions dateOptions) Sets the value of the DateOptions property for this object.default IndexField.Builder
doubleArrayOptions
(Consumer<DoubleArrayOptions.Builder> doubleArrayOptions) Sets the value of the DoubleArrayOptions property for this object.doubleArrayOptions
(DoubleArrayOptions doubleArrayOptions) Sets the value of the DoubleArrayOptions property for this object.default IndexField.Builder
doubleOptions
(Consumer<DoubleOptions.Builder> doubleOptions) Sets the value of the DoubleOptions property for this object.doubleOptions
(DoubleOptions doubleOptions) Sets the value of the DoubleOptions property for this object.indexFieldName
(String indexFieldName) A string that represents the name of an index field.indexFieldType
(String indexFieldType) Sets the value of the IndexFieldType property for this object.indexFieldType
(IndexFieldType indexFieldType) Sets the value of the IndexFieldType property for this object.default IndexField.Builder
intArrayOptions
(Consumer<IntArrayOptions.Builder> intArrayOptions) Sets the value of the IntArrayOptions property for this object.intArrayOptions
(IntArrayOptions intArrayOptions) Sets the value of the IntArrayOptions property for this object.default IndexField.Builder
intOptions
(Consumer<IntOptions.Builder> intOptions) Sets the value of the IntOptions property for this object.intOptions
(IntOptions intOptions) Sets the value of the IntOptions property for this object.default IndexField.Builder
latLonOptions
(Consumer<LatLonOptions.Builder> latLonOptions) Sets the value of the LatLonOptions property for this object.latLonOptions
(LatLonOptions latLonOptions) Sets the value of the LatLonOptions property for this object.default IndexField.Builder
literalArrayOptions
(Consumer<LiteralArrayOptions.Builder> literalArrayOptions) Sets the value of the LiteralArrayOptions property for this object.literalArrayOptions
(LiteralArrayOptions literalArrayOptions) Sets the value of the LiteralArrayOptions property for this object.default IndexField.Builder
literalOptions
(Consumer<LiteralOptions.Builder> literalOptions) Sets the value of the LiteralOptions property for this object.literalOptions
(LiteralOptions literalOptions) Sets the value of the LiteralOptions property for this object.default IndexField.Builder
textArrayOptions
(Consumer<TextArrayOptions.Builder> textArrayOptions) Sets the value of the TextArrayOptions property for this object.textArrayOptions
(TextArrayOptions textArrayOptions) Sets the value of the TextArrayOptions property for this object.default IndexField.Builder
textOptions
(Consumer<TextOptions.Builder> textOptions) Sets the value of the TextOptions property for this object.textOptions
(TextOptions textOptions) Sets the value of the TextOptions property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
indexFieldName
A string that represents the name of an index field. CloudSearch supports regular index fields as well as dynamic fields. A dynamic field's name defines a pattern that begins or ends with a wildcard. Any document fields that don't map to a regular index field but do match a dynamic field's pattern are configured with the dynamic field's indexing options.
Regular field names begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field names must begin or end with a wildcard (*). The wildcard can also be the only character in a dynamic field name. Multiple wildcards, and wildcards embedded within a string are not supported.
The name
score
is reserved and cannot be used as a field name. To reference a document's ID, you can use the name_id
.- Parameters:
indexFieldName
- A string that represents the name of an index field. CloudSearch supports regular index fields as well as dynamic fields. A dynamic field's name defines a pattern that begins or ends with a wildcard. Any document fields that don't map to a regular index field but do match a dynamic field's pattern are configured with the dynamic field's indexing options.Regular field names begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field names must begin or end with a wildcard (*). The wildcard can also be the only character in a dynamic field name. Multiple wildcards, and wildcards embedded within a string are not supported.
The name
score
is reserved and cannot be used as a field name. To reference a document's ID, you can use the name_id
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexFieldType
Sets the value of the IndexFieldType property for this object.- Parameters:
indexFieldType
- The new value for the IndexFieldType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
indexFieldType
Sets the value of the IndexFieldType property for this object.- Parameters:
indexFieldType
- The new value for the IndexFieldType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
intOptions
Sets the value of the IntOptions property for this object.- Parameters:
intOptions
- The new value for the IntOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intOptions
Sets the value of the IntOptions property for this object. This is a convenience method that creates an instance of theIntOptions.Builder
avoiding the need to create one manually viaIntOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointOptions(IntOptions)
.- Parameters:
intOptions
- a consumer that will call methods onIntOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
doubleOptions
Sets the value of the DoubleOptions property for this object.- Parameters:
doubleOptions
- The new value for the DoubleOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
doubleOptions
Sets the value of the DoubleOptions property for this object. This is a convenience method that creates an instance of theDoubleOptions.Builder
avoiding the need to create one manually viaDoubleOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todoubleOptions(DoubleOptions)
.- Parameters:
doubleOptions
- a consumer that will call methods onDoubleOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
literalOptions
Sets the value of the LiteralOptions property for this object.- Parameters:
literalOptions
- The new value for the LiteralOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
literalOptions
Sets the value of the LiteralOptions property for this object. This is a convenience method that creates an instance of theLiteralOptions.Builder
avoiding the need to create one manually viaLiteralOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toliteralOptions(LiteralOptions)
.- Parameters:
literalOptions
- a consumer that will call methods onLiteralOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
textOptions
Sets the value of the TextOptions property for this object.- Parameters:
textOptions
- The new value for the TextOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textOptions
Sets the value of the TextOptions property for this object. This is a convenience method that creates an instance of theTextOptions.Builder
avoiding the need to create one manually viaTextOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totextOptions(TextOptions)
.- Parameters:
textOptions
- a consumer that will call methods onTextOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dateOptions
Sets the value of the DateOptions property for this object.- Parameters:
dateOptions
- The new value for the DateOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateOptions
Sets the value of the DateOptions property for this object. This is a convenience method that creates an instance of theDateOptions.Builder
avoiding the need to create one manually viaDateOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todateOptions(DateOptions)
.- Parameters:
dateOptions
- a consumer that will call methods onDateOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
latLonOptions
Sets the value of the LatLonOptions property for this object.- Parameters:
latLonOptions
- The new value for the LatLonOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latLonOptions
Sets the value of the LatLonOptions property for this object. This is a convenience method that creates an instance of theLatLonOptions.Builder
avoiding the need to create one manually viaLatLonOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatLonOptions(LatLonOptions)
.- Parameters:
latLonOptions
- a consumer that will call methods onLatLonOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
intArrayOptions
Sets the value of the IntArrayOptions property for this object.- Parameters:
intArrayOptions
- The new value for the IntArrayOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intArrayOptions
Sets the value of the IntArrayOptions property for this object. This is a convenience method that creates an instance of theIntArrayOptions.Builder
avoiding the need to create one manually viaIntArrayOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointArrayOptions(IntArrayOptions)
.- Parameters:
intArrayOptions
- a consumer that will call methods onIntArrayOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
doubleArrayOptions
Sets the value of the DoubleArrayOptions property for this object.- Parameters:
doubleArrayOptions
- The new value for the DoubleArrayOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
doubleArrayOptions
default IndexField.Builder doubleArrayOptions(Consumer<DoubleArrayOptions.Builder> doubleArrayOptions) Sets the value of the DoubleArrayOptions property for this object. This is a convenience method that creates an instance of theDoubleArrayOptions.Builder
avoiding the need to create one manually viaDoubleArrayOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todoubleArrayOptions(DoubleArrayOptions)
.- Parameters:
doubleArrayOptions
- a consumer that will call methods onDoubleArrayOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
literalArrayOptions
Sets the value of the LiteralArrayOptions property for this object.- Parameters:
literalArrayOptions
- The new value for the LiteralArrayOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
literalArrayOptions
default IndexField.Builder literalArrayOptions(Consumer<LiteralArrayOptions.Builder> literalArrayOptions) Sets the value of the LiteralArrayOptions property for this object. This is a convenience method that creates an instance of theLiteralArrayOptions.Builder
avoiding the need to create one manually viaLiteralArrayOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toliteralArrayOptions(LiteralArrayOptions)
.- Parameters:
literalArrayOptions
- a consumer that will call methods onLiteralArrayOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
textArrayOptions
Sets the value of the TextArrayOptions property for this object.- Parameters:
textArrayOptions
- The new value for the TextArrayOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textArrayOptions
Sets the value of the TextArrayOptions property for this object. This is a convenience method that creates an instance of theTextArrayOptions.Builder
avoiding the need to create one manually viaTextArrayOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totextArrayOptions(TextArrayOptions)
.- Parameters:
textArrayOptions
- a consumer that will call methods onTextArrayOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dateArrayOptions
Sets the value of the DateArrayOptions property for this object.- Parameters:
dateArrayOptions
- The new value for the DateArrayOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateArrayOptions
Sets the value of the DateArrayOptions property for this object. This is a convenience method that creates an instance of theDateArrayOptions.Builder
avoiding the need to create one manually viaDateArrayOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todateArrayOptions(DateArrayOptions)
.- Parameters:
dateArrayOptions
- a consumer that will call methods onDateArrayOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-