public class ApiConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ApiConfig.ValidationState |
Constructor and Description |
---|
ApiConfig() |
ApiConfig(String name,
String value) |
ApiConfig(String name,
String value,
Boolean required,
String defaultValue,
String displayName,
String description,
String relatedName,
ApiConfig.ValidationState validationState,
String validationMessage) |
public ApiConfig(String name, String value, Boolean required, String defaultValue, String displayName, String description, String relatedName, ApiConfig.ValidationState validationState, String validationMessage)
name
- The name of the parametervalue
- The value of the attributerequired
- Whether the configuration value is required.defaultValue
- The default value, if any.displayName
- Name of the attribute as displayed in the UI.description
- Description of the configuration.relatedName
- Related config Alternative information about the parameter.validationState
- State of the parameter's validation.validationMessage
- Message describing any validation issues.public ApiConfig()
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public String getDescription()
public void setDescription(String description)
public String getDisplayName()
public void setDisplayName(String displayName)
public String getRelatedName()
public void setRelatedName(String relatedName)
public String getName()
public void setName(String name)
public String getValue()
public void setValue(String value)
public Boolean getRequired()
public void setRequired(Boolean required)
public ApiConfig.ValidationState getValidationState()
public void setValidationState(ApiConfig.ValidationState validationState)
public String getValidationMessage()
public void setValidationMessage(String validationMessage)
public Boolean getValidationWarningsSuppressed()
public void setValidationWarningsSuppressed(Boolean validationWarningsSuppressed)
public Boolean getSensitive()
public void setSensitive(Boolean sensitive)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.