public static class CreateExpansionsOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String environmentId,
java.lang.String collectionId,
java.util.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(java.lang.String collectionId)
Set the collectionId.
|
CreateExpansionsOptions.Builder |
environmentId(java.lang.String environmentId)
Set the environmentId.
|
CreateExpansionsOptions.Builder |
expansions(Expansions expansions)
Set the expansions.
|
CreateExpansionsOptions.Builder |
expansions(java.util.List<Expansion> expansions)
Set the expansions.
|
public Builder()
public Builder(java.lang.String environmentId, java.lang.String collectionId, java.util.List<Expansion> expansions)
environmentId
- the environmentIdcollectionId
- the collectionIdexpansions
- the expansionspublic CreateExpansionsOptions build()
public CreateExpansionsOptions.Builder addExpansions(Expansion expansions)
expansions
- the new expansionspublic CreateExpansionsOptions.Builder environmentId(java.lang.String environmentId)
environmentId
- the environmentIdpublic CreateExpansionsOptions.Builder collectionId(java.lang.String collectionId)
collectionId
- the collectionIdpublic CreateExpansionsOptions.Builder expansions(java.util.List<Expansion> expansions)
expansions
- the expansionspublic CreateExpansionsOptions.Builder expansions(Expansions expansions)
expansions
- the expansions