Class OctaviaMemberV2
- java.lang.Object
-
- org.openstack4j.openstack.octavia.domain.OctaviaMemberV2
-
- All Implemented Interfaces:
Serializable
,Buildable<MemberV2Builder>
,ModelEntity
,MemberV2
public class OctaviaMemberV2 extends Object implements MemberV2
A member of a v2 lbaas pool- Author:
- wei
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OctaviaMemberV2.MembersV2
static class
OctaviaMemberV2.MemberV2ConcreteBuilder
MemberV2 create builder-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description OctaviaMemberV2()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MemberV2Builder
builder()
String
getAddress()
String
getId()
String
getProjectId()
Integer
getProtocolPort()
String
getSubnetId()
Integer
getWeight()
boolean
isAdminStateUp()
MemberV2Builder
toBuilder()
String
toString()
-
-
-
Method Detail
-
builder
public static MemberV2Builder builder()
-
isAdminStateUp
public boolean isAdminStateUp()
- Specified by:
isAdminStateUp
in interfaceMemberV2
- Returns:
- The administrative state of the member, which is up (true) or down (false).
-
getSubnetId
public String getSubnetId()
- Specified by:
getSubnetId
in interfaceMemberV2
- Returns:
- The subnet in which to access the member
-
getWeight
public Integer getWeight()
-
getProtocolPort
public Integer getProtocolPort()
- Specified by:
getProtocolPort
in interfaceMemberV2
- Returns:
- The port on which the application is hosted.such as 80
-
getAddress
public String getAddress()
- Specified by:
getAddress
in interfaceMemberV2
- Returns:
- address the IP address of a member
-
getProjectId
public String getProjectId()
- Specified by:
getProjectId
in interfaceMemberV2
- Returns:
- the ID of the project/tenant that owns the resource
-
getId
public String getId()
-
toBuilder
public MemberV2Builder toBuilder()
- Specified by:
toBuilder
in interfaceBuildable<MemberV2Builder>
-
-