Class VpnOnDemandRule

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class VpnOnDemandRule
    extends Object
    implements com.github.davidmoten.odata.client.ODataType
    “VPN On-Demand Rule definition.”
    • Field Detail

      • contextPath

        protected com.github.davidmoten.odata.client.ContextPath contextPath
      • unmappedFields

        protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
      • odataType

        protected String odataType
      • dnsSearchDomains

        protected List<String> dnsSearchDomains
      • dnsSearchDomainsNextLink

        protected String dnsSearchDomainsNextLink
      • domainsNextLink

        protected String domainsNextLink
      • probeRequiredUrl

        protected String probeRequiredUrl
      • probeUrl

        protected String probeUrl
      • ssidsNextLink

        protected String ssidsNextLink
    • Constructor Detail

      • VpnOnDemandRule

        protected VpnOnDemandRule()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
      • withAction

        public VpnOnDemandRule withAction​(VpnOnDemandRuleConnectionAction action)
        Returns an immutable copy of this with just the action field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Action.”

        Parameters:
        action - new value of action field (as defined in service metadata)
        Returns:
        immutable copy of this with just the action field changed
      • getDnsSearchDomains

        public com.github.davidmoten.odata.client.CollectionPage<String> getDnsSearchDomains()
        “DNS Search Domains.”
        Returns:
        property dnsSearchDomains
      • getDnsSearchDomains

        public com.github.davidmoten.odata.client.CollectionPage<String> getDnsSearchDomains​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “DNS Search Domains.”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property dnsSearchDomains
      • withDomainAction

        public VpnOnDemandRule withDomainAction​(VpnOnDemandRuleConnectionDomainAction domainAction)
        Returns an immutable copy of this with just the domainAction field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Domain Action (Only applicable when Action is evaluate connection).”

        Parameters:
        domainAction - new value of domainAction field (as defined in service metadata)
        Returns:
        immutable copy of this with just the domainAction field changed
      • getDomains

        public com.github.davidmoten.odata.client.CollectionPage<String> getDomains()
        “Domains (Only applicable when Action is evaluate connection).”
        Returns:
        property domains
      • getDomains

        public com.github.davidmoten.odata.client.CollectionPage<String> getDomains​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Domains (Only applicable when Action is evaluate connection).”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property domains
      • getProbeRequiredUrl

        public Optional<String> getProbeRequiredUrl()
        “Probe Required Url (Only applicable when Action is evaluate connection and DomainAction is connect if needed).”
        Returns:
        property probeRequiredUrl
      • withProbeRequiredUrl

        public VpnOnDemandRule withProbeRequiredUrl​(String probeRequiredUrl)
        Returns an immutable copy of this with just the probeRequiredUrl field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “Probe Required Url (Only applicable when Action is evaluate connection and DomainAction is connect if needed).”

        Parameters:
        probeRequiredUrl - new value of probeRequiredUrl field (as defined in service metadata)
        Returns:
        immutable copy of this with just the probeRequiredUrl field changed
      • getProbeUrl

        public Optional<String> getProbeUrl()
        “A URL to probe. If this URL is successfully fetched (returning a 200 HTTP status code) without redirection, this rule matches.”
        Returns:
        property probeUrl
      • withProbeUrl

        public VpnOnDemandRule withProbeUrl​(String probeUrl)
        Returns an immutable copy of this with just the probeUrl field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “A URL to probe. If this URL is successfully fetched (returning a 200 HTTP status code) without redirection, this rule matches.”

        Parameters:
        probeUrl - new value of probeUrl field (as defined in service metadata)
        Returns:
        immutable copy of this with just the probeUrl field changed
      • getSsids

        public com.github.davidmoten.odata.client.CollectionPage<String> getSsids()
        “Network Service Set Identifiers (SSIDs).”
        Returns:
        property ssids
      • getSsids

        public com.github.davidmoten.odata.client.CollectionPage<String> getSsids​(com.github.davidmoten.odata.client.HttpRequestOptions options)
        “Network Service Set Identifiers (SSIDs).”
        Parameters:
        options - specify connect and read timeouts
        Returns:
        property ssids
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
      • builder

        public static VpnOnDemandRule.Builder builder()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class