Class SqlPoolConnectionPolicyProperties
- java.lang.Object
-
- com.azure.resourcemanager.synapse.fluent.models.SqlPoolConnectionPolicyProperties
-
public final class SqlPoolConnectionPolicyProperties extends Object
Properties of a Sql pool connection policy.
-
-
Constructor Summary
Constructors Constructor Description SqlPoolConnectionPolicyProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
proxyDnsName()
Get the proxyDnsName property: The fully qualified host name of the auditing proxy.String
proxyPort()
Get the proxyPort property: The port number of the auditing proxy.String
redirectionState()
Get the redirectionState property: The state of proxy redirection.String
securityEnabledAccess()
Get the securityEnabledAccess property: The state of security access.String
state()
Get the state property: The connection policy state.String
useServerDefault()
Get the useServerDefault property: Whether server default is enabled or disabled.void
validate()
Validates the instance.String
visibility()
Get the visibility property: The visibility of the auditing proxy.SqlPoolConnectionPolicyProperties
withProxyDnsName(String proxyDnsName)
Set the proxyDnsName property: The fully qualified host name of the auditing proxy.SqlPoolConnectionPolicyProperties
withProxyPort(String proxyPort)
Set the proxyPort property: The port number of the auditing proxy.SqlPoolConnectionPolicyProperties
withRedirectionState(String redirectionState)
Set the redirectionState property: The state of proxy redirection.SqlPoolConnectionPolicyProperties
withSecurityEnabledAccess(String securityEnabledAccess)
Set the securityEnabledAccess property: The state of security access.SqlPoolConnectionPolicyProperties
withState(String state)
Set the state property: The connection policy state.SqlPoolConnectionPolicyProperties
withUseServerDefault(String useServerDefault)
Set the useServerDefault property: Whether server default is enabled or disabled.SqlPoolConnectionPolicyProperties
withVisibility(String visibility)
Set the visibility property: The visibility of the auditing proxy.
-
-
-
Method Detail
-
securityEnabledAccess
public String securityEnabledAccess()
Get the securityEnabledAccess property: The state of security access.- Returns:
- the securityEnabledAccess value.
-
withSecurityEnabledAccess
public SqlPoolConnectionPolicyProperties withSecurityEnabledAccess(String securityEnabledAccess)
Set the securityEnabledAccess property: The state of security access.- Parameters:
securityEnabledAccess
- the securityEnabledAccess value to set.- Returns:
- the SqlPoolConnectionPolicyProperties 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 SqlPoolConnectionPolicyProperties 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 SqlPoolConnectionPolicyProperties object itself.
-
proxyPort
public String proxyPort()
Get the proxyPort property: The port number of the auditing proxy.- Returns:
- the proxyPort value.
-
withProxyPort
public SqlPoolConnectionPolicyProperties withProxyPort(String proxyPort)
Set the proxyPort property: The port number of the auditing proxy.- Parameters:
proxyPort
- the proxyPort value to set.- Returns:
- the SqlPoolConnectionPolicyProperties object itself.
-
visibility
public String visibility()
Get the visibility property: The visibility of the auditing proxy.- Returns:
- the visibility value.
-
withVisibility
public SqlPoolConnectionPolicyProperties withVisibility(String visibility)
Set the visibility property: The visibility of the auditing proxy.- Parameters:
visibility
- the visibility value to set.- Returns:
- the SqlPoolConnectionPolicyProperties object itself.
-
useServerDefault
public String useServerDefault()
Get the useServerDefault property: Whether server default is enabled or disabled.- Returns:
- the useServerDefault value.
-
withUseServerDefault
public SqlPoolConnectionPolicyProperties withUseServerDefault(String useServerDefault)
Set the useServerDefault property: Whether server default is enabled or disabled.- Parameters:
useServerDefault
- the useServerDefault value to set.- Returns:
- the SqlPoolConnectionPolicyProperties object itself.
-
redirectionState
public String redirectionState()
Get the redirectionState property: The state of proxy redirection.- Returns:
- the redirectionState value.
-
withRedirectionState
public SqlPoolConnectionPolicyProperties withRedirectionState(String redirectionState)
Set the redirectionState property: The state of proxy redirection.- Parameters:
redirectionState
- the redirectionState value to set.- Returns:
- the SqlPoolConnectionPolicyProperties object itself.
-
state
public String state()
Get the state property: The connection policy state.- Returns:
- the state value.
-
withState
public SqlPoolConnectionPolicyProperties withState(String state)
Set the state property: The connection policy state.- Parameters:
state
- the state value to set.- Returns:
- the SqlPoolConnectionPolicyProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-