public static class SenlinNodeActionCreate.SenlinNodeActionCreateConcreteBuilder extends Object implements NodeActionCreateBuilder
build()
to receive the
NodeCreate
object.Constructor and Description |
---|
SenlinNodeActionCreateConcreteBuilder()
Constructor to create a
SenlinNodeActionCreate.SenlinNodeActionCreateConcreteBuilder object
with a new, empty SenlinNodeActionCreate object. |
SenlinNodeActionCreateConcreteBuilder(SenlinNodeActionCreate model)
Constructor for manipulation of an existing
SenlinNodeActionCreate
object. |
Modifier and Type | Method and Description |
---|---|
NodeActionCreate |
build()
Creates and return the Model Entity M
|
NodeActionCreateBuilder |
check(Map<String,String> check)
Check the health status of a node
|
NodeActionCreateBuilder |
from(NodeActionCreate in)
Creates a Builder using the param M as the default values
|
NodeActionCreateBuilder |
recover(Map<String,String> recover)
Recover a node from its current unhealthy status
|
public SenlinNodeActionCreateConcreteBuilder()
SenlinNodeActionCreate.SenlinNodeActionCreateConcreteBuilder
object
with a new, empty SenlinNodeActionCreate
object.public SenlinNodeActionCreateConcreteBuilder(SenlinNodeActionCreate model)
SenlinNodeActionCreate
object.model
- the SenlinNodeActionCreate
object which is to be
modified.public NodeActionCreate build()
Buildable.Builder
build
in interface Buildable.Builder<NodeActionCreateBuilder,NodeActionCreate>
public NodeActionCreateBuilder from(NodeActionCreate in)
Buildable.Builder
from
in interface Buildable.Builder<NodeActionCreateBuilder,NodeActionCreate>
public NodeActionCreateBuilder check(Map<String,String> check)
NodeActionCreateBuilder
check
in interface NodeActionCreateBuilder
check
- check infopublic NodeActionCreateBuilder recover(Map<String,String> recover)
NodeActionCreateBuilder
recover
in interface NodeActionCreateBuilder
recover
- the operation of nodeCopyright © 2017. All rights reserved.