Interface PineconeConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PineconeConfiguration.Builder,PineconeConfiguration>,SdkBuilder<PineconeConfiguration.Builder,PineconeConfiguration>,SdkPojo
- Enclosing class:
- PineconeConfiguration
public static interface PineconeConfiguration.Builder extends SdkPojo, CopyableBuilder<PineconeConfiguration.Builder,PineconeConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PineconeConfiguration.BuilderconnectionString(String connectionString)Sets the value of the ConnectionString property for this object.PineconeConfiguration.BuildercredentialsSecretArn(String credentialsSecretArn)Sets the value of the CredentialsSecretArn property for this object.default PineconeConfiguration.BuilderfieldMapping(Consumer<PineconeFieldMapping.Builder> fieldMapping)Sets the value of the FieldMapping property for this object.PineconeConfiguration.BuilderfieldMapping(PineconeFieldMapping fieldMapping)Sets the value of the FieldMapping property for this object.PineconeConfiguration.Buildernamespace(String namespace)Sets the value of the Namespace 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
-
connectionString
PineconeConfiguration.Builder connectionString(String connectionString)
Sets the value of the ConnectionString property for this object.- Parameters:
connectionString- The new value for the ConnectionString property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialsSecretArn
PineconeConfiguration.Builder credentialsSecretArn(String credentialsSecretArn)
Sets the value of the CredentialsSecretArn property for this object.- Parameters:
credentialsSecretArn- The new value for the CredentialsSecretArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
PineconeConfiguration.Builder namespace(String namespace)
Sets the value of the Namespace property for this object.- Parameters:
namespace- The new value for the Namespace property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMapping
PineconeConfiguration.Builder fieldMapping(PineconeFieldMapping 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 PineconeConfiguration.Builder fieldMapping(Consumer<PineconeFieldMapping.Builder> fieldMapping)
Sets the value of the FieldMapping property for this object. This is a convenience method that creates an instance of thePineconeFieldMapping.Builderavoiding the need to create one manually viaPineconeFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofieldMapping(PineconeFieldMapping).- Parameters:
fieldMapping- a consumer that will call methods onPineconeFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fieldMapping(PineconeFieldMapping)
-
-