Class ComponentSetup
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.CustomSetupBase
-
- com.azure.resourcemanager.datafactory.models.ComponentSetup
-
public final class ComponentSetup extends CustomSetupBase
The custom setup of installing 3rd party components.
-
-
Constructor Summary
Constructors Constructor Description ComponentSetup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
componentName()
Get the componentName property: The name of the 3rd party component.SecretBase
licenseKey()
Get the licenseKey property: The license key to activate the component.void
validate()
Validates the instance.ComponentSetup
withComponentName(String componentName)
Set the componentName property: The name of the 3rd party component.ComponentSetup
withLicenseKey(SecretBase licenseKey)
Set the licenseKey property: The license key to activate the component.
-
-
-
Method Detail
-
componentName
public String componentName()
Get the componentName property: The name of the 3rd party component.- Returns:
- the componentName value.
-
withComponentName
public ComponentSetup withComponentName(String componentName)
Set the componentName property: The name of the 3rd party component.- Parameters:
componentName
- the componentName value to set.- Returns:
- the ComponentSetup object itself.
-
licenseKey
public SecretBase licenseKey()
Get the licenseKey property: The license key to activate the component.- Returns:
- the licenseKey value.
-
withLicenseKey
public ComponentSetup withLicenseKey(SecretBase licenseKey)
Set the licenseKey property: The license key to activate the component.- Parameters:
licenseKey
- the licenseKey value to set.- Returns:
- the ComponentSetup object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classCustomSetupBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-