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