Class WebActivityTypeProperties


  • public final class WebActivityTypeProperties
    extends Object
    Web activity type properties.
    • Constructor Detail

      • WebActivityTypeProperties

        public WebActivityTypeProperties()
    • Method Detail

      • method

        public WebActivityMethod method()
        Get the method property: Rest API method for target endpoint.
        Returns:
        the method value.
      • withMethod

        public WebActivityTypeProperties withMethod​(WebActivityMethod method)
        Set the method property: Rest API method for target endpoint.
        Parameters:
        method - the method value to set.
        Returns:
        the WebActivityTypeProperties object itself.
      • url

        public Object url()
        Get the url property: Web activity target endpoint and path. Type: string (or Expression with resultType string).
        Returns:
        the url value.
      • withUrl

        public WebActivityTypeProperties withUrl​(Object url)
        Set the url property: Web activity target endpoint and path. Type: string (or Expression with resultType string).
        Parameters:
        url - the url value to set.
        Returns:
        the WebActivityTypeProperties object itself.
      • headers

        public Object headers()
        Get the headers property: Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string).
        Returns:
        the headers value.
      • withHeaders

        public WebActivityTypeProperties withHeaders​(Object headers)
        Set the headers property: Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string).
        Parameters:
        headers - the headers value to set.
        Returns:
        the WebActivityTypeProperties object itself.
      • body

        public Object body()
        Get the body property: Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string).
        Returns:
        the body value.
      • withBody

        public WebActivityTypeProperties withBody​(Object body)
        Set the body property: Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string).
        Parameters:
        body - the body value to set.
        Returns:
        the WebActivityTypeProperties object itself.
      • authentication

        public WebActivityAuthentication authentication()
        Get the authentication property: Authentication method used for calling the endpoint.
        Returns:
        the authentication value.
      • withAuthentication

        public WebActivityTypeProperties withAuthentication​(WebActivityAuthentication authentication)
        Set the authentication property: Authentication method used for calling the endpoint.
        Parameters:
        authentication - the authentication value to set.
        Returns:
        the WebActivityTypeProperties object itself.
      • disableCertValidation

        public Boolean disableCertValidation()
        Get the disableCertValidation property: When set to true, Certificate validation will be disabled.
        Returns:
        the disableCertValidation value.
      • withDisableCertValidation

        public WebActivityTypeProperties withDisableCertValidation​(Boolean disableCertValidation)
        Set the disableCertValidation property: When set to true, Certificate validation will be disabled.
        Parameters:
        disableCertValidation - the disableCertValidation value to set.
        Returns:
        the WebActivityTypeProperties object itself.
      • datasets

        public List<DatasetReference> datasets()
        Get the datasets property: List of datasets passed to web endpoint.
        Returns:
        the datasets value.
      • withDatasets

        public WebActivityTypeProperties withDatasets​(List<DatasetReference> datasets)
        Set the datasets property: List of datasets passed to web endpoint.
        Parameters:
        datasets - the datasets value to set.
        Returns:
        the WebActivityTypeProperties object itself.
      • linkedServices

        public List<LinkedServiceReference> linkedServices()
        Get the linkedServices property: List of linked services passed to web endpoint.
        Returns:
        the linkedServices value.
      • withLinkedServices

        public WebActivityTypeProperties withLinkedServices​(List<LinkedServiceReference> linkedServices)
        Set the linkedServices property: List of linked services passed to web endpoint.
        Parameters:
        linkedServices - the linkedServices value to set.
        Returns:
        the WebActivityTypeProperties object itself.
      • connectVia

        public IntegrationRuntimeReference connectVia()
        Get the connectVia property: The integration runtime reference.
        Returns:
        the connectVia value.
      • withConnectVia

        public WebActivityTypeProperties withConnectVia​(IntegrationRuntimeReference connectVia)
        Set the connectVia property: The integration runtime reference.
        Parameters:
        connectVia - the connectVia value to set.
        Returns:
        the WebActivityTypeProperties object itself.
      • validate

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