Interface CoreDefinitionVersion.Builder

    • Method Detail

      • cores

        CoreDefinitionVersion.Builder cores​(Collection<Core> 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

        CoreDefinitionVersion.Builder cores​(Core... 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

        CoreDefinitionVersion.Builder cores​(Consumer<Core.Builder>... cores)
        A list of cores in the core definition version. This is a convenience method that creates an instance of the Core.Builder avoiding the need to create one manually via Core.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #cores(List).

        Parameters:
        cores - a consumer that will call methods on Core.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #cores(java.util.Collection)