Package org.openstack4j.openstack.magnum
Class MagnumMservice
- java.lang.Object
-
- org.openstack4j.openstack.magnum.MagnumMservice
-
- All Implemented Interfaces:
Serializable,Buildable<MserviceBuilder>,Mservice,ModelEntity
public class MagnumMservice extends Object implements Mservice
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMagnumMservice.MserviceConcreteBuilderConcrete builder containing MagnumMservice as modelstatic classMagnumMservice.MservicesList of Magnum Services-
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 MagnumMservice()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MserviceBuilderbuilder()Magnum service builderStringgetBinary()Binary of the serviceStringgetCreatedAt()Creation dateStringgetDisabledReason()The disabled reasonStringgetHost()The host nameStringgetId()Identifier of Magnum ServiceintgetReportCount()Report countStringgetState()Current state if it is up or notStringgetUpdatedAt()The date of last updationvoidsetBinary(String binary)Set the binaryvoidsetCreatedAt(String createdAt)Set the creation datevoidsetDisabledReason(String disabledReason)Set the disabled reasonvoidsetHost(String host)Set the hostnamevoidsetId(String id)Set the idvoidsetReportCount(int reportCount)Set the report countvoidsetState(String state)Set the statevoidsetUpdatedAt(String updatedAt)Set the updated timeMserviceBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static MserviceBuilder builder()
Magnum service builder- Returns:
- the Magnum Service builder
-
toBuilder
public MserviceBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<MserviceBuilder>
-
getId
public String getId()
Identifier of Magnum Service
-
setId
public void setId(String id)
Set the id
-
getBinary
public String getBinary()
Binary of the service
-
setBinary
public void setBinary(String binary)
Set the binary
-
getCreatedAt
public String getCreatedAt()
Creation date- Specified by:
getCreatedAtin interfaceMservice- Returns:
- the date of creation
-
setCreatedAt
public void setCreatedAt(String createdAt)
Set the creation date
-
getState
public String getState()
Current state if it is up or not
-
setState
public void setState(String state)
Set the state
-
getReportCount
public int getReportCount()
Report count- Specified by:
getReportCountin interfaceMservice- Returns:
- the report count of the service
-
setReportCount
public void setReportCount(int reportCount)
Set the report count
-
getUpdatedAt
public String getUpdatedAt()
The date of last updation- Specified by:
getUpdatedAtin interfaceMservice- Returns:
- the last updated time
-
setUpdatedAt
public void setUpdatedAt(String updatedAt)
Set the updated time
-
getHost
public String getHost()
The host name
-
setHost
public void setHost(String host)
Set the hostname
-
getDisabledReason
public String getDisabledReason()
The disabled reason- Specified by:
getDisabledReasonin interfaceMservice- Returns:
- the disabled reason
-
setDisabledReason
public void setDisabledReason(String disabledReason)
Set the disabled reason
-
-