public static class MagnumContainer.ContainerConcreteBuilder extends Object implements ContainerBuilder
Constructor and Description |
---|
ContainerConcreteBuilder() |
ContainerConcreteBuilder(MagnumContainer model) |
Modifier and Type | Method and Description |
---|---|
ContainerBuilder |
bayUuid(String bayUuid) |
Container |
build()
Creates and return the Model Entity M
|
ContainerBuilder |
command(String command) |
ContainerBuilder |
environment(MagnumEnvironment environment) |
ContainerBuilder |
from(Container in)
Creates a Builder using the param M as the default values
|
ContainerBuilder |
image(String image) |
ContainerBuilder |
links(List<GenericLink> links) |
ContainerBuilder |
memory(String memory) |
ContainerBuilder |
name(String name) |
ContainerBuilder |
status(String status) |
ContainerBuilder |
uuid(String uuid) |
public ContainerConcreteBuilder()
public ContainerConcreteBuilder(MagnumContainer model)
public Container build()
Buildable.Builder
build
in interface Buildable.Builder<ContainerBuilder,Container>
public ContainerBuilder from(Container in)
Buildable.Builder
from
in interface Buildable.Builder<ContainerBuilder,Container>
public ContainerBuilder status(String status)
status
in interface ContainerBuilder
Container.getStatus()
public ContainerBuilder uuid(String uuid)
uuid
in interface ContainerBuilder
Container.getUuid()
public ContainerBuilder links(List<GenericLink> links)
links
in interface ContainerBuilder
Container.getLinks()
public ContainerBuilder image(String image)
image
in interface ContainerBuilder
Container.getImage()
public ContainerBuilder environment(MagnumEnvironment environment)
environment
in interface ContainerBuilder
Container.getEnvironment()
public ContainerBuilder command(String command)
command
in interface ContainerBuilder
Container.getCommand()
public ContainerBuilder memory(String memory)
memory
in interface ContainerBuilder
Container.getMemory()
public ContainerBuilder bayUuid(String bayUuid)
bayUuid
in interface ContainerBuilder
Container.getBayUuid()
public ContainerBuilder name(String name)
name
in interface ContainerBuilder
Container.getName()
Copyright © 2017. All rights reserved.