public class ServiceNowLinkedService extends LinkedService
| Constructor and Description |
|---|
ServiceNowLinkedService() |
| Modifier and Type | Method and 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.
|
additionalProperties, annotations, connectVia, description, parameters, withAdditionalPropertiespublic Object endpoint()
public ServiceNowLinkedService withEndpoint(Object endpoint)
endpoint - the endpoint value to set.public ServiceNowAuthenticationType authenticationType()
public ServiceNowLinkedService withAuthenticationType(ServiceNowAuthenticationType authenticationType)
authenticationType - the authenticationType value to set.public Object username()
public ServiceNowLinkedService withUsername(Object username)
username - the username value to set.public SecretBase password()
public ServiceNowLinkedService withPassword(SecretBase password)
password - the password value to set.public Object clientId()
public ServiceNowLinkedService withClientId(Object clientId)
clientId - the clientId value to set.public SecretBase clientSecret()
public ServiceNowLinkedService withClientSecret(SecretBase clientSecret)
clientSecret - the clientSecret value to set.public Object useEncryptedEndpoints()
public ServiceNowLinkedService withUseEncryptedEndpoints(Object useEncryptedEndpoints)
useEncryptedEndpoints - the useEncryptedEndpoints value to set.public Object useHostVerification()
public ServiceNowLinkedService withUseHostVerification(Object useHostVerification)
useHostVerification - the useHostVerification value to set.public Object usePeerVerification()
public ServiceNowLinkedService withUsePeerVerification(Object usePeerVerification)
usePeerVerification - the usePeerVerification value to set.public Object encryptedCredential()
public ServiceNowLinkedService withEncryptedCredential(Object encryptedCredential)
encryptedCredential - the encryptedCredential value to set.public ServiceNowLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
withConnectVia in class LinkedServiceconnectVia - the connectVia value to set.public ServiceNowLinkedService withDescription(String description)
withDescription in class LinkedServicedescription - the description value to set.public ServiceNowLinkedService withParameters(Map<String,ParameterSpecification> parameters)
withParameters in class LinkedServiceparameters - the parameters value to set.public ServiceNowLinkedService withAnnotations(List<Object> annotations)
withAnnotations in class LinkedServiceannotations - the annotations value to set.public void validate()
validate in class LinkedServiceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.