Interface DataSourceConfiguration.Builder

    • Method Detail

      • intendedUse

        DataSourceConfiguration.Builder intendedUse​(String intendedUse)

        Specifies how the results of an operation will be stored by the caller.

        Valid values include:

        • SingleUse specifies that the results won't be stored.

        • Storage specifies that the result can be cached or stored in a database.

        Default value: SingleUse

        Parameters:
        intendedUse - Specifies how the results of an operation will be stored by the caller.

        Valid values include:

        • SingleUse specifies that the results won't be stored.

        • Storage specifies that the result can be cached or stored in a database.

        Default value: SingleUse

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IntendedUse, IntendedUse
      • intendedUse

        DataSourceConfiguration.Builder intendedUse​(IntendedUse intendedUse)

        Specifies how the results of an operation will be stored by the caller.

        Valid values include:

        • SingleUse specifies that the results won't be stored.

        • Storage specifies that the result can be cached or stored in a database.

        Default value: SingleUse

        Parameters:
        intendedUse - Specifies how the results of an operation will be stored by the caller.

        Valid values include:

        • SingleUse specifies that the results won't be stored.

        • Storage specifies that the result can be cached or stored in a database.

        Default value: SingleUse

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IntendedUse, IntendedUse