Package com.ibm.cloud.cloudant.v1.model
Class GetAttachmentOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.GetAttachmentOptions.Builder
-
- Enclosing class:
- GetAttachmentOptions
public static class GetAttachmentOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAttachmentOptions.Builder
accept(String accept)
Set the accept.GetAttachmentOptions.Builder
attachmentName(String attachmentName)
Set the attachmentName.GetAttachmentOptions
build()
Builds a GetAttachmentOptions.GetAttachmentOptions.Builder
db(String db)
Set the db.GetAttachmentOptions.Builder
docId(String docId)
Set the docId.GetAttachmentOptions.Builder
ifMatch(String ifMatch)
Set the ifMatch.GetAttachmentOptions.Builder
ifNoneMatch(String ifNoneMatch)
Set the ifNoneMatch.GetAttachmentOptions.Builder
range(String range)
Set the range.GetAttachmentOptions.Builder
rev(String rev)
Set the rev.
-
-
-
Method Detail
-
build
public GetAttachmentOptions build()
Builds a GetAttachmentOptions.- Returns:
- the new GetAttachmentOptions instance
-
db
public GetAttachmentOptions.Builder db(String db)
Set the db.- Parameters:
db
- the db- Returns:
- the GetAttachmentOptions builder
-
docId
public GetAttachmentOptions.Builder docId(String docId)
Set the docId.- Parameters:
docId
- the docId- Returns:
- the GetAttachmentOptions builder
-
attachmentName
public GetAttachmentOptions.Builder attachmentName(String attachmentName)
Set the attachmentName.- Parameters:
attachmentName
- the attachmentName- Returns:
- the GetAttachmentOptions builder
-
accept
public GetAttachmentOptions.Builder accept(String accept)
Set the accept.- Parameters:
accept
- the accept- Returns:
- the GetAttachmentOptions builder
-
ifMatch
public GetAttachmentOptions.Builder ifMatch(String ifMatch)
Set the ifMatch.- Parameters:
ifMatch
- the ifMatch- Returns:
- the GetAttachmentOptions builder
-
ifNoneMatch
public GetAttachmentOptions.Builder ifNoneMatch(String ifNoneMatch)
Set the ifNoneMatch.- Parameters:
ifNoneMatch
- the ifNoneMatch- Returns:
- the GetAttachmentOptions builder
-
range
public GetAttachmentOptions.Builder range(String range)
Set the range.- Parameters:
range
- the range- Returns:
- the GetAttachmentOptions builder
-
rev
public GetAttachmentOptions.Builder rev(String rev)
Set the rev.- Parameters:
rev
- the rev- Returns:
- the GetAttachmentOptions builder
-
-