Interface OpenSearchServerlessConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OpenSearchServerlessConfiguration.Builder,OpenSearchServerlessConfiguration>,SdkBuilder<OpenSearchServerlessConfiguration.Builder,OpenSearchServerlessConfiguration>,SdkPojo
- Enclosing class:
- OpenSearchServerlessConfiguration
public static interface OpenSearchServerlessConfiguration.Builder extends SdkPojo, CopyableBuilder<OpenSearchServerlessConfiguration.Builder,OpenSearchServerlessConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OpenSearchServerlessConfiguration.BuildercollectionArn(String collectionArn)Sets the value of the CollectionArn property for this object.default OpenSearchServerlessConfiguration.BuilderfieldMapping(Consumer<OpenSearchServerlessFieldMapping.Builder> fieldMapping)Sets the value of the FieldMapping property for this object.OpenSearchServerlessConfiguration.BuilderfieldMapping(OpenSearchServerlessFieldMapping fieldMapping)Sets the value of the FieldMapping property for this object.OpenSearchServerlessConfiguration.BuildervectorIndexName(String vectorIndexName)Sets the value of the VectorIndexName 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 Detail
-
collectionArn
OpenSearchServerlessConfiguration.Builder collectionArn(String collectionArn)
Sets the value of the CollectionArn property for this object.- Parameters:
collectionArn- The new value for the CollectionArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorIndexName
OpenSearchServerlessConfiguration.Builder vectorIndexName(String vectorIndexName)
Sets the value of the VectorIndexName property for this object.- Parameters:
vectorIndexName- The new value for the VectorIndexName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMapping
OpenSearchServerlessConfiguration.Builder fieldMapping(OpenSearchServerlessFieldMapping fieldMapping)
Sets the value of the FieldMapping property for this object.- Parameters:
fieldMapping- The new value for the FieldMapping property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMapping
default OpenSearchServerlessConfiguration.Builder fieldMapping(Consumer<OpenSearchServerlessFieldMapping.Builder> fieldMapping)
Sets the value of the FieldMapping property for this object. This is a convenience method that creates an instance of theOpenSearchServerlessFieldMapping.Builderavoiding the need to create one manually viaOpenSearchServerlessFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofieldMapping(OpenSearchServerlessFieldMapping).- Parameters:
fieldMapping- a consumer that will call methods onOpenSearchServerlessFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fieldMapping(OpenSearchServerlessFieldMapping)
-
-