Class NeutronAgent
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.NeutronAgent
-
- All Implemented Interfaces:
Serializable,Buildable<AgentBuilder>,ModelEntity,Agent
public class NeutronAgent extends Object implements Agent
Neutron Agent- Author:
- Yin Zhang, Qin An
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronAgent.AgentConcreteBuilderstatic classNeutronAgent.Agents-
Nested classes/interfaces inherited from interface org.openstack4j.model.network.Agent
Agent.Type
-
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 NeutronAgent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AgentBuilderbuilder()booleangetAdminStateUp()Agent.TypegetAgentType()booleangetAlive()StringgetBinary()DategetCreatedAt()StringgetDescription()DategetHeartbeatTimestamp()StringgetHost()StringgetId()DategetStartedAt()StringgetTopic()AgentBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static AgentBuilder builder()
-
getAdminStateUp
public boolean getAdminStateUp()
- Specified by:
getAdminStateUpin interfaceAgent- Returns:
- the admin state up for the agent
-
getAgentType
public Agent.Type getAgentType()
- Specified by:
getAgentTypein interfaceAgent- Returns:
- the type of the agent
-
getAlive
public boolean getAlive()
-
getBinary
public String getBinary()
-
getCreatedAt
public Date getCreatedAt()
- Specified by:
getCreatedAtin interfaceAgent- Returns:
- the created time stamp of the agent
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceAgent- Returns:
- the description for the agent
-
getHeartbeatTimestamp
public Date getHeartbeatTimestamp()
- Specified by:
getHeartbeatTimestampin interfaceAgent- Returns:
- the heartbeat timestamp for the agent
-
getHost
public String getHost()
-
getStartedAt
public Date getStartedAt()
- Specified by:
getStartedAtin interfaceAgent- Returns:
- the start time stamp of the agent
-
getTopic
public String getTopic()
-
toBuilder
public AgentBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<AgentBuilder>
-
-