Class ServiceNowLinkedService
java.lang.Object
com.azure.resourcemanager.datafactory.models.LinkedService
com.azure.resourcemanager.datafactory.models.ServiceNowLinkedService
ServiceNow server linked service.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ServiceNowLinkedService class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authenticationType property: The authentication type to use.clientId()
Get the clientId property: The client id for OAuth2 authentication.Get the clientSecret property: The client secret for OAuth2 authentication.Get the encryptedCredential property: The encrypted credential used for authentication.endpoint()
Get the endpoint property: The endpoint of the ServiceNow server.password()
Get the password property: The password corresponding to the user name for Basic and OAuth2 authentication.Get the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.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.Get the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL.username()
Get the username property: The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication.void
validate()
Validates the instance.withAnnotations
(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the linked service.withAuthenticationType
(ServiceNowAuthenticationType authenticationType) Set the authenticationType property: The authentication type to use.withClientId
(Object clientId) Set the clientId property: The client id for OAuth2 authentication.withClientSecret
(SecretBase clientSecret) Set the clientSecret property: The client secret for OAuth2 authentication.withConnectVia
(IntegrationRuntimeReference connectVia) Set the connectVia property: The integration runtime reference.withDescription
(String description) Set the description property: Linked service description.withEncryptedCredential
(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.withEndpoint
(Object endpoint) Set the endpoint property: The endpoint of the ServiceNow server.withParameters
(Map<String, ParameterSpecification> parameters) Set the parameters property: Parameters for linked service.withPassword
(SecretBase password) Set the password property: The password corresponding to the user name for Basic and OAuth2 authentication.withUseEncryptedEndpoints
(Object useEncryptedEndpoints) Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.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.withUsePeerVerification
(Object usePeerVerification) Set the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL.withUsername
(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
-
Constructor Details
-
ServiceNowLinkedService
public ServiceNowLinkedService()Creates an instance of ServiceNowLinkedService class.
-
-
Method Details
-
withConnectVia
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectVia
in classLinkedService
- Parameters:
connectVia
- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
Set the description property: Linked service description.- Overrides:
withDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
Set the parameters property: Parameters for linked service.- Overrides:
withParameters
in classLinkedService
- Parameters:
parameters
- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotations
in classLinkedService
- Parameters:
annotations
- the annotations value to set.- Returns:
- the LinkedService object itself.
-
endpoint
Get the endpoint property: The endpoint of the ServiceNow server. (i.e. <instance>.service-now.com).- Returns:
- the endpoint value.
-
withEndpoint
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
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
Get the username property: The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication.- Returns:
- the username value.
-
withUsername
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
Get the password property: The password corresponding to the user name for Basic and OAuth2 authentication.- Returns:
- the password value.
-
withPassword
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
Get the clientId property: The client id for OAuth2 authentication.- Returns:
- the clientId value.
-
withClientId
Set the clientId property: The client id for OAuth2 authentication.- Parameters:
clientId
- the clientId value to set.- Returns:
- the ServiceNowLinkedService object itself.
-
clientSecret
Get the clientSecret property: The client secret for OAuth2 authentication.- Returns:
- the clientSecret value.
-
withClientSecret
Set the clientSecret property: The client secret for OAuth2 authentication.- Parameters:
clientSecret
- the clientSecret value to set.- Returns:
- the ServiceNowLinkedService object itself.
-
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
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
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
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
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
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
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
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:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-