Class XeroLinkedServiceTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.XeroLinkedServiceTypeProperties
Xero Service linked service properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the connectionProperties property: Properties used to connect to Xero.Get the consumerKey property: The consumer key associated with the Xero application.Get the encryptedCredential property: The encrypted credential used for authentication.host()
Get the host property: The endpoint of the Xero server.Get the privateKey property: The private key from the .pem file that was generated for your Xero private application.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.void
validate()
Validates the instance.withConnectionProperties
(Object connectionProperties) Set the connectionProperties property: Properties used to connect to Xero.withConsumerKey
(SecretBase consumerKey) Set the consumerKey property: The consumer key associated with the Xero application.withEncryptedCredential
(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.Set the host property: The endpoint of the Xero server.withPrivateKey
(SecretBase privateKey) Set the privateKey property: The private key from the .pem file that was generated for your Xero private application.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.
-
Constructor Details
-
XeroLinkedServiceTypeProperties
public XeroLinkedServiceTypeProperties()
-
-
Method Details
-
connectionProperties
Get the connectionProperties property: Properties used to connect to Xero. It is mutually exclusive with any other properties in the linked service. Type: object.- Returns:
- the connectionProperties value.
-
withConnectionProperties
Set the connectionProperties property: Properties used to connect to Xero. It is mutually exclusive with any other properties in the linked service. Type: object.- Parameters:
connectionProperties
- the connectionProperties value to set.- Returns:
- the XeroLinkedServiceTypeProperties object itself.
-
host
Get the host property: The endpoint of the Xero server. (i.e. api.xero.com).- Returns:
- the host value.
-
withHost
Set the host property: The endpoint of the Xero server. (i.e. api.xero.com).- Parameters:
host
- the host value to set.- Returns:
- the XeroLinkedServiceTypeProperties object itself.
-
consumerKey
Get the consumerKey property: The consumer key associated with the Xero application.- Returns:
- the consumerKey value.
-
withConsumerKey
Set the consumerKey property: The consumer key associated with the Xero application.- Parameters:
consumerKey
- the consumerKey value to set.- Returns:
- the XeroLinkedServiceTypeProperties object itself.
-
privateKey
Get the privateKey property: The private key from the .pem file that was generated for your Xero private application. You must include all the text from the .pem file, including the Unix line endings( ).- Returns:
- the privateKey value.
-
withPrivateKey
Set the privateKey property: The private key from the .pem file that was generated for your Xero private application. You must include all the text from the .pem file, including the Unix line endings( ).- Parameters:
privateKey
- the privateKey value to set.- Returns:
- the XeroLinkedServiceTypeProperties 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 XeroLinkedServiceTypeProperties 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 XeroLinkedServiceTypeProperties 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 XeroLinkedServiceTypeProperties 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 XeroLinkedServiceTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-