public static class MagnumPod.PodConcreteBuilder extends Object implements PodBuilder
Constructor and Description |
---|
PodConcreteBuilder() |
PodConcreteBuilder(MagnumPod model) |
Modifier and Type | Method and Description |
---|---|
PodBuilder |
bayUuid(String bayUuid) |
Pod |
build()
Creates and return the Model Entity M
|
PodBuilder |
desc(String desc) |
PodBuilder |
from(Pod in)
Creates a Builder using the param M as the default values
|
PodBuilder |
id(String id) |
PodBuilder |
images(List<String> images) |
PodBuilder |
labels(Label labels) |
PodBuilder |
name(String name) |
PodBuilder |
status(String status) |
PodBuilder |
uuid(String uuid) |
public PodConcreteBuilder()
public PodConcreteBuilder(MagnumPod model)
public Pod build()
Buildable.Builder
build
in interface Buildable.Builder<PodBuilder,Pod>
public PodBuilder from(Pod in)
Buildable.Builder
from
in interface Buildable.Builder<PodBuilder,Pod>
public PodBuilder id(String id)
id
in interface PodBuilder
Pod.getId()
public PodBuilder uuid(String uuid)
uuid
in interface PodBuilder
Pod.getUuid()
public PodBuilder name(String name)
name
in interface PodBuilder
Pod.getName()
public PodBuilder desc(String desc)
desc
in interface PodBuilder
Pod.getDesc()
public PodBuilder bayUuid(String bayUuid)
bayUuid
in interface PodBuilder
Pod.getBayUuid()
public PodBuilder images(List<String> images)
images
in interface PodBuilder
Pod.getImages()
public PodBuilder labels(Label labels)
labels
in interface PodBuilder
Pod.getLabels()
public PodBuilder status(String status)
status
in interface PodBuilder
Pod.getStatus()
Copyright © 2017. All rights reserved.