Couchbase C++ SDK 1.0.1 (rev. 58d46d7)
Loading...
Searching...
No Matches
create_collection_options Struct Reference

#include <couchbase/create_collection_options.hxx>

Inheritance diagram for create_collection_options:
Inheritance graph

Classes

struct  built
 Immutable value object representing consistent options. More...
 

Public Member Functions

auto build () const -> built
 Validates the options and returns them as an immutable value.
 
- Public Member Functions inherited from common_options< create_collection_options >
auto timeout (const std::chrono::milliseconds timeout) -> create_collection_options &
 Specifies a custom per-operation timeout.
 
auto retry_strategy (const std::shared_ptr< retry_strategy > strategy) -> create_collection_options &
 Specifies a custom couchbase::retry_strategy for this operation.
 

Additional Inherited Members

- Protected Member Functions inherited from common_options< create_collection_options >
auto build_common_options () const -> built
 
auto self () -> create_collection_options &
 Allows to return the right options builder instance for child implementations.
 

Member Function Documentation

◆ build()

auto build ( ) const -> built
inline

Validates the options and returns them as an immutable value.

Returns
consistent options as an immutable value
Exceptions
std::system_errorwith code errc::common::invalid_argument if the options are not valid
Since
1.0.0
Internal
Internal interface

The documentation for this struct was generated from the following file: