public class RestartServicesRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
RestartServicesRequest.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
RestartServicesRequest() |
RestartServicesRequest(java.lang.Boolean force,
Optional<java.lang.String> service,
Optional<java.lang.String> action) |
Modifier and Type | Method and Description |
---|---|
RestartServicesRequest.Builder |
asBuilder() |
static RestartServicesRequest.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.String> |
getAction()
Action to perform on the service (start, stop, restart).
|
java.lang.Boolean |
getForce()
Required parameter to successfully restart services on a node.
|
Optional<java.lang.String> |
getService()
Service name to be restarted.
|
int |
hashCode() |
void |
setAction(Optional<java.lang.String> action) |
void |
setForce(java.lang.Boolean force) |
void |
setService(Optional<java.lang.String> service) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.Boolean getForce()
public void setForce(java.lang.Boolean force)
public Optional<java.lang.String> getService()
public void setService(Optional<java.lang.String> service)
public Optional<java.lang.String> getAction()
public void setAction(Optional<java.lang.String> action)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static RestartServicesRequest.Builder builder()
public final RestartServicesRequest.Builder asBuilder()