ComponentSetup Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. models. CustomSetupBase - com.
azure. resourcemanager. synapse. models. ComponentSetup
- com.
- com.
public final class ComponentSetup
extends CustomSetupBase
The custom setup of installing 3rd party components.
Constructor Summary
| Constructor | Description |
|---|---|
| ComponentSetup() |
Creates an instance of Component |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
componentName()
Get the component |
|
static
Component |
fromJson(JsonReader jsonReader)
Reads an instance of Component |
|
Secret |
licenseKey()
Get the license |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of custom setup. |
| void |
validate()
Validates the instance. |
|
Component |
withComponentName(String componentName)
Set the component |
|
Component |
withLicenseKey(SecretBase licenseKey)
Set the license |
Methods inherited from CustomSetupBase
Methods inherited from java.lang.Object
Constructor Details
ComponentSetup
public ComponentSetup()
Creates an instance of ComponentSetup class.
Method Details
componentName
public String componentName()
Get the componentName property: The name of the 3rd party component.
Returns:
fromJson
public static ComponentSetup fromJson(JsonReader jsonReader)
Reads an instance of ComponentSetup from the JsonReader.
Parameters:
Returns:
Throws:
licenseKey
public SecretBase licenseKey()
Get the licenseKey property: The license key to activate the component.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ComponentSetup.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of custom setup.
Overrides:
ComponentSetup.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ComponentSetup.validate()withComponentName
public ComponentSetup withComponentName(String componentName)
Set the componentName property: The name of the 3rd party component.
Parameters:
Returns:
withLicenseKey
public ComponentSetup withLicenseKey(SecretBase licenseKey)
Set the licenseKey property: The license key to activate the component.
Parameters:
Returns: