Interface IntOptions.Builder

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

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

    • defaultValue

      IntOptions.Builder defaultValue(Long defaultValue)
      A value to use for the field if the field isn't specified for a document. This can be important if you are using the field in an expression and that field is not present in every document.
      Parameters:
      defaultValue - A value to use for the field if the field isn't specified for a document. This can be important if you are using the field in an expression and that field is not present in every document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceField

      IntOptions.Builder sourceField(String sourceField)

      The name of the source field to map to the field.

      Parameters:
      sourceField - The name of the source field to map to the field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • facetEnabled

      IntOptions.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

      IntOptions.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

      IntOptions.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.
    • sortEnabled

      IntOptions.Builder sortEnabled(Boolean sortEnabled)

      Whether the field can be used to sort the search results.

      Parameters:
      sortEnabled - Whether the field can be used to sort the search results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.