public static class MagnumMservice.MserviceConcreteBuilder extends Object implements MserviceBuilder
Constructor and Description |
---|
MserviceConcreteBuilder() |
Modifier and Type | Method and Description |
---|---|
MserviceBuilder |
binary(String binary) |
Mservice |
build()
Creates and return the Model Entity M
|
MserviceBuilder |
createdAt(String createdAt) |
MserviceBuilder |
disabledReason(String disabledReason) |
MserviceBuilder |
from(Mservice in)
Creates a Builder using the param M as the default values
|
MserviceBuilder |
host(String host) |
MserviceBuilder |
id(String id) |
MserviceBuilder |
reportCount(int reportCount) |
MserviceBuilder |
state(String state) |
MserviceBuilder |
updatedAt(String updatedAt) |
public Mservice build()
Buildable.Builder
build
in interface Buildable.Builder<MserviceBuilder,Mservice>
public MserviceBuilder from(Mservice in)
Buildable.Builder
from
in interface Buildable.Builder<MserviceBuilder,Mservice>
public MserviceBuilder id(String id)
id
in interface MserviceBuilder
Mservice.getId()
public MserviceBuilder binary(String binary)
binary
in interface MserviceBuilder
Mservice.getBinary()
public MserviceBuilder createdAt(String createdAt)
createdAt
in interface MserviceBuilder
Mservice.getCreatedAt()
public MserviceBuilder state(String state)
state
in interface MserviceBuilder
Mservice.getState()
public MserviceBuilder reportCount(int reportCount)
reportCount
in interface MserviceBuilder
Mservice.getReportCount()
public MserviceBuilder updatedAt(String updatedAt)
updatedAt
in interface MserviceBuilder
Mservice.getUpdatedAt()
public MserviceBuilder host(String host)
host
in interface MserviceBuilder
Mservice.getHost()
public MserviceBuilder disabledReason(String disabledReason)
disabledReason
in interface MserviceBuilder
Mservice.getDisabledReason()
Copyright © 2017. All rights reserved.