public final class AddServiceInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AddServiceInfo.Builder |
Modifier and Type | Method and Description |
---|---|
String |
clusterName() |
String |
describe()
Creates a descriptive label to be displayed in the UI.
|
Configuration |
getConfig() |
Optional<KerberosDescriptor> |
getKerberosDescriptor() |
Optional<LayoutRecommendationInfo> |
getRecommendationInfo() |
AddServiceRequest |
getRequest() |
Stack |
getStack() |
RequestStageContainer |
getStages() |
Map<String,Map<String,Set<String>>> |
newServices()
New services to be added to the cluster: service -> component -> host
This should include both explicitly requested services, and services of the requested components.
|
boolean |
requiresLayoutRecommendation() |
AddServiceInfo.Builder |
toBuilder() |
String |
toString() |
AddServiceInfo |
withConfig(Configuration newConfig) |
AddServiceInfo |
withLayoutRecommendation(Map<String,Map<String,Set<String>>> services,
LayoutRecommendationInfo recommendation) |
public AddServiceInfo.Builder toBuilder()
public AddServiceInfo withLayoutRecommendation(Map<String,Map<String,Set<String>>> services, LayoutRecommendationInfo recommendation)
public AddServiceInfo withConfig(Configuration newConfig)
public AddServiceRequest getRequest()
public String clusterName()
public RequestStageContainer getStages()
public Map<String,Map<String,Set<String>>> newServices()
public Stack getStack()
public Configuration getConfig()
public Optional<LayoutRecommendationInfo> getRecommendationInfo()
public Optional<KerberosDescriptor> getKerberosDescriptor()
public String describe()
public boolean requiresLayoutRecommendation()
Copyright © 2022 Apache Software Foundation. All rights reserved.