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 ServiceNowAuthenticationType
authenticationType()
Get the authenticationType property: The authentication type to use.Object
clientId()
Get the clientId property: The client id for OAuth2 authentication.SecretBase
clientSecret()
Get the clientSecret property: The client secret for OAuth2 authentication.Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.Object
endpoint()
Get the endpoint property: The endpoint of the ServiceNow server.SecretBase
password()
Get the password property: The password corresponding to the user name for Basic and OAuth2 authentication.Object
useEncryptedEndpoints()
Get the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.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.Object
usePeerVerification()
Get the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL.Object
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.ServiceNowLinkedService
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.ServiceNowLinkedService
withAuthenticationType(ServiceNowAuthenticationType authenticationType)
Set the authenticationType property: The authentication type to use.ServiceNowLinkedService
withClientId(Object clientId)
Set the clientId property: The client id for OAuth2 authentication.ServiceNowLinkedService
withClientSecret(SecretBase clientSecret)
Set the clientSecret property: The client secret for OAuth2 authentication.ServiceNowLinkedService
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.ServiceNowLinkedService
withDescription(String description)
Set the description property: Linked service description.ServiceNowLinkedService
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.ServiceNowLinkedService
withEndpoint(Object endpoint)
Set the endpoint property: The endpoint of the ServiceNow server.ServiceNowLinkedService
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.ServiceNowLinkedService
withPassword(SecretBase password)
Set the password property: The password corresponding to the user name for Basic and OAuth2 authentication.ServiceNowLinkedService
withUseEncryptedEndpoints(Object useEncryptedEndpoints)
Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.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.ServiceNowLinkedService
withUsePeerVerification(Object usePeerVerification)
Set the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL.ServiceNowLinkedService
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
-
-
-
-
Method Detail
-
withConnectVia
public ServiceNowLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
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
public ServiceNowLinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescription
in 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:
withParameters
in 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:
withAnnotations
in 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:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-