public class ServiceComponentHostRequest extends Object
Constructor and Description |
---|
ServiceComponentHostRequest(String clusterName,
String serviceName,
String componentName,
String hostname,
String desiredState) |
Modifier and Type | Method and Description |
---|---|
String |
getAdminState() |
String |
getClusterName() |
String |
getComponentName() |
String |
getDesiredStackId() |
String |
getDesiredState() |
String |
getHostname() |
String |
getMaintenanceState() |
String |
getServiceName() |
String |
getStaleConfig() |
void |
setAdminState(String adminState) |
void |
setClusterName(String clusterName) |
void |
setComponentName(String componentName) |
void |
setDesiredStackId(String desiredStackId) |
void |
setDesiredState(String desiredState) |
void |
setHostname(String hostname) |
void |
setMaintenanceState(String state) |
void |
setServiceName(String serviceName) |
void |
setStaleConfig(String staleConfig) |
String |
toString() |
public String getServiceName()
public void setServiceName(String serviceName)
serviceName
- the serviceName to setpublic String getComponentName()
public void setComponentName(String componentName)
componentName
- the componentName to setpublic String getHostname()
public void setHostname(String hostname)
hostname
- the hostname to setpublic String getDesiredState()
public void setDesiredState(String desiredState)
desiredState
- the desiredState to setpublic String getDesiredStackId()
public void setDesiredStackId(String desiredStackId)
desiredStackId
- the desiredStackId to setpublic String getClusterName()
public void setClusterName(String clusterName)
clusterName
- the clusterName to setpublic void setStaleConfig(String staleConfig)
staleConfig
- whether the config is stalepublic String getStaleConfig()
public void setAdminState(String adminState)
adminState
- the adminState to use as predicatepublic String getAdminState()
public void setMaintenanceState(String state)
state
- the maintenance statepublic String getMaintenanceState()
Copyright © 2014. All rights reserved.