Class SapCloudForCustomerLinkedServiceTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.SapCloudForCustomerLinkedServiceTypeProperties
-
public final class SapCloudForCustomerLinkedServiceTypeProperties extends Object
SAP Cloud for Customer linked service properties.
-
-
Constructor Summary
Constructors Constructor Description SapCloudForCustomerLinkedServiceTypeProperties()
-
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.SapCloudForCustomerLinkedServiceTypeProperties
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.SapCloudForCustomerLinkedServiceTypeProperties
withPassword(SecretBase password)
Set the password property: The password for Basic authentication.SapCloudForCustomerLinkedServiceTypeProperties
withUrl(Object url)
Set the url property: The URL of SAP Cloud for Customer OData API.SapCloudForCustomerLinkedServiceTypeProperties
withUsername(Object username)
Set the username property: The username for Basic authentication.
-
-
-
Method Detail
-
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 SapCloudForCustomerLinkedServiceTypeProperties 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 SapCloudForCustomerLinkedServiceTypeProperties 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 SapCloudForCustomerLinkedServiceTypeProperties 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 SapCloudForCustomerLinkedServiceTypeProperties object itself.
-
password
public SecretBase password()
Get the password property: The password for Basic authentication.- Returns:
- the password value.
-
withPassword
public SapCloudForCustomerLinkedServiceTypeProperties withPassword(SecretBase password)
Set the password property: The password for Basic authentication.- Parameters:
password
- the password value to set.- Returns:
- the SapCloudForCustomerLinkedServiceTypeProperties 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 SapCloudForCustomerLinkedServiceTypeProperties 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 SapCloudForCustomerLinkedServiceTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-