Package com.ibm.cloud.cloudant.v1.model
Class PutReplicationDocumentOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.PutReplicationDocumentOptions.Builder
- Enclosing class:
 PutReplicationDocumentOptions
Builder.
- 
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Instantiates a new builder.Builder(String docId, ReplicationDocument replicationDocument) Instantiates a new builder with required properties. - 
Method Summary
Modifier and TypeMethodDescriptionSet the batch.build()Builds a PutReplicationDocumentOptions.Set the docId.Set the ifMatch.Set the newEdits.replicationDocument(ReplicationDocument replicationDocument) Set the replicationDocument.Set the rev. 
- 
Constructor Details
- 
Builder
public Builder()Instantiates a new builder. - 
Builder
Instantiates a new builder with required properties.- Parameters:
 docId- the docIdreplicationDocument- the replicationDocument
 
 - 
 - 
Method Details
- 
build
Builds a PutReplicationDocumentOptions.- Returns:
 - the new PutReplicationDocumentOptions instance
 
 - 
docId
Set the docId.- Parameters:
 docId- the docId- Returns:
 - the PutReplicationDocumentOptions builder
 
 - 
replicationDocument
public PutReplicationDocumentOptions.Builder replicationDocument(ReplicationDocument replicationDocument) Set the replicationDocument.- Parameters:
 replicationDocument- the replicationDocument- Returns:
 - the PutReplicationDocumentOptions builder
 
 - 
ifMatch
Set the ifMatch.- Parameters:
 ifMatch- the ifMatch- Returns:
 - the PutReplicationDocumentOptions builder
 
 - 
batch
Set the batch.- Parameters:
 batch- the batch- Returns:
 - the PutReplicationDocumentOptions builder
 
 - 
newEdits
Set the newEdits.- Parameters:
 newEdits- the newEdits- Returns:
 - the PutReplicationDocumentOptions builder
 
 - 
rev
Set the rev.- Parameters:
 rev- the rev- Returns:
 - the PutReplicationDocumentOptions builder
 
 
 -