Class SqlPoolConnectionPolicyInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.synapse.fluent.models.SqlPoolConnectionPolicyInner
public final class SqlPoolConnectionPolicyInner
extends com.azure.core.management.ProxyResource
A Sql pool connection policy.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SqlPoolConnectionPolicyInner class. -
Method Summary
Modifier and TypeMethodDescriptionkind()
Get the kind property: Resource kind.location()
Get the location property: Resource location.Get the proxyDnsName property: The fully qualified host name of the auditing proxy.Get the proxyPort property: The port number of the auditing proxy.Get the redirectionState property: The state of proxy redirection.Get the securityEnabledAccess property: The state of security access.state()
Get the state property: The connection policy state.Get the useServerDefault property: Whether server default is enabled or disabled.void
validate()
Validates the instance.Get the visibility property: The visibility of the auditing proxy.withProxyDnsName
(String proxyDnsName) Set the proxyDnsName property: The fully qualified host name of the auditing proxy.withProxyPort
(String proxyPort) Set the proxyPort property: The port number of the auditing proxy.withRedirectionState
(String redirectionState) Set the redirectionState property: The state of proxy redirection.withSecurityEnabledAccess
(String securityEnabledAccess) Set the securityEnabledAccess property: The state of security access.Set the state property: The connection policy state.withUseServerDefault
(String useServerDefault) Set the useServerDefault property: Whether server default is enabled or disabled.withVisibility
(String visibility) Set the visibility property: The visibility of the auditing proxy.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SqlPoolConnectionPolicyInner
public SqlPoolConnectionPolicyInner()Creates an instance of SqlPoolConnectionPolicyInner class.
-
-
Method Details
-
kind
Get the kind property: Resource kind.- Returns:
- the kind value.
-
location
Get the location property: Resource location.- Returns:
- the location value.
-
securityEnabledAccess
Get the securityEnabledAccess property: The state of security access.- Returns:
- the securityEnabledAccess value.
-
withSecurityEnabledAccess
Set the securityEnabledAccess property: The state of security access.- Parameters:
securityEnabledAccess
- the securityEnabledAccess value to set.- Returns:
- the SqlPoolConnectionPolicyInner object itself.
-
proxyDnsName
Get the proxyDnsName property: The fully qualified host name of the auditing proxy.- Returns:
- the proxyDnsName value.
-
withProxyDnsName
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
Get the proxyPort property: The port number of the auditing proxy.- Returns:
- the proxyPort value.
-
withProxyPort
Set the proxyPort property: The port number of the auditing proxy.- Parameters:
proxyPort
- the proxyPort value to set.- Returns:
- the SqlPoolConnectionPolicyInner object itself.
-
visibility
Get the visibility property: The visibility of the auditing proxy.- Returns:
- the visibility value.
-
withVisibility
Set the visibility property: The visibility of the auditing proxy.- Parameters:
visibility
- the visibility value to set.- Returns:
- the SqlPoolConnectionPolicyInner object itself.
-
useServerDefault
Get the useServerDefault property: Whether server default is enabled or disabled.- Returns:
- the useServerDefault value.
-
withUseServerDefault
Set the useServerDefault property: Whether server default is enabled or disabled.- Parameters:
useServerDefault
- the useServerDefault value to set.- Returns:
- the SqlPoolConnectionPolicyInner object itself.
-
redirectionState
Get the redirectionState property: The state of proxy redirection.- Returns:
- the redirectionState value.
-
withRedirectionState
Set the redirectionState property: The state of proxy redirection.- Parameters:
redirectionState
- the redirectionState value to set.- Returns:
- the SqlPoolConnectionPolicyInner object itself.
-
state
Get the state property: The connection policy state.- Returns:
- the state value.
-
withState
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.
-