Class HubspotLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.HubspotLinkedService
-
public final class HubspotLinkedService extends LinkedService
Hubspot Service linked service.
-
-
Constructor Summary
Constructors Constructor Description HubspotLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretBase
accessToken()
Get the accessToken property: The access token obtained when initially authenticating your OAuth integration.Object
clientId()
Get the clientId property: The client ID associated with your Hubspot application.SecretBase
clientSecret()
Get the clientSecret property: The client secret associated with your Hubspot application.Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.SecretBase
refreshToken()
Get the refreshToken property: The refresh token obtained when initially authenticating your OAuth integration.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.void
validate()
Validates the instance.HubspotLinkedService
withAccessToken(SecretBase accessToken)
Set the accessToken property: The access token obtained when initially authenticating your OAuth integration.HubspotLinkedService
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.HubspotLinkedService
withClientId(Object clientId)
Set the clientId property: The client ID associated with your Hubspot application.HubspotLinkedService
withClientSecret(SecretBase clientSecret)
Set the clientSecret property: The client secret associated with your Hubspot application.HubspotLinkedService
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.HubspotLinkedService
withDescription(String description)
Set the description property: Linked service description.HubspotLinkedService
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.HubspotLinkedService
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.HubspotLinkedService
withRefreshToken(SecretBase refreshToken)
Set the refreshToken property: The refresh token obtained when initially authenticating your OAuth integration.HubspotLinkedService
withUseEncryptedEndpoints(Object useEncryptedEndpoints)
Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.HubspotLinkedService
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.HubspotLinkedService
withUsePeerVerification(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 HubspotLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectVia
in classLinkedService
- Parameters:
connectVia
- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
public HubspotLinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
public HubspotLinkedService withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.- Overrides:
withParameters
in classLinkedService
- Parameters:
parameters
- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
public HubspotLinkedService withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotations
in classLinkedService
- Parameters:
annotations
- the annotations value to set.- Returns:
- the LinkedService object itself.
-
clientId
public Object clientId()
Get the clientId property: The client ID associated with your Hubspot application.- Returns:
- the clientId value.
-
withClientId
public HubspotLinkedService withClientId(Object clientId)
Set the clientId property: The client ID associated with your Hubspot application.- Parameters:
clientId
- the clientId value to set.- Returns:
- the HubspotLinkedService object itself.
-
clientSecret
public SecretBase clientSecret()
Get the clientSecret property: The client secret associated with your Hubspot application.- Returns:
- the clientSecret value.
-
withClientSecret
public HubspotLinkedService withClientSecret(SecretBase clientSecret)
Set the clientSecret property: The client secret associated with your Hubspot application.- Parameters:
clientSecret
- the clientSecret value to set.- Returns:
- the HubspotLinkedService object itself.
-
accessToken
public SecretBase accessToken()
Get the accessToken property: The access token obtained when initially authenticating your OAuth integration.- Returns:
- the accessToken value.
-
withAccessToken
public HubspotLinkedService withAccessToken(SecretBase accessToken)
Set the accessToken property: The access token obtained when initially authenticating your OAuth integration.- Parameters:
accessToken
- the accessToken value to set.- Returns:
- the HubspotLinkedService object itself.
-
refreshToken
public SecretBase refreshToken()
Get the refreshToken property: The refresh token obtained when initially authenticating your OAuth integration.- Returns:
- the refreshToken value.
-
withRefreshToken
public HubspotLinkedService withRefreshToken(SecretBase refreshToken)
Set the refreshToken property: The refresh token obtained when initially authenticating your OAuth integration.- Parameters:
refreshToken
- the refreshToken value to set.- Returns:
- the HubspotLinkedService 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 HubspotLinkedService 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 HubspotLinkedService 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 HubspotLinkedService 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 HubspotLinkedService 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 HubspotLinkedService 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 HubspotLinkedService 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 HubspotLinkedService 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 HubspotLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-