public class ComponentSetup extends CustomSetupBase
| Constructor and Description |
|---|
ComponentSetup() |
| Modifier and Type | Method and 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.
|
public String componentName()
public ComponentSetup withComponentName(String componentName)
componentName - the componentName value to set.public SecretBase licenseKey()
public ComponentSetup withLicenseKey(SecretBase licenseKey)
licenseKey - the licenseKey value to set.public void validate()
validate in class CustomSetupBaseIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.