public static interface IndexField.Builder extends SdkPojo, CopyableBuilder<IndexField.Builder,IndexField>
Modifier and Type | Method and Description |
---|---|
default IndexField.Builder |
dateArrayOptions(Consumer<DateArrayOptions.Builder> dateArrayOptions)
Sets the value of the DateArrayOptions property for this object.
|
IndexField.Builder |
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.
|
IndexField.Builder |
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.
|
IndexField.Builder |
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.
|
IndexField.Builder |
doubleOptions(DoubleOptions doubleOptions)
Sets the value of the DoubleOptions property for this object.
|
IndexField.Builder |
indexFieldName(String indexFieldName)
A string that represents the name of an index field.
|
IndexField.Builder |
indexFieldType(IndexFieldType indexFieldType)
Sets the value of the IndexFieldType property for this object.
|
IndexField.Builder |
indexFieldType(String 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.
|
IndexField.Builder |
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.
|
IndexField.Builder |
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.
|
IndexField.Builder |
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.
|
IndexField.Builder |
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.
|
IndexField.Builder |
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.
|
IndexField.Builder |
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.
|
IndexField.Builder |
textOptions(TextOptions textOptions)
Sets the value of the TextOptions property for this object.
|
copy
applyMutation, build
IndexField.Builder indexFieldName(String 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
.
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
.
IndexField.Builder indexFieldType(String indexFieldType)
indexFieldType
- The new value for the IndexFieldType property for this object.IndexFieldType
,
IndexFieldType
IndexField.Builder indexFieldType(IndexFieldType indexFieldType)
indexFieldType
- The new value for the IndexFieldType property for this object.IndexFieldType
,
IndexFieldType
IndexField.Builder intOptions(IntOptions intOptions)
intOptions
- The new value for the IntOptions property for this object.default IndexField.Builder intOptions(Consumer<IntOptions.Builder> intOptions)
IntOptions.Builder
avoiding the need to create
one manually via IntOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to intOptions(IntOptions)
.intOptions
- a consumer that will call methods on IntOptions.Builder
intOptions(IntOptions)
IndexField.Builder doubleOptions(DoubleOptions doubleOptions)
doubleOptions
- The new value for the DoubleOptions property for this object.default IndexField.Builder doubleOptions(Consumer<DoubleOptions.Builder> doubleOptions)
DoubleOptions.Builder
avoiding the need to
create one manually via DoubleOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to doubleOptions(DoubleOptions)
.doubleOptions
- a consumer that will call methods on DoubleOptions.Builder
doubleOptions(DoubleOptions)
IndexField.Builder literalOptions(LiteralOptions literalOptions)
literalOptions
- The new value for the LiteralOptions property for this object.default IndexField.Builder literalOptions(Consumer<LiteralOptions.Builder> literalOptions)
LiteralOptions.Builder
avoiding the need to
create one manually via LiteralOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to literalOptions(LiteralOptions)
.literalOptions
- a consumer that will call methods on LiteralOptions.Builder
literalOptions(LiteralOptions)
IndexField.Builder textOptions(TextOptions textOptions)
textOptions
- The new value for the TextOptions property for this object.default IndexField.Builder textOptions(Consumer<TextOptions.Builder> textOptions)
TextOptions.Builder
avoiding the need to create
one manually via TextOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to textOptions(TextOptions)
.textOptions
- a consumer that will call methods on TextOptions.Builder
textOptions(TextOptions)
IndexField.Builder dateOptions(DateOptions dateOptions)
dateOptions
- The new value for the DateOptions property for this object.default IndexField.Builder dateOptions(Consumer<DateOptions.Builder> dateOptions)
DateOptions.Builder
avoiding the need to create
one manually via DateOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to dateOptions(DateOptions)
.dateOptions
- a consumer that will call methods on DateOptions.Builder
dateOptions(DateOptions)
IndexField.Builder latLonOptions(LatLonOptions latLonOptions)
latLonOptions
- The new value for the LatLonOptions property for this object.default IndexField.Builder latLonOptions(Consumer<LatLonOptions.Builder> latLonOptions)
LatLonOptions.Builder
avoiding the need to
create one manually via LatLonOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to latLonOptions(LatLonOptions)
.latLonOptions
- a consumer that will call methods on LatLonOptions.Builder
latLonOptions(LatLonOptions)
IndexField.Builder intArrayOptions(IntArrayOptions intArrayOptions)
intArrayOptions
- The new value for the IntArrayOptions property for this object.default IndexField.Builder intArrayOptions(Consumer<IntArrayOptions.Builder> intArrayOptions)
IntArrayOptions.Builder
avoiding the need to
create one manually via IntArrayOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to intArrayOptions(IntArrayOptions)
.intArrayOptions
- a consumer that will call methods on IntArrayOptions.Builder
intArrayOptions(IntArrayOptions)
IndexField.Builder doubleArrayOptions(DoubleArrayOptions doubleArrayOptions)
doubleArrayOptions
- The new value for the DoubleArrayOptions property for this object.default IndexField.Builder doubleArrayOptions(Consumer<DoubleArrayOptions.Builder> doubleArrayOptions)
DoubleArrayOptions.Builder
avoiding the need to
create one manually via DoubleArrayOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to doubleArrayOptions(DoubleArrayOptions)
.doubleArrayOptions
- a consumer that will call methods on DoubleArrayOptions.Builder
doubleArrayOptions(DoubleArrayOptions)
IndexField.Builder literalArrayOptions(LiteralArrayOptions literalArrayOptions)
literalArrayOptions
- The new value for the LiteralArrayOptions property for this object.default IndexField.Builder literalArrayOptions(Consumer<LiteralArrayOptions.Builder> literalArrayOptions)
LiteralArrayOptions.Builder
avoiding the need
to create one manually via LiteralArrayOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to literalArrayOptions(LiteralArrayOptions)
.literalArrayOptions
- a consumer that will call methods on LiteralArrayOptions.Builder
literalArrayOptions(LiteralArrayOptions)
IndexField.Builder textArrayOptions(TextArrayOptions textArrayOptions)
textArrayOptions
- The new value for the TextArrayOptions property for this object.default IndexField.Builder textArrayOptions(Consumer<TextArrayOptions.Builder> textArrayOptions)
TextArrayOptions.Builder
avoiding the need to
create one manually via TextArrayOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to textArrayOptions(TextArrayOptions)
.textArrayOptions
- a consumer that will call methods on TextArrayOptions.Builder
textArrayOptions(TextArrayOptions)
IndexField.Builder dateArrayOptions(DateArrayOptions dateArrayOptions)
dateArrayOptions
- The new value for the DateArrayOptions property for this object.default IndexField.Builder dateArrayOptions(Consumer<DateArrayOptions.Builder> dateArrayOptions)
DateArrayOptions.Builder
avoiding the need to
create one manually via DateArrayOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to dateArrayOptions(DateArrayOptions)
.dateArrayOptions
- a consumer that will call methods on DateArrayOptions.Builder
dateArrayOptions(DateArrayOptions)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.