Class SquareLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.SquareLinkedService
-
public final class SquareLinkedService extends LinkedService
Square Service linked service.
-
-
Constructor Summary
Constructors Constructor Description SquareLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectclientId()Get the clientId property: The client ID associated with your Square application.SecretBaseclientSecret()Get the clientSecret property: The client secret associated with your Square application.ObjectconnectionProperties()Get the connectionProperties property: Properties used to connect to Square.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.Objecthost()Get the host property: The URL of the Square instance.ObjectredirectUri()Get the redirectUri property: The redirect URL assigned in the Square application dashboard.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.SquareLinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.SquareLinkedServicewithClientId(Object clientId)Set the clientId property: The client ID associated with your Square application.SquareLinkedServicewithClientSecret(SecretBase clientSecret)Set the clientSecret property: The client secret associated with your Square application.SquareLinkedServicewithConnectionProperties(Object connectionProperties)Set the connectionProperties property: Properties used to connect to Square.SquareLinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.SquareLinkedServicewithDescription(String description)Set the description property: Linked service description.SquareLinkedServicewithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.SquareLinkedServicewithHost(Object host)Set the host property: The URL of the Square instance.SquareLinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.SquareLinkedServicewithRedirectUri(Object redirectUri)Set the redirectUri property: The redirect URL assigned in the Square application dashboard.SquareLinkedServicewithUseEncryptedEndpoints(Object useEncryptedEndpoints)Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS.SquareLinkedServicewithUseHostVerification(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.SquareLinkedServicewithUsePeerVerification(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 SquareLinkedService 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 SquareLinkedService 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 SquareLinkedService 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 SquareLinkedService 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 Square. It is mutually exclusive with any other properties in the linked service. Type: object.- Returns:
- the connectionProperties value.
-
withConnectionProperties
public SquareLinkedService withConnectionProperties(Object connectionProperties)
Set the connectionProperties property: Properties used to connect to Square. It is mutually exclusive with any other properties in the linked service. Type: object.- Parameters:
connectionProperties- the connectionProperties value to set.- Returns:
- the SquareLinkedService object itself.
-
host
public Object host()
Get the host property: The URL of the Square instance. (i.e. mystore.mysquare.com).- Returns:
- the host value.
-
withHost
public SquareLinkedService withHost(Object host)
Set the host property: The URL of the Square instance. (i.e. mystore.mysquare.com).- Parameters:
host- the host value to set.- Returns:
- the SquareLinkedService object itself.
-
clientId
public Object clientId()
Get the clientId property: The client ID associated with your Square application.- Returns:
- the clientId value.
-
withClientId
public SquareLinkedService withClientId(Object clientId)
Set the clientId property: The client ID associated with your Square application.- Parameters:
clientId- the clientId value to set.- Returns:
- the SquareLinkedService object itself.
-
clientSecret
public SecretBase clientSecret()
Get the clientSecret property: The client secret associated with your Square application.- Returns:
- the clientSecret value.
-
withClientSecret
public SquareLinkedService withClientSecret(SecretBase clientSecret)
Set the clientSecret property: The client secret associated with your Square application.- Parameters:
clientSecret- the clientSecret value to set.- Returns:
- the SquareLinkedService object itself.
-
redirectUri
public Object redirectUri()
Get the redirectUri property: The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500).- Returns:
- the redirectUri value.
-
withRedirectUri
public SquareLinkedService withRedirectUri(Object redirectUri)
Set the redirectUri property: The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500).- Parameters:
redirectUri- the redirectUri value to set.- Returns:
- the SquareLinkedService 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 SquareLinkedService 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 SquareLinkedService 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 SquareLinkedService 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 SquareLinkedService 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 SquareLinkedService 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 SquareLinkedService 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 SquareLinkedService 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 SquareLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-