Class SapEccLinkedServiceTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.SapEccLinkedServiceTypeProperties
-
public final class SapEccLinkedServiceTypeProperties extends Object
SAP ECC linked service properties.
-
-
Constructor Summary
Constructors Constructor Description SapEccLinkedServiceTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.SecretBase
password()
Get the password property: The password for Basic authentication.String
url()
Get the url property: The URL of SAP ECC OData API.String
username()
Get the username property: The username for Basic authentication.void
validate()
Validates the instance.SapEccLinkedServiceTypeProperties
withEncryptedCredential(String encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.SapEccLinkedServiceTypeProperties
withPassword(SecretBase password)
Set the password property: The password for Basic authentication.SapEccLinkedServiceTypeProperties
withUrl(String url)
Set the url property: The URL of SAP ECC OData API.SapEccLinkedServiceTypeProperties
withUsername(String username)
Set the username property: The username for Basic authentication.
-
-
-
Method Detail
-
url
public String url()
Get the url property: The URL of SAP ECC OData API. For example, '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with resultType string).- Returns:
- the url value.
-
withUrl
public SapEccLinkedServiceTypeProperties withUrl(String url)
Set the url property: The URL of SAP ECC OData API. For example, '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with resultType string).- Parameters:
url
- the url value to set.- Returns:
- the SapEccLinkedServiceTypeProperties object itself.
-
username
public String username()
Get the username property: The username for Basic authentication. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
public SapEccLinkedServiceTypeProperties withUsername(String 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 SapEccLinkedServiceTypeProperties object itself.
-
password
public SecretBase password()
Get the password property: The password for Basic authentication.- Returns:
- the password value.
-
withPassword
public SapEccLinkedServiceTypeProperties withPassword(SecretBase password)
Set the password property: The password for Basic authentication.- Parameters:
password
- the password value to set.- Returns:
- the SapEccLinkedServiceTypeProperties object itself.
-
encryptedCredential
public String 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 SapEccLinkedServiceTypeProperties withEncryptedCredential(String 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 SapEccLinkedServiceTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-