public static class CreateExpansionsOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String projectId,
String collectionId,
List<Expansion> expansions)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateExpansionsOptions.Builder |
addExpansions(Expansion expansions)
Adds a new element to expansions.
|
CreateExpansionsOptions |
build()
Builds a CreateExpansionsOptions.
|
CreateExpansionsOptions.Builder |
collectionId(String collectionId)
Set the collectionId.
|
CreateExpansionsOptions.Builder |
expansions(Expansions expansions)
Set the expansions.
|
CreateExpansionsOptions.Builder |
expansions(List<Expansion> expansions)
Set the expansions.
|
CreateExpansionsOptions.Builder |
projectId(String projectId)
Set the projectId.
|
public CreateExpansionsOptions build()
public CreateExpansionsOptions.Builder addExpansions(Expansion expansions)
expansions
- the new element to be addedpublic CreateExpansionsOptions.Builder projectId(String projectId)
projectId
- the projectIdpublic CreateExpansionsOptions.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic CreateExpansionsOptions.Builder expansions(List<Expansion> expansions)
expansions
- the expansionspublic CreateExpansionsOptions.Builder expansions(Expansions expansions)
expansions
- the expansionsCopyright © 2024 IBM Cloud. All rights reserved.