Class SqlPoolConnectionPolicyInner


  • public final class SqlPoolConnectionPolicyInner
    extends com.azure.core.management.ProxyResource
    A Sql pool connection policy.
    • Constructor Detail

      • SqlPoolConnectionPolicyInner

        public SqlPoolConnectionPolicyInner()
    • Method Detail

      • kind

        public String kind()
        Get the kind property: Resource kind.
        Returns:
        the kind value.
      • location

        public String location()
        Get the location property: Resource location.
        Returns:
        the location value.
      • securityEnabledAccess

        public String securityEnabledAccess()
        Get the securityEnabledAccess property: The state of security access.
        Returns:
        the securityEnabledAccess value.
      • withSecurityEnabledAccess

        public SqlPoolConnectionPolicyInner withSecurityEnabledAccess​(String securityEnabledAccess)
        Set the securityEnabledAccess property: The state of security access.
        Parameters:
        securityEnabledAccess - the securityEnabledAccess value to set.
        Returns:
        the SqlPoolConnectionPolicyInner object itself.
      • proxyDnsName

        public String proxyDnsName()
        Get the proxyDnsName property: The fully qualified host name of the auditing proxy.
        Returns:
        the proxyDnsName value.
      • withProxyDnsName

        public SqlPoolConnectionPolicyInner withProxyDnsName​(String proxyDnsName)
        Set the proxyDnsName property: The fully qualified host name of the auditing proxy.
        Parameters:
        proxyDnsName - the proxyDnsName value to set.
        Returns:
        the SqlPoolConnectionPolicyInner object itself.
      • proxyPort

        public String proxyPort()
        Get the proxyPort property: The port number of the auditing proxy.
        Returns:
        the proxyPort value.
      • withProxyPort

        public SqlPoolConnectionPolicyInner withProxyPort​(String proxyPort)
        Set the proxyPort property: The port number of the auditing proxy.
        Parameters:
        proxyPort - the proxyPort value to set.
        Returns:
        the SqlPoolConnectionPolicyInner object itself.
      • visibility

        public String visibility()
        Get the visibility property: The visibility of the auditing proxy.
        Returns:
        the visibility value.
      • withVisibility

        public SqlPoolConnectionPolicyInner withVisibility​(String visibility)
        Set the visibility property: The visibility of the auditing proxy.
        Parameters:
        visibility - the visibility value to set.
        Returns:
        the SqlPoolConnectionPolicyInner object itself.
      • useServerDefault

        public String useServerDefault()
        Get the useServerDefault property: Whether server default is enabled or disabled.
        Returns:
        the useServerDefault value.
      • withUseServerDefault

        public SqlPoolConnectionPolicyInner withUseServerDefault​(String useServerDefault)
        Set the useServerDefault property: Whether server default is enabled or disabled.
        Parameters:
        useServerDefault - the useServerDefault value to set.
        Returns:
        the SqlPoolConnectionPolicyInner object itself.
      • redirectionState

        public String redirectionState()
        Get the redirectionState property: The state of proxy redirection.
        Returns:
        the redirectionState value.
      • withRedirectionState

        public SqlPoolConnectionPolicyInner withRedirectionState​(String redirectionState)
        Set the redirectionState property: The state of proxy redirection.
        Parameters:
        redirectionState - the redirectionState value to set.
        Returns:
        the SqlPoolConnectionPolicyInner object itself.
      • state

        public String state()
        Get the state property: The connection policy state.
        Returns:
        the state value.
      • withState

        public SqlPoolConnectionPolicyInner withState​(String state)
        Set the state property: The connection policy state.
        Parameters:
        state - the state value to set.
        Returns:
        the SqlPoolConnectionPolicyInner object itself.
      • validate

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