public static class MagnumBay.BayConcreteBuilder extends Object implements BayBuilder
Modifier and Type | Class and Description |
---|---|
static class |
MagnumBay.BayConcreteBuilder.Bays |
Constructor and Description |
---|
BayConcreteBuilder() |
BayConcreteBuilder(MagnumBay model) |
Modifier and Type | Method and Description |
---|---|
BayBuilder |
bayCreateTimeout(String bayCreateTimeout) |
BayBuilder |
baymodelId(String baymodelId) |
Bay |
build()
Creates and return the Model Entity M
|
BayBuilder |
from(Bay in)
Creates a Builder using the param M as the default values
|
BayBuilder |
links(List<GenericLink> links) |
BayBuilder |
masterCount(Integer masterCount) |
BayBuilder |
name(String name) |
BayBuilder |
nodeCount(Integer nodeCount) |
BayBuilder |
stackId(String stackId) |
BayBuilder |
status(String status) |
BayBuilder |
uuid(String uuid) |
public BayConcreteBuilder()
public BayConcreteBuilder(MagnumBay model)
public Bay build()
Buildable.Builder
build
in interface Buildable.Builder<BayBuilder,Bay>
public BayBuilder from(Bay in)
Buildable.Builder
from
in interface Buildable.Builder<BayBuilder,Bay>
public BayBuilder status(String status)
status
in interface BayBuilder
Bay.getStatus()
public BayBuilder uuid(String uuid)
uuid
in interface BayBuilder
Bay.getUuid()
public BayBuilder links(List<GenericLink> links)
links
in interface BayBuilder
Bay.getLinks()
public BayBuilder stackId(String stackId)
stackId
in interface BayBuilder
Bay.getStackId()
public BayBuilder masterCount(Integer masterCount)
masterCount
in interface BayBuilder
Bay.getMasterCount()
public BayBuilder baymodelId(String baymodelId)
baymodelId
in interface BayBuilder
Bay.getBaymodelId()
public BayBuilder nodeCount(Integer nodeCount)
nodeCount
in interface BayBuilder
Bay.getNodeCount()
public BayBuilder bayCreateTimeout(String bayCreateTimeout)
bayCreateTimeout
in interface BayBuilder
Bay.getBayCreateTimeout()
public BayBuilder name(String name)
name
in interface BayBuilder
Bay.getName()
Copyright © 2017. All rights reserved.