Class XeroLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.XeroLinkedService
-
public final class XeroLinkedService extends LinkedService
Xero Service linked service.
-
-
Constructor Summary
Constructors Constructor Description XeroLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectconnectionProperties()Get the connectionProperties property: Properties used to connect to Xero.SecretBaseconsumerKey()Get the consumerKey property: The consumer key associated with the Xero application.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.Objecthost()Get the host property: The endpoint of the Xero server.SecretBaseprivateKey()Get the privateKey property: The private key from the .pem file that was generated for your Xero private application.ObjectuseEncryptedEndpoints()Get the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.ObjectuseHostVerification()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.ObjectusePeerVerification()Get the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL.voidvalidate()Validates the instance.XeroLinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.XeroLinkedServicewithConnectionProperties(Object connectionProperties)Set the connectionProperties property: Properties used to connect to Xero.XeroLinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.XeroLinkedServicewithConsumerKey(SecretBase consumerKey)Set the consumerKey property: The consumer key associated with the Xero application.XeroLinkedServicewithDescription(String description)Set the description property: Linked service description.XeroLinkedServicewithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.XeroLinkedServicewithHost(Object host)Set the host property: The endpoint of the Xero server.XeroLinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.XeroLinkedServicewithPrivateKey(SecretBase privateKey)Set the privateKey property: The private key from the .pem file that was generated for your Xero private application.XeroLinkedServicewithUseEncryptedEndpoints(Object useEncryptedEndpoints)Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.XeroLinkedServicewithUseHostVerification(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.XeroLinkedServicewithUsePeerVerification(Object usePeerVerification)Set the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public XeroLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectViain classLinkedService- Parameters:
connectVia- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
public XeroLinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescriptionin classLinkedService- Parameters:
description- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
public XeroLinkedService withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.- Overrides:
withParametersin classLinkedService- Parameters:
parameters- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
public XeroLinkedService withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotationsin classLinkedService- Parameters:
annotations- the annotations value to set.- Returns:
- the LinkedService object itself.
-
connectionProperties
public Object 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
public XeroLinkedService withConnectionProperties(Object connectionProperties)
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 XeroLinkedService object itself.
-
host
public Object host()
Get the host property: The endpoint of the Xero server. (i.e. api.xero.com).- Returns:
- the host value.
-
withHost
public XeroLinkedService withHost(Object host)
Set the host property: The endpoint of the Xero server. (i.e. api.xero.com).- Parameters:
host- the host value to set.- Returns:
- the XeroLinkedService object itself.
-
consumerKey
public SecretBase consumerKey()
Get the consumerKey property: The consumer key associated with the Xero application.- Returns:
- the consumerKey value.
-
withConsumerKey
public XeroLinkedService withConsumerKey(SecretBase consumerKey)
Set the consumerKey property: The consumer key associated with the Xero application.- Parameters:
consumerKey- the consumerKey value to set.- Returns:
- the XeroLinkedService object itself.
-
privateKey
public SecretBase 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
public XeroLinkedService withPrivateKey(SecretBase privateKey)
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 XeroLinkedService 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 XeroLinkedService 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 XeroLinkedService 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 XeroLinkedService 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 XeroLinkedService 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 XeroLinkedService 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 XeroLinkedService 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 XeroLinkedService 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 XeroLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-