Package com.ibm.cloud.cloudant.v1.model
Class ReplicationDatabaseAuthBasic
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.cloudant.v1.model.ReplicationDatabaseAuthBasic
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ReplicationDatabaseAuthBasic extends com.ibm.cloud.sdk.core.service.model.GenericModel
Schema for basic authentication of replication source or target database.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReplicationDatabaseAuthBasic.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicationDatabaseAuthBasic.Builder
newBuilder()
New builder.String
password()
Gets the password.String
username()
Gets the username.
-
-
-
Method Detail
-
newBuilder
public ReplicationDatabaseAuthBasic.Builder newBuilder()
New builder.- Returns:
- a ReplicationDatabaseAuthBasic builder
-
password
public String password()
Gets the password. The password associated with the username.- Returns:
- the password
-
username
public String username()
Gets the username. The username.- Returns:
- the username
-
-