public class ContainerConfig
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ContainerConfig.Update
Update class used to change data when creating a container config.
|
| Modifier and Type | Method and Description |
|---|---|
static ContainerConfig |
of(ImageReference imageReference,
java.util.function.Consumer<ContainerConfig.Update> update)
Factory method to create a
ContainerConfig with specific settings. |
java.lang.String |
toString() |
void |
writeTo(java.io.OutputStream outputStream)
Write this container configuration to the specified
OutputStream. |
public void writeTo(java.io.OutputStream outputStream)
throws java.io.IOException
OutputStream.outputStream - the output streamjava.io.IOException - on IO errorpublic java.lang.String toString()
toString in class java.lang.Objectpublic static ContainerConfig of(ImageReference imageReference, java.util.function.Consumer<ContainerConfig.Update> update)
ContainerConfig with specific settings.imageReference - the source image for the container configupdate - an update callback used to customize the configContainerConfig instance