Interface LiteralArrayOptions.Builder

All Superinterfaces:
Buildable, CopyableBuilder<LiteralArrayOptions.Builder,LiteralArrayOptions>, SdkBuilder<LiteralArrayOptions.Builder,LiteralArrayOptions>, SdkPojo
Enclosing class:
LiteralArrayOptions

public static interface LiteralArrayOptions.Builder extends SdkPojo, CopyableBuilder<LiteralArrayOptions.Builder,LiteralArrayOptions>
  • Method Details

    • defaultValue

      LiteralArrayOptions.Builder defaultValue(String defaultValue)
      A value to use for the field if the field isn't specified for a document.
      Parameters:
      defaultValue - A value to use for the field if the field isn't specified for a document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceFields

      LiteralArrayOptions.Builder sourceFields(String sourceFields)

      A list of source fields to map to the field.

      Parameters:
      sourceFields - A list of source fields to map to the field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • facetEnabled

      LiteralArrayOptions.Builder facetEnabled(Boolean facetEnabled)

      Whether facet information can be returned for the field.

      Parameters:
      facetEnabled - Whether facet information can be returned for the field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • searchEnabled

      LiteralArrayOptions.Builder searchEnabled(Boolean searchEnabled)

      Whether the contents of the field are searchable.

      Parameters:
      searchEnabled - Whether the contents of the field are searchable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • returnEnabled

      LiteralArrayOptions.Builder returnEnabled(Boolean returnEnabled)

      Whether the contents of the field can be returned in the search results.

      Parameters:
      returnEnabled - Whether the contents of the field can be returned in the search results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.