Class FunctionEnvelopeProperties


  • public final class FunctionEnvelopeProperties
    extends Object
    FunctionEnvelope resource specific properties.
    • Constructor Detail

      • FunctionEnvelopeProperties

        public FunctionEnvelopeProperties()
    • Method Detail

      • functionAppId

        public String functionAppId()
        Get the functionAppId property: Function App ID.
        Returns:
        the functionAppId value.
      • withFunctionAppId

        public FunctionEnvelopeProperties withFunctionAppId​(String functionAppId)
        Set the functionAppId property: Function App ID.
        Parameters:
        functionAppId - the functionAppId value to set.
        Returns:
        the FunctionEnvelopeProperties object itself.
      • scriptRootPathHref

        public String scriptRootPathHref()
        Get the scriptRootPathHref property: Script root path URI.
        Returns:
        the scriptRootPathHref value.
      • withScriptRootPathHref

        public FunctionEnvelopeProperties withScriptRootPathHref​(String scriptRootPathHref)
        Set the scriptRootPathHref property: Script root path URI.
        Parameters:
        scriptRootPathHref - the scriptRootPathHref value to set.
        Returns:
        the FunctionEnvelopeProperties object itself.
      • scriptHref

        public String scriptHref()
        Get the scriptHref property: Script URI.
        Returns:
        the scriptHref value.
      • withScriptHref

        public FunctionEnvelopeProperties withScriptHref​(String scriptHref)
        Set the scriptHref property: Script URI.
        Parameters:
        scriptHref - the scriptHref value to set.
        Returns:
        the FunctionEnvelopeProperties object itself.
      • configHref

        public String configHref()
        Get the configHref property: Config URI.
        Returns:
        the configHref value.
      • withConfigHref

        public FunctionEnvelopeProperties withConfigHref​(String configHref)
        Set the configHref property: Config URI.
        Parameters:
        configHref - the configHref value to set.
        Returns:
        the FunctionEnvelopeProperties object itself.
      • testDataHref

        public String testDataHref()
        Get the testDataHref property: Test data URI.
        Returns:
        the testDataHref value.
      • withTestDataHref

        public FunctionEnvelopeProperties withTestDataHref​(String testDataHref)
        Set the testDataHref property: Test data URI.
        Parameters:
        testDataHref - the testDataHref value to set.
        Returns:
        the FunctionEnvelopeProperties object itself.
      • secretsFileHref

        public String secretsFileHref()
        Get the secretsFileHref property: Secrets file URI.
        Returns:
        the secretsFileHref value.
      • withSecretsFileHref

        public FunctionEnvelopeProperties withSecretsFileHref​(String secretsFileHref)
        Set the secretsFileHref property: Secrets file URI.
        Parameters:
        secretsFileHref - the secretsFileHref value to set.
        Returns:
        the FunctionEnvelopeProperties object itself.
      • href

        public String href()
        Get the href property: Function URI.
        Returns:
        the href value.
      • withHref

        public FunctionEnvelopeProperties withHref​(String href)
        Set the href property: Function URI.
        Parameters:
        href - the href value to set.
        Returns:
        the FunctionEnvelopeProperties object itself.
      • config

        public Object config()
        Get the config property: Config information.
        Returns:
        the config value.
      • withConfig

        public FunctionEnvelopeProperties withConfig​(Object config)
        Set the config property: Config information.
        Parameters:
        config - the config value to set.
        Returns:
        the FunctionEnvelopeProperties object itself.
      • files

        public Map<String,​String> files()
        Get the files property: File list.
        Returns:
        the files value.
      • withFiles

        public FunctionEnvelopeProperties withFiles​(Map<String,​String> files)
        Set the files property: File list.
        Parameters:
        files - the files value to set.
        Returns:
        the FunctionEnvelopeProperties object itself.
      • testData

        public String testData()
        Get the testData property: Test data used when testing via the Azure Portal.
        Returns:
        the testData value.
      • withTestData

        public FunctionEnvelopeProperties withTestData​(String testData)
        Set the testData property: Test data used when testing via the Azure Portal.
        Parameters:
        testData - the testData value to set.
        Returns:
        the FunctionEnvelopeProperties object itself.
      • invokeUrlTemplate

        public String invokeUrlTemplate()
        Get the invokeUrlTemplate property: The invocation URL.
        Returns:
        the invokeUrlTemplate value.
      • withInvokeUrlTemplate

        public FunctionEnvelopeProperties withInvokeUrlTemplate​(String invokeUrlTemplate)
        Set the invokeUrlTemplate property: The invocation URL.
        Parameters:
        invokeUrlTemplate - the invokeUrlTemplate value to set.
        Returns:
        the FunctionEnvelopeProperties object itself.
      • language

        public String language()
        Get the language property: The function language.
        Returns:
        the language value.
      • withLanguage

        public FunctionEnvelopeProperties withLanguage​(String language)
        Set the language property: The function language.
        Parameters:
        language - the language value to set.
        Returns:
        the FunctionEnvelopeProperties object itself.
      • isDisabled

        public Boolean isDisabled()
        Get the isDisabled property: Gets or sets a value indicating whether the function is disabled.
        Returns:
        the isDisabled value.
      • withIsDisabled

        public FunctionEnvelopeProperties withIsDisabled​(Boolean isDisabled)
        Set the isDisabled property: Gets or sets a value indicating whether the function is disabled.
        Parameters:
        isDisabled - the isDisabled value to set.
        Returns:
        the FunctionEnvelopeProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.