Package com.ibm.cloud.cloudant.v1.model
Class ReplicationDatabase.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.ReplicationDatabase.Builder
- Enclosing class:
ReplicationDatabase
Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauth
(ReplicationDatabaseAuth auth) Set the auth.build()
Builds a ReplicationDatabase.Set the headers.Set the url.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
url
- the url
-
-
Method Details
-
build
Builds a ReplicationDatabase.- Returns:
- the new ReplicationDatabase instance
-
auth
Set the auth.- Parameters:
auth
- the auth- Returns:
- the ReplicationDatabase builder
-
headers
Set the headers.- Parameters:
headers
- the headers- Returns:
- the ReplicationDatabase builder
-
url
Set the url.- Parameters:
url
- the url- Returns:
- the ReplicationDatabase builder
-