Package com.ibm.cloud.cloudant.v1.model
Class HeadDesignDocumentOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.HeadDesignDocumentOptions.Builder
- Enclosing class:
HeadDesignDocumentOptions
Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a HeadDesignDocumentOptions.Set the db.Set the ddoc.ifNoneMatch
(String ifNoneMatch) Set the ifNoneMatch.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
db
- the dbddoc
- the ddoc
-
-
Method Details
-
build
Builds a HeadDesignDocumentOptions.- Returns:
- the new HeadDesignDocumentOptions instance
-
db
Set the db.- Parameters:
db
- the db- Returns:
- the HeadDesignDocumentOptions builder
-
ddoc
Set the ddoc.- Parameters:
ddoc
- the ddoc- Returns:
- the HeadDesignDocumentOptions builder
-
ifNoneMatch
Set the ifNoneMatch.- Parameters:
ifNoneMatch
- the ifNoneMatch- Returns:
- the HeadDesignDocumentOptions builder
-