public static class SearchIndexOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String crn,
String recordType)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
SearchIndexOptions.Builder |
attributes(CompareRecordsRequestAttributes attributes)
Set the attributes.
|
SearchIndexOptions |
build()
Builds a SearchIndexOptions.
|
SearchIndexOptions.Builder |
crn(String crn)
Set the crn.
|
SearchIndexOptions.Builder |
details(String details)
Set the details.
|
SearchIndexOptions.Builder |
entityType(String entityType)
Set the entityType.
|
SearchIndexOptions.Builder |
limit(String limit)
Set the limit.
|
SearchIndexOptions.Builder |
maxScore(String maxScore)
Set the maxScore.
|
SearchIndexOptions.Builder |
minScore(String minScore)
Set the minScore.
|
SearchIndexOptions.Builder |
offset(String offset)
Set the offset.
|
SearchIndexOptions.Builder |
recordType(String recordType)
Set the recordType.
|
public SearchIndexOptions build()
public SearchIndexOptions.Builder crn(String crn)
crn
- the crnpublic SearchIndexOptions.Builder recordType(String recordType)
recordType
- the recordTypepublic SearchIndexOptions.Builder attributes(CompareRecordsRequestAttributes attributes)
attributes
- the attributespublic SearchIndexOptions.Builder details(String details)
details
- the detailspublic SearchIndexOptions.Builder minScore(String minScore)
minScore
- the minScorepublic SearchIndexOptions.Builder maxScore(String maxScore)
maxScore
- the maxScorepublic SearchIndexOptions.Builder offset(String offset)
offset
- the offsetpublic SearchIndexOptions.Builder entityType(String entityType)
entityType
- the entityTypepublic SearchIndexOptions.Builder limit(String limit)
limit
- the limitCopyright © 2021 IBM Cloud. All rights reserved.