public static class EphemeralDeviceMappings.EphemeralDeviceMappingsConfigProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EphemeralDeviceMappings.EphemeralDeviceMappingsConfigProperties.EphemeralDeviceMappingsConfigurationPropertyToken
Ephemeral device mappings configuration properties.
|
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CUSTOM_MAPPINGS_PATH |
static String |
DEFAULT_DEVICE_NAME_PREFIX |
static char |
DEFAULT_RANGE_START_FOR_EPHEMERAL_DRIVES
Ephemeral drives should be attached in the following range:
/dev/(sd|xvd)[b-y].
|
Constructor and Description |
---|
EphemeralDeviceMappingsConfigProperties(com.cloudera.director.spi.v1.model.Configured configuration,
File configurationDirectory,
com.cloudera.director.spi.v1.model.LocalizationContext cloudLocalizationContext)
Creates ephemeral device mappings config properties with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getCustomMappingsPath() |
String |
getDeviceNamePrefix() |
char |
getRangeStart() |
void |
setCustomMappingsPath(String customMappingsPath) |
void |
setDeviceNamePrefix(String deviceNamePrefix) |
void |
setRangeStart(String rangeStart) |
public static final String DEFAULT_DEVICE_NAME_PREFIX
public static final char DEFAULT_RANGE_START_FOR_EPHEMERAL_DRIVES
public static final String DEFAULT_CUSTOM_MAPPINGS_PATH
public EphemeralDeviceMappingsConfigProperties(com.cloudera.director.spi.v1.model.Configured configuration, File configurationDirectory, com.cloudera.director.spi.v1.model.LocalizationContext cloudLocalizationContext)
configuration
- the configurationconfigurationDirectory
- the plugin configuration directorycloudLocalizationContext
- the parent cloud localization contextpublic String getDeviceNamePrefix()
public void setDeviceNamePrefix(String deviceNamePrefix)
public char getRangeStart()
public void setRangeStart(String rangeStart)
public String getCustomMappingsPath()
public void setCustomMappingsPath(String customMappingsPath)
Copyright © 2016. All rights reserved.