Interface CoreDefinitionVersion.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CoreDefinitionVersion.Builder,,CoreDefinitionVersion> SdkBuilder<CoreDefinitionVersion.Builder,,CoreDefinitionVersion> SdkPojo
- Enclosing class:
CoreDefinitionVersion
@Mutable
@NotThreadSafe
public static interface CoreDefinitionVersion.Builder
extends SdkPojo, CopyableBuilder<CoreDefinitionVersion.Builder,CoreDefinitionVersion>
-
Method Summary
Modifier and TypeMethodDescriptioncores(Collection<Core> cores) A list of cores in the core definition version.cores(Consumer<Core.Builder>... cores) A list of cores in the core definition version.A list of cores in the core definition version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
cores
A list of cores in the core definition version.- Parameters:
cores- A list of cores in the core definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cores
A list of cores in the core definition version.- Parameters:
cores- A list of cores in the core definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cores
A list of cores in the core definition version. This is a convenience method that creates an instance of theCore.Builderavoiding the need to create one manually viaCore.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocores(List<Core>).- Parameters:
cores- a consumer that will call methods onCore.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-