Package com.ibm.cloud.cloudant.v1.model
Class GetAttachmentOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.GetAttachmentOptions.Builder
- Enclosing class:
 GetAttachmentOptions
Builder.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionSet the accept.attachmentName(String attachmentName) Set the attachmentName.build()Builds a GetAttachmentOptions.Set the db.Set the docId.Set the ifMatch.ifNoneMatch(String ifNoneMatch) Set the ifNoneMatch.Set the range.Set the rev. 
- 
Constructor Details
- 
Builder
public Builder()Instantiates a new builder. - 
Builder
Instantiates a new builder with required properties.- Parameters:
 db- the dbdocId- the docIdattachmentName- the attachmentName
 
 - 
 - 
Method Details
- 
build
Builds a GetAttachmentOptions.- Returns:
 - the new GetAttachmentOptions instance
 
 - 
db
Set the db.- Parameters:
 db- the db- Returns:
 - the GetAttachmentOptions builder
 
 - 
docId
Set the docId.- Parameters:
 docId- the docId- Returns:
 - the GetAttachmentOptions builder
 
 - 
attachmentName
Set the attachmentName.- Parameters:
 attachmentName- the attachmentName- Returns:
 - the GetAttachmentOptions builder
 
 - 
accept
Set the accept.- Parameters:
 accept- the accept- Returns:
 - the GetAttachmentOptions builder
 
 - 
ifMatch
Set the ifMatch.- Parameters:
 ifMatch- the ifMatch- Returns:
 - the GetAttachmentOptions builder
 
 - 
ifNoneMatch
Set the ifNoneMatch.- Parameters:
 ifNoneMatch- the ifNoneMatch- Returns:
 - the GetAttachmentOptions builder
 
 - 
range
Set the range.- Parameters:
 range- the range- Returns:
 - the GetAttachmentOptions builder
 
 - 
rev
Set the rev.- Parameters:
 rev- the rev- Returns:
 - the GetAttachmentOptions builder
 
 
 -