Class ServiceNowLinkedServiceTypeProperties

java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.ServiceNowLinkedServiceTypeProperties

public final class ServiceNowLinkedServiceTypeProperties extends Object
ServiceNow server linked service properties.
  • Constructor Details

    • ServiceNowLinkedServiceTypeProperties

      public ServiceNowLinkedServiceTypeProperties()
  • Method Details

    • 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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties object itself.
    • authenticationType

      public ServiceNowAuthenticationType authenticationType()
      Get the authenticationType property: The authentication type to use.
      Returns:
      the authenticationType value.
    • withAuthenticationType

      public ServiceNowLinkedServiceTypeProperties withAuthenticationType(ServiceNowAuthenticationType authenticationType)
      Set the authenticationType property: The authentication type to use.
      Parameters:
      authenticationType - the authenticationType value to set.
      Returns:
      the ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties object itself.
    • clientId

      public Object clientId()
      Get the clientId property: The client id for OAuth2 authentication.
      Returns:
      the clientId value.
    • withClientId

      public ServiceNowLinkedServiceTypeProperties withClientId(Object clientId)
      Set the clientId property: The client id for OAuth2 authentication.
      Parameters:
      clientId - the clientId value to set.
      Returns:
      the ServiceNowLinkedServiceTypeProperties object itself.
    • clientSecret

      public SecretBase clientSecret()
      Get the clientSecret property: The client secret for OAuth2 authentication.
      Returns:
      the clientSecret value.
    • withClientSecret

      public ServiceNowLinkedServiceTypeProperties withClientSecret(SecretBase clientSecret)
      Set the clientSecret property: The client secret for OAuth2 authentication.
      Parameters:
      clientSecret - the clientSecret value to set.
      Returns:
      the ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.