public static class CreateExpansionsOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String environmentId,
String collectionId,
List<Expansion> expansions)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateExpansionsOptions.Builder |
addExpansions(Expansion expansions)
Adds an expansions to expansions.
|
CreateExpansionsOptions |
build()
Builds a CreateExpansionsOptions.
|
CreateExpansionsOptions.Builder |
collectionId(String collectionId)
Set the collectionId.
|
CreateExpansionsOptions.Builder |
environmentId(String environmentId)
Set the environmentId.
|
CreateExpansionsOptions.Builder |
expansions(Expansions expansions)
Set the expansions.
|
CreateExpansionsOptions.Builder |
expansions(List<Expansion> expansions)
Set the expansions.
|
public CreateExpansionsOptions build()
public CreateExpansionsOptions.Builder addExpansions(Expansion expansions)
expansions
- the new expansionspublic CreateExpansionsOptions.Builder environmentId(String environmentId)
environmentId
- the environmentIdpublic 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 © 2023 IBM Cloud. All rights reserved.