Class ServiceNowLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.ServiceNowLinkedService
-
public final class ServiceNowLinkedService extends LinkedService
ServiceNow server linked service.
-
-
Constructor Summary
Constructors Constructor Description ServiceNowLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceNowAuthenticationTypeauthenticationType()Get the authenticationType property: The authentication type to use.ObjectclientId()Get the clientId property: The client id for OAuth2 authentication.SecretBaseclientSecret()Get the clientSecret property: The client secret for OAuth2 authentication.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.Objectendpoint()Get the endpoint property: The endpoint of the ServiceNow server.SecretBasepassword()Get the password property: The password corresponding to the user name for Basic and OAuth2 authentication.ObjectuseEncryptedEndpoints()Get the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.ObjectuseHostVerification()Get the useHostVerification property: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL.ObjectusePeerVerification()Get the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL.Objectusername()Get the username property: The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication.voidvalidate()Validates the instance.ServiceNowLinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.ServiceNowLinkedServicewithAuthenticationType(ServiceNowAuthenticationType authenticationType)Set the authenticationType property: The authentication type to use.ServiceNowLinkedServicewithClientId(Object clientId)Set the clientId property: The client id for OAuth2 authentication.ServiceNowLinkedServicewithClientSecret(SecretBase clientSecret)Set the clientSecret property: The client secret for OAuth2 authentication.ServiceNowLinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.ServiceNowLinkedServicewithDescription(String description)Set the description property: Linked service description.ServiceNowLinkedServicewithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.ServiceNowLinkedServicewithEndpoint(Object endpoint)Set the endpoint property: The endpoint of the ServiceNow server.ServiceNowLinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.ServiceNowLinkedServicewithPassword(SecretBase password)Set the password property: The password corresponding to the user name for Basic and OAuth2 authentication.ServiceNowLinkedServicewithUseEncryptedEndpoints(Object useEncryptedEndpoints)Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.ServiceNowLinkedServicewithUseHostVerification(Object useHostVerification)Set the useHostVerification property: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL.ServiceNowLinkedServicewithUsePeerVerification(Object usePeerVerification)Set the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL.ServiceNowLinkedServicewithUsername(Object username)Set the username property: The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public ServiceNowLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectViain classLinkedService- Parameters:
connectVia- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
public ServiceNowLinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescriptionin classLinkedService- Parameters:
description- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
public ServiceNowLinkedService withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.- Overrides:
withParametersin classLinkedService- Parameters:
parameters- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
public ServiceNowLinkedService withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotationsin classLinkedService- Parameters:
annotations- the annotations value to set.- Returns:
- the LinkedService object itself.
-
endpoint
public Object endpoint()
Get the endpoint property: The endpoint of the ServiceNow server. (i.e. <instance>.service-now.com).- Returns:
- the endpoint value.
-
withEndpoint
public ServiceNowLinkedService withEndpoint(Object endpoint)
Set the endpoint property: The endpoint of the ServiceNow server. (i.e. <instance>.service-now.com).- Parameters:
endpoint- the endpoint value to set.- Returns:
- the ServiceNowLinkedService object itself.
-
authenticationType
public ServiceNowAuthenticationType authenticationType()
Get the authenticationType property: The authentication type to use.- Returns:
- the authenticationType value.
-
withAuthenticationType
public ServiceNowLinkedService withAuthenticationType(ServiceNowAuthenticationType authenticationType)
Set the authenticationType property: The authentication type to use.- Parameters:
authenticationType- the authenticationType value to set.- Returns:
- the ServiceNowLinkedService object itself.
-
username
public Object username()
Get the username property: The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication.- Returns:
- the username value.
-
withUsername
public ServiceNowLinkedService withUsername(Object username)
Set the username property: The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication.- Parameters:
username- the username value to set.- Returns:
- the ServiceNowLinkedService object itself.
-
password
public SecretBase password()
Get the password property: The password corresponding to the user name for Basic and OAuth2 authentication.- Returns:
- the password value.
-
withPassword
public ServiceNowLinkedService withPassword(SecretBase password)
Set the password property: The password corresponding to the user name for Basic and OAuth2 authentication.- Parameters:
password- the password value to set.- Returns:
- the ServiceNowLinkedService object itself.
-
clientId
public Object clientId()
Get the clientId property: The client id for OAuth2 authentication.- Returns:
- the clientId value.
-
withClientId
public ServiceNowLinkedService withClientId(Object clientId)
Set the clientId property: The client id for OAuth2 authentication.- Parameters:
clientId- the clientId value to set.- Returns:
- the ServiceNowLinkedService object itself.
-
clientSecret
public SecretBase clientSecret()
Get the clientSecret property: The client secret for OAuth2 authentication.- Returns:
- the clientSecret value.
-
withClientSecret
public ServiceNowLinkedService withClientSecret(SecretBase clientSecret)
Set the clientSecret property: The client secret for OAuth2 authentication.- Parameters:
clientSecret- the clientSecret value to set.- Returns:
- the ServiceNowLinkedService object itself.
-
useEncryptedEndpoints
public Object useEncryptedEndpoints()
Get the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.- Returns:
- the useEncryptedEndpoints value.
-
withUseEncryptedEndpoints
public ServiceNowLinkedService withUseEncryptedEndpoints(Object useEncryptedEndpoints)
Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.- Parameters:
useEncryptedEndpoints- the useEncryptedEndpoints value to set.- Returns:
- the ServiceNowLinkedService object itself.
-
useHostVerification
public Object useHostVerification()
Get the useHostVerification property: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.- Returns:
- the useHostVerification value.
-
withUseHostVerification
public ServiceNowLinkedService withUseHostVerification(Object useHostVerification)
Set the useHostVerification property: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true.- Parameters:
useHostVerification- the useHostVerification value to set.- Returns:
- the ServiceNowLinkedService object itself.
-
usePeerVerification
public Object usePeerVerification()
Get the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.- Returns:
- the usePeerVerification value.
-
withUsePeerVerification
public ServiceNowLinkedService withUsePeerVerification(Object usePeerVerification)
Set the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.- Parameters:
usePeerVerification- the usePeerVerification value to set.- Returns:
- the ServiceNowLinkedService object itself.
-
encryptedCredential
public Object encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Returns:
- the encryptedCredential value.
-
withEncryptedCredential
public ServiceNowLinkedService withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Parameters:
encryptedCredential- the encryptedCredential value to set.- Returns:
- the ServiceNowLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-