Class SmartsheetLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.SmartsheetLinkedService
-
public final class SmartsheetLinkedService extends LinkedService
Linked service for Smartsheet.
-
-
Constructor Summary
Constructors Constructor Description SmartsheetLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretBaseapiToken()Get the apiToken property: The api token for the Smartsheet source.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.voidvalidate()Validates the instance.SmartsheetLinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.SmartsheetLinkedServicewithApiToken(SecretBase apiToken)Set the apiToken property: The api token for the Smartsheet source.SmartsheetLinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.SmartsheetLinkedServicewithDescription(String description)Set the description property: Linked service description.SmartsheetLinkedServicewithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.SmartsheetLinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public SmartsheetLinkedService 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 SmartsheetLinkedService 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 SmartsheetLinkedService 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 SmartsheetLinkedService 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.
-
apiToken
public SecretBase apiToken()
Get the apiToken property: The api token for the Smartsheet source.- Returns:
- the apiToken value.
-
withApiToken
public SmartsheetLinkedService withApiToken(SecretBase apiToken)
Set the apiToken property: The api token for the Smartsheet source.- Parameters:
apiToken- the apiToken value to set.- Returns:
- the SmartsheetLinkedService 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 SmartsheetLinkedService 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 SmartsheetLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-