public static interface CoreDefinitionVersion.Builder extends CopyableBuilder<CoreDefinitionVersion.Builder,CoreDefinitionVersion>
| Modifier and Type | Method and Description |
|---|---|
CoreDefinitionVersion.Builder |
cores(Collection<Core> cores)
Cores in the definition version.
|
CoreDefinitionVersion.Builder |
cores(Consumer<Core.Builder>... cores)
Cores in the definition version.
|
CoreDefinitionVersion.Builder |
cores(Core... cores)
Cores in the definition version.
|
copyapply, buildCoreDefinitionVersion.Builder cores(Collection<Core> cores)
cores - Cores in the definition version.CoreDefinitionVersion.Builder cores(Core... cores)
cores - Cores in the definition version.CoreDefinitionVersion.Builder cores(Consumer<Core.Builder>... cores)
.Builder avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #cores(List) .cores - a consumer that will call methods on List.Builder #cores(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.