public static class NeutronMember.MemberConcreteBuilder extends Object implements MemberBuilder
Constructor and Description |
---|
MemberConcreteBuilder() |
MemberConcreteBuilder(NeutronMember m) |
Modifier and Type | Method and Description |
---|---|
MemberBuilder |
address(String address) |
MemberBuilder |
adminStateUp(boolean adminStateUp) |
Member |
build()
Creates and return the Model Entity M
|
MemberBuilder |
from(Member in)
Creates a Builder using the param M as the default values
|
MemberBuilder |
poolId(String lbPoolId) |
MemberBuilder |
protocolPort(Integer protocolPort) |
MemberBuilder |
tenantId(String tenantId) |
MemberBuilder |
weight(Integer weight) |
public MemberConcreteBuilder()
public MemberConcreteBuilder(NeutronMember m)
public Member build()
Buildable.Builder
build
in interface Buildable.Builder<MemberBuilder,Member>
public MemberBuilder from(Member in)
Buildable.Builder
from
in interface Buildable.Builder<MemberBuilder,Member>
public MemberBuilder tenantId(String tenantId)
tenantId
in interface MemberBuilder
tenantId
- Owner of the member. Only an administrative user can specify a
tenant ID other than its own.public MemberBuilder adminStateUp(boolean adminStateUp)
adminStateUp
in interface MemberBuilder
adminStateUp
- The administrative state of the member, which is up (true) or
down (false).public MemberBuilder address(String address)
address
in interface MemberBuilder
address
- The IP address of the member.public MemberBuilder protocolPort(Integer protocolPort)
protocolPort
in interface MemberBuilder
protocolPort
- . The port on which the application is hosted..A valid value
is from 1 to 65535public MemberBuilder weight(Integer weight)
weight
in interface MemberBuilder
weight
- Weight of member.from 1 to 256public MemberBuilder poolId(String lbPoolId)
poolId
in interface MemberBuilder
lbPoolId
- the lb pool identifierCopyright © 2017. All rights reserved.