public static class BarbicanContainer.ContainerCreateConcreteBuilder extends Object implements ContainerCreateBuilder
Constructor and Description |
---|
ContainerCreateConcreteBuilder() |
ContainerCreateConcreteBuilder(BarbicanContainer container) |
Modifier and Type | Method and Description |
---|---|
Container |
build()
Creates and return the Model Entity M
|
ContainerCreateBuilder |
from(Container in)
Creates a Builder using the param M as the default values
|
ContainerCreateBuilder |
name(String name)
Optional.
|
ContainerCreateBuilder |
secretReferences(List<? extends ContainerSecret> references)
Required.
|
ContainerCreateBuilder |
type(String type)
Required.
|
public ContainerCreateConcreteBuilder()
public ContainerCreateConcreteBuilder(BarbicanContainer container)
public Container build()
build
in interface Buildable.Builder<ContainerCreateBuilder,Container>
public ContainerCreateBuilder from(Container in)
from
in interface Buildable.Builder<ContainerCreateBuilder,Container>
public ContainerCreateBuilder name(String name)
name
in interface ContainerCreateBuilder
name
- Human readable name for identifying your container.public ContainerCreateBuilder type(String type)
type
in interface ContainerCreateBuilder
type
- public ContainerCreateBuilder secretReferences(List<? extends ContainerSecret> references)
secretReferences
in interface ContainerCreateBuilder
references
- A list of dictionaries containing references to secretsCopyright © 2017. All rights reserved.