public class MagnumMservice extends Object implements Mservice
| Modifier and Type | Class and Description |
|---|---|
static class |
MagnumMservice.MserviceConcreteBuilder
Concrete builder containing MagnumMservice as model
|
static class |
MagnumMservice.Mservices
List of Magnum Services
|
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>| Constructor and Description |
|---|
MagnumMservice() |
| Modifier and Type | Method and Description |
|---|---|
static MserviceBuilder |
builder()
Magnum service builder
|
String |
getBinary()
Binary of the service
|
String |
getCreatedAt()
Creation date
|
String |
getDisabledReason()
The disabled reason
|
String |
getHost()
The host name
|
String |
getId()
Identifier of Magnum Service
|
int |
getReportCount()
Report count
|
String |
getState()
Current state if it is up or not
|
String |
getUpdatedAt()
The date of last updation
|
void |
setBinary(String binary)
Set the binary
|
void |
setCreatedAt(String createdAt)
Set the creation date
|
void |
setDisabledReason(String disabledReason)
Set the disabled reason
|
void |
setHost(String host)
Set the hostname
|
void |
setId(String id)
Set the id
|
void |
setReportCount(int reportCount)
Set the report count
|
void |
setState(String state)
Set the state
|
void |
setUpdatedAt(String updatedAt)
Set the updated time
|
MserviceBuilder |
toBuilder() |
String |
toString() |
public static MserviceBuilder builder()
public MserviceBuilder toBuilder()
toBuilder in interface Buildable<MserviceBuilder>public String getId()
public void setId(String id)
public String getBinary()
public void setBinary(String binary)
public String getCreatedAt()
getCreatedAt in interface Mservicepublic void setCreatedAt(String createdAt)
public String getState()
public void setState(String state)
public int getReportCount()
getReportCount in interface Mservicepublic void setReportCount(int reportCount)
public String getUpdatedAt()
getUpdatedAt in interface Mservicepublic void setUpdatedAt(String updatedAt)
public String getHost()
public void setHost(String host)
public String getDisabledReason()
getDisabledReason in interface Mservicepublic void setDisabledReason(String disabledReason)
Copyright © 2021. All rights reserved.