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