public final class ClusterDefaults extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClusterDefaults.Builder
Builder for creating cluster defaults.
|
Modifier and Type | Field and Description |
---|---|
static ClusterDefaults |
EMPTY_CLUSTER_DEFAULTS |
Modifier and Type | Method and Description |
---|---|
static ClusterDefaults.Builder |
builder()
Get a builder for creating cluster defaults.
|
com.google.gson.JsonObject |
getConfig()
Get the admin defined config for the cluster.
|
String |
getDnsSuffix()
Get the dns suffix to use for hostnames of nodes in the cluster.
|
String |
getHardwaretype()
Get the name of the hardware type to use on all nodes in the cluster.
|
String |
getImagetype()
Get the name of the image type to use on all nodes in the cluster.
|
String |
getProvider()
Get the name of the provider to use to create the cluster.
|
Set<String> |
getServices()
Get the immutable set of services to place on a cluster by default.
|
String |
toString() |
public static final ClusterDefaults EMPTY_CLUSTER_DEFAULTS
public Set<String> getServices()
public String getProvider()
public String getHardwaretype()
public String getImagetype()
public String getDnsSuffix()
public com.google.gson.JsonObject getConfig()
public static ClusterDefaults.Builder builder()
Copyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.