public static class Expansions.Builder
extends java.lang.Object
Constructor and Description |
---|
Expansions.Builder()
Instantiates a new builder.
|
Expansions.Builder(java.util.List<Expansion> expansions)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Expansions.Builder |
addExpansions(Expansion expansions)
Adds an expansions to expansions.
|
Expansions |
build()
Builds a Expansions.
|
Expansions.Builder |
expansions(java.util.List<Expansion> expansions)
Set the expansions.
|
public Expansions.Builder()
public Expansions.Builder(java.util.List<Expansion> expansions)
expansions
- the expansionspublic Expansions build()
public Expansions.Builder addExpansions(Expansion expansions)
expansions
- the new expansionspublic Expansions.Builder expansions(java.util.List<Expansion> expansions)
expansions
- the expansions