Class ServiceNowLinkedServiceTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.ServiceNowLinkedServiceTypeProperties
ServiceNow server linked service properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ServiceNowLinkedServiceTypeProperties 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.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.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.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.
-
Constructor Details
-
ServiceNowLinkedServiceTypeProperties
public ServiceNowLinkedServiceTypeProperties()Creates an instance of ServiceNowLinkedServiceTypeProperties class.
-
-
Method Details
-
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 ServiceNowLinkedServiceTypeProperties object itself.
-
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
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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties 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
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
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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties 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 ServiceNowLinkedServiceTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-