Class SapCloudForCustomerLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.SapCloudForCustomerLinkedService
-
public final class SapCloudForCustomerLinkedService extends LinkedService
Linked service for SAP Cloud for Customer.
-
-
Constructor Summary
Constructors Constructor Description SapCloudForCustomerLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.SecretBase
password()
Get the password property: The password for Basic authentication.Object
url()
Get the url property: The URL of SAP Cloud for Customer OData API.Object
username()
Get the username property: The username for Basic authentication.void
validate()
Validates the instance.SapCloudForCustomerLinkedService
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.SapCloudForCustomerLinkedService
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.SapCloudForCustomerLinkedService
withDescription(String description)
Set the description property: Linked service description.SapCloudForCustomerLinkedService
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.SapCloudForCustomerLinkedService
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.SapCloudForCustomerLinkedService
withPassword(SecretBase password)
Set the password property: The password for Basic authentication.SapCloudForCustomerLinkedService
withUrl(Object url)
Set the url property: The URL of SAP Cloud for Customer OData API.SapCloudForCustomerLinkedService
withUsername(Object username)
Set the username property: The username for Basic authentication.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public SapCloudForCustomerLinkedService 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 SapCloudForCustomerLinkedService 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 SapCloudForCustomerLinkedService 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 SapCloudForCustomerLinkedService 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.
-
url
public Object url()
Get the url property: The URL of SAP Cloud for Customer OData API. For example, '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: string (or Expression with resultType string).- Returns:
- the url value.
-
withUrl
public SapCloudForCustomerLinkedService withUrl(Object url)
Set the url property: The URL of SAP Cloud for Customer OData API. For example, '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: string (or Expression with resultType string).- Parameters:
url
- the url value to set.- Returns:
- the SapCloudForCustomerLinkedService object itself.
-
username
public Object username()
Get the username property: The username for Basic authentication. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
public SapCloudForCustomerLinkedService withUsername(Object username)
Set the username property: The username for Basic authentication. Type: string (or Expression with resultType string).- Parameters:
username
- the username value to set.- Returns:
- the SapCloudForCustomerLinkedService object itself.
-
password
public SecretBase password()
Get the password property: The password for Basic authentication.- Returns:
- the password value.
-
withPassword
public SapCloudForCustomerLinkedService withPassword(SecretBase password)
Set the password property: The password for Basic authentication.- Parameters:
password
- the password value to set.- Returns:
- the SapCloudForCustomerLinkedService 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. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string).- Returns:
- the encryptedCredential value.
-
withEncryptedCredential
public SapCloudForCustomerLinkedService withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Either encryptedCredential or username/password must be provided. Type: string (or Expression with resultType string).- Parameters:
encryptedCredential
- the encryptedCredential value to set.- Returns:
- the SapCloudForCustomerLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-