Class QuickBooksLinkedServiceTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.QuickBooksLinkedServiceTypeProperties
-
public final class QuickBooksLinkedServiceTypeProperties extends Object
QuickBooks server linked service properties.
-
-
Constructor Summary
Constructors Constructor Description QuickBooksLinkedServiceTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretBase
accessToken()
Get the accessToken property: The access token for OAuth 1.0 authentication.SecretBase
accessTokenSecret()
Get the accessTokenSecret property: The access token secret for OAuth 1.0 authentication.Object
companyId()
Get the companyId property: The company ID of the QuickBooks company to authorize.Object
connectionProperties()
Get the connectionProperties property: Properties used to connect to QuickBooks.Object
consumerKey()
Get the consumerKey property: The consumer key for OAuth 1.0 authentication.SecretBase
consumerSecret()
Get the consumerSecret property: The consumer secret for OAuth 1.0 authentication.Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.Object
endpoint()
Get the endpoint property: The endpoint of the QuickBooks server.Object
useEncryptedEndpoints()
Get the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.void
validate()
Validates the instance.QuickBooksLinkedServiceTypeProperties
withAccessToken(SecretBase accessToken)
Set the accessToken property: The access token for OAuth 1.0 authentication.QuickBooksLinkedServiceTypeProperties
withAccessTokenSecret(SecretBase accessTokenSecret)
Set the accessTokenSecret property: The access token secret for OAuth 1.0 authentication.QuickBooksLinkedServiceTypeProperties
withCompanyId(Object companyId)
Set the companyId property: The company ID of the QuickBooks company to authorize.QuickBooksLinkedServiceTypeProperties
withConnectionProperties(Object connectionProperties)
Set the connectionProperties property: Properties used to connect to QuickBooks.QuickBooksLinkedServiceTypeProperties
withConsumerKey(Object consumerKey)
Set the consumerKey property: The consumer key for OAuth 1.0 authentication.QuickBooksLinkedServiceTypeProperties
withConsumerSecret(SecretBase consumerSecret)
Set the consumerSecret property: The consumer secret for OAuth 1.0 authentication.QuickBooksLinkedServiceTypeProperties
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.QuickBooksLinkedServiceTypeProperties
withEndpoint(Object endpoint)
Set the endpoint property: The endpoint of the QuickBooks server.QuickBooksLinkedServiceTypeProperties
withUseEncryptedEndpoints(Object useEncryptedEndpoints)
Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.
-
-
-
Method Detail
-
connectionProperties
public Object connectionProperties()
Get the connectionProperties property: Properties used to connect to QuickBooks. It is mutually exclusive with any other properties in the linked service. Type: object.- Returns:
- the connectionProperties value.
-
withConnectionProperties
public QuickBooksLinkedServiceTypeProperties withConnectionProperties(Object connectionProperties)
Set the connectionProperties property: Properties used to connect to QuickBooks. It is mutually exclusive with any other properties in the linked service. Type: object.- Parameters:
connectionProperties
- the connectionProperties value to set.- Returns:
- the QuickBooksLinkedServiceTypeProperties object itself.
-
endpoint
public Object endpoint()
Get the endpoint property: The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com).- Returns:
- the endpoint value.
-
withEndpoint
public QuickBooksLinkedServiceTypeProperties withEndpoint(Object endpoint)
Set the endpoint property: The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com).- Parameters:
endpoint
- the endpoint value to set.- Returns:
- the QuickBooksLinkedServiceTypeProperties object itself.
-
companyId
public Object companyId()
Get the companyId property: The company ID of the QuickBooks company to authorize.- Returns:
- the companyId value.
-
withCompanyId
public QuickBooksLinkedServiceTypeProperties withCompanyId(Object companyId)
Set the companyId property: The company ID of the QuickBooks company to authorize.- Parameters:
companyId
- the companyId value to set.- Returns:
- the QuickBooksLinkedServiceTypeProperties object itself.
-
consumerKey
public Object consumerKey()
Get the consumerKey property: The consumer key for OAuth 1.0 authentication.- Returns:
- the consumerKey value.
-
withConsumerKey
public QuickBooksLinkedServiceTypeProperties withConsumerKey(Object consumerKey)
Set the consumerKey property: The consumer key for OAuth 1.0 authentication.- Parameters:
consumerKey
- the consumerKey value to set.- Returns:
- the QuickBooksLinkedServiceTypeProperties object itself.
-
consumerSecret
public SecretBase consumerSecret()
Get the consumerSecret property: The consumer secret for OAuth 1.0 authentication.- Returns:
- the consumerSecret value.
-
withConsumerSecret
public QuickBooksLinkedServiceTypeProperties withConsumerSecret(SecretBase consumerSecret)
Set the consumerSecret property: The consumer secret for OAuth 1.0 authentication.- Parameters:
consumerSecret
- the consumerSecret value to set.- Returns:
- the QuickBooksLinkedServiceTypeProperties object itself.
-
accessToken
public SecretBase accessToken()
Get the accessToken property: The access token for OAuth 1.0 authentication.- Returns:
- the accessToken value.
-
withAccessToken
public QuickBooksLinkedServiceTypeProperties withAccessToken(SecretBase accessToken)
Set the accessToken property: The access token for OAuth 1.0 authentication.- Parameters:
accessToken
- the accessToken value to set.- Returns:
- the QuickBooksLinkedServiceTypeProperties object itself.
-
accessTokenSecret
public SecretBase accessTokenSecret()
Get the accessTokenSecret property: The access token secret for OAuth 1.0 authentication.- Returns:
- the accessTokenSecret value.
-
withAccessTokenSecret
public QuickBooksLinkedServiceTypeProperties withAccessTokenSecret(SecretBase accessTokenSecret)
Set the accessTokenSecret property: The access token secret for OAuth 1.0 authentication.- Parameters:
accessTokenSecret
- the accessTokenSecret value to set.- Returns:
- the QuickBooksLinkedServiceTypeProperties 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 QuickBooksLinkedServiceTypeProperties 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 QuickBooksLinkedServiceTypeProperties 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 QuickBooksLinkedServiceTypeProperties 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 QuickBooksLinkedServiceTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-