Class RestServiceLinkedServiceTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.RestServiceLinkedServiceTypeProperties
-
public final class RestServiceLinkedServiceTypeProperties extends Object
Rest Service linked service properties.
-
-
Constructor Summary
Constructors Constructor Description RestServiceLinkedServiceTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
aadResourceId()
Get the aadResourceId property: The resource you are requesting authorization to use.RestServiceAuthenticationType
authenticationType()
Get the authenticationType property: Type of authentication used to connect to the REST service.Object
authHeaders()
Get the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization.Object
azureCloudType()
Get the azureCloudType property: Indicates the azure cloud type of the service principle auth.CredentialReference
credential()
Get the credential property: The credential reference containing authentication information.Object
enableServerCertificateValidation()
Get the enableServerCertificateValidation property: Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true.Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.SecretBase
password()
Get the password property: The password used in Basic authentication type.Object
servicePrincipalId()
Get the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type.SecretBase
servicePrincipalKey()
Get the servicePrincipalKey property: The application's key used in AadServicePrincipal authentication type.Object
tenant()
Get the tenant property: The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides.Object
url()
Get the url property: The base URL of the REST service.Object
username()
Get the username property: The user name used in Basic authentication type.void
validate()
Validates the instance.RestServiceLinkedServiceTypeProperties
withAadResourceId(Object aadResourceId)
Set the aadResourceId property: The resource you are requesting authorization to use.RestServiceLinkedServiceTypeProperties
withAuthenticationType(RestServiceAuthenticationType authenticationType)
Set the authenticationType property: Type of authentication used to connect to the REST service.RestServiceLinkedServiceTypeProperties
withAuthHeaders(Object authHeaders)
Set the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization.RestServiceLinkedServiceTypeProperties
withAzureCloudType(Object azureCloudType)
Set the azureCloudType property: Indicates the azure cloud type of the service principle auth.RestServiceLinkedServiceTypeProperties
withCredential(CredentialReference credential)
Set the credential property: The credential reference containing authentication information.RestServiceLinkedServiceTypeProperties
withEnableServerCertificateValidation(Object enableServerCertificateValidation)
Set the enableServerCertificateValidation property: Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true.RestServiceLinkedServiceTypeProperties
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.RestServiceLinkedServiceTypeProperties
withPassword(SecretBase password)
Set the password property: The password used in Basic authentication type.RestServiceLinkedServiceTypeProperties
withServicePrincipalId(Object servicePrincipalId)
Set the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type.RestServiceLinkedServiceTypeProperties
withServicePrincipalKey(SecretBase servicePrincipalKey)
Set the servicePrincipalKey property: The application's key used in AadServicePrincipal authentication type.RestServiceLinkedServiceTypeProperties
withTenant(Object tenant)
Set the tenant property: The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides.RestServiceLinkedServiceTypeProperties
withUrl(Object url)
Set the url property: The base URL of the REST service.RestServiceLinkedServiceTypeProperties
withUsername(Object username)
Set the username property: The user name used in Basic authentication type.
-
-
-
Method Detail
-
url
public Object url()
Get the url property: The base URL of the REST service.- Returns:
- the url value.
-
withUrl
public RestServiceLinkedServiceTypeProperties withUrl(Object url)
Set the url property: The base URL of the REST service.- Parameters:
url
- the url value to set.- Returns:
- the RestServiceLinkedServiceTypeProperties object itself.
-
enableServerCertificateValidation
public Object enableServerCertificateValidation()
Get the enableServerCertificateValidation property: Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true. Type: boolean (or Expression with resultType boolean).- Returns:
- the enableServerCertificateValidation value.
-
withEnableServerCertificateValidation
public RestServiceLinkedServiceTypeProperties withEnableServerCertificateValidation(Object enableServerCertificateValidation)
Set the enableServerCertificateValidation property: Whether to validate server side SSL certificate when connecting to the endpoint.The default value is true. Type: boolean (or Expression with resultType boolean).- Parameters:
enableServerCertificateValidation
- the enableServerCertificateValidation value to set.- Returns:
- the RestServiceLinkedServiceTypeProperties object itself.
-
authenticationType
public RestServiceAuthenticationType authenticationType()
Get the authenticationType property: Type of authentication used to connect to the REST service.- Returns:
- the authenticationType value.
-
withAuthenticationType
public RestServiceLinkedServiceTypeProperties withAuthenticationType(RestServiceAuthenticationType authenticationType)
Set the authenticationType property: Type of authentication used to connect to the REST service.- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the RestServiceLinkedServiceTypeProperties object itself.
-
username
public Object username()
Get the username property: The user name used in Basic authentication type.- Returns:
- the username value.
-
withUsername
public RestServiceLinkedServiceTypeProperties withUsername(Object username)
Set the username property: The user name used in Basic authentication type.- Parameters:
username
- the username value to set.- Returns:
- the RestServiceLinkedServiceTypeProperties object itself.
-
password
public SecretBase password()
Get the password property: The password used in Basic authentication type.- Returns:
- the password value.
-
withPassword
public RestServiceLinkedServiceTypeProperties withPassword(SecretBase password)
Set the password property: The password used in Basic authentication type.- Parameters:
password
- the password value to set.- Returns:
- the RestServiceLinkedServiceTypeProperties object itself.
-
authHeaders
public Object authHeaders()
Get the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object).- Returns:
- the authHeaders value.
-
withAuthHeaders
public RestServiceLinkedServiceTypeProperties withAuthHeaders(Object authHeaders)
Set the authHeaders property: The additional HTTP headers in the request to RESTful API used for authorization. Type: object (or Expression with resultType object).- Parameters:
authHeaders
- the authHeaders value to set.- Returns:
- the RestServiceLinkedServiceTypeProperties object itself.
-
servicePrincipalId
public Object servicePrincipalId()
Get the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type.- Returns:
- the servicePrincipalId value.
-
withServicePrincipalId
public RestServiceLinkedServiceTypeProperties withServicePrincipalId(Object servicePrincipalId)
Set the servicePrincipalId property: The application's client ID used in AadServicePrincipal authentication type.- Parameters:
servicePrincipalId
- the servicePrincipalId value to set.- Returns:
- the RestServiceLinkedServiceTypeProperties object itself.
-
servicePrincipalKey
public SecretBase servicePrincipalKey()
Get the servicePrincipalKey property: The application's key used in AadServicePrincipal authentication type.- Returns:
- the servicePrincipalKey value.
-
withServicePrincipalKey
public RestServiceLinkedServiceTypeProperties withServicePrincipalKey(SecretBase servicePrincipalKey)
Set the servicePrincipalKey property: The application's key used in AadServicePrincipal authentication type.- Parameters:
servicePrincipalKey
- the servicePrincipalKey value to set.- Returns:
- the RestServiceLinkedServiceTypeProperties object itself.
-
tenant
public Object tenant()
Get the tenant property: The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides.- Returns:
- the tenant value.
-
withTenant
public RestServiceLinkedServiceTypeProperties withTenant(Object tenant)
Set the tenant property: The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides.- Parameters:
tenant
- the tenant value to set.- Returns:
- the RestServiceLinkedServiceTypeProperties object itself.
-
azureCloudType
public Object azureCloudType()
Get the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).- Returns:
- the azureCloudType value.
-
withAzureCloudType
public RestServiceLinkedServiceTypeProperties withAzureCloudType(Object azureCloudType)
Set the azureCloudType property: Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).- Parameters:
azureCloudType
- the azureCloudType value to set.- Returns:
- the RestServiceLinkedServiceTypeProperties object itself.
-
aadResourceId
public Object aadResourceId()
Get the aadResourceId property: The resource you are requesting authorization to use.- Returns:
- the aadResourceId value.
-
withAadResourceId
public RestServiceLinkedServiceTypeProperties withAadResourceId(Object aadResourceId)
Set the aadResourceId property: The resource you are requesting authorization to use.- Parameters:
aadResourceId
- the aadResourceId value to set.- Returns:
- the RestServiceLinkedServiceTypeProperties 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 RestServiceLinkedServiceTypeProperties 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 RestServiceLinkedServiceTypeProperties object itself.
-
credential
public CredentialReference credential()
Get the credential property: The credential reference containing authentication information.- Returns:
- the credential value.
-
withCredential
public RestServiceLinkedServiceTypeProperties withCredential(CredentialReference credential)
Set the credential property: The credential reference containing authentication information.- Parameters:
credential
- the credential value to set.- Returns:
- the RestServiceLinkedServiceTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-