Class HubspotLinkedServiceTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.HubspotLinkedServiceTypeProperties
Hubspot Service linked service properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accessToken property: The access token obtained when initially authenticating your OAuth integration.clientId()
Get the clientId property: The client ID associated with your Hubspot application.Get the clientSecret property: The client secret associated with your Hubspot application.Get the encryptedCredential property: The encrypted credential used for authentication.Get the refreshToken property: The refresh token obtained when initially authenticating your OAuth integration.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.withAccessToken
(SecretBase accessToken) Set the accessToken property: The access token obtained when initially authenticating your OAuth integration.withClientId
(Object clientId) Set the clientId property: The client ID associated with your Hubspot application.withClientSecret
(SecretBase clientSecret) Set the clientSecret property: The client secret associated with your Hubspot application.withEncryptedCredential
(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.withRefreshToken
(SecretBase refreshToken) Set the refreshToken property: The refresh token obtained when initially authenticating your OAuth integration.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
-
HubspotLinkedServiceTypeProperties
public HubspotLinkedServiceTypeProperties()
-
-
Method Details
-
clientId
Get the clientId property: The client ID associated with your Hubspot application.- Returns:
- the clientId value.
-
withClientId
Set the clientId property: The client ID associated with your Hubspot application.- Parameters:
clientId
- the clientId value to set.- Returns:
- the HubspotLinkedServiceTypeProperties object itself.
-
clientSecret
Get the clientSecret property: The client secret associated with your Hubspot application.- Returns:
- the clientSecret value.
-
withClientSecret
Set the clientSecret property: The client secret associated with your Hubspot application.- Parameters:
clientSecret
- the clientSecret value to set.- Returns:
- the HubspotLinkedServiceTypeProperties object itself.
-
accessToken
Get the accessToken property: The access token obtained when initially authenticating your OAuth integration.- Returns:
- the accessToken value.
-
withAccessToken
Set the accessToken property: The access token obtained when initially authenticating your OAuth integration.- Parameters:
accessToken
- the accessToken value to set.- Returns:
- the HubspotLinkedServiceTypeProperties object itself.
-
refreshToken
Get the refreshToken property: The refresh token obtained when initially authenticating your OAuth integration.- Returns:
- the refreshToken value.
-
withRefreshToken
Set the refreshToken property: The refresh token obtained when initially authenticating your OAuth integration.- Parameters:
refreshToken
- the refreshToken value to set.- Returns:
- the HubspotLinkedServiceTypeProperties 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 HubspotLinkedServiceTypeProperties 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 HubspotLinkedServiceTypeProperties 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 HubspotLinkedServiceTypeProperties 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 HubspotLinkedServiceTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-