Class AmazonRedshiftLinkedService
java.lang.Object
com.azure.resourcemanager.datafactory.models.LinkedService
com.azure.resourcemanager.datafactory.models.AmazonRedshiftLinkedService
Linked service for Amazon Redshift.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AmazonRedshiftLinkedService class. -
Method Summary
Modifier and TypeMethodDescriptiondatabase()
Get the database property: The database name of the Amazon Redshift source.Get the encryptedCredential property: The encrypted credential used for authentication.password()
Get the password property: The password of the Amazon Redshift source.port()
Get the port property: The TCP port number that the Amazon Redshift server uses to listen for client connections.server()
Get the server property: The name of the Amazon Redshift server.username()
Get the username property: The username of the Amazon Redshift source.void
validate()
Validates the instance.withAnnotations
(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the linked service.withConnectVia
(IntegrationRuntimeReference connectVia) Set the connectVia property: The integration runtime reference.withDatabase
(Object database) Set the database property: The database name of the Amazon Redshift source.withDescription
(String description) Set the description property: Linked service description.withEncryptedCredential
(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.withParameters
(Map<String, ParameterSpecification> parameters) Set the parameters property: Parameters for linked service.withPassword
(SecretBase password) Set the password property: The password of the Amazon Redshift source.Set the port property: The TCP port number that the Amazon Redshift server uses to listen for client connections.withServer
(Object server) Set the server property: The name of the Amazon Redshift server.withUsername
(Object username) Set the username property: The username of the Amazon Redshift source.Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
Constructor Details
-
AmazonRedshiftLinkedService
public AmazonRedshiftLinkedService()Creates an instance of AmazonRedshiftLinkedService class.
-
-
Method Details
-
withConnectVia
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
Set the description property: Linked service description.- Overrides:
withDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
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
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.
-
server
Get the server property: The name of the Amazon Redshift server. Type: string (or Expression with resultType string).- Returns:
- the server value.
-
withServer
Set the server property: The name of the Amazon Redshift server. Type: string (or Expression with resultType string).- Parameters:
server
- the server value to set.- Returns:
- the AmazonRedshiftLinkedService object itself.
-
username
Get the username property: The username of the Amazon Redshift source. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
Set the username property: The username of the Amazon Redshift source. Type: string (or Expression with resultType string).- Parameters:
username
- the username value to set.- Returns:
- the AmazonRedshiftLinkedService object itself.
-
password
Get the password property: The password of the Amazon Redshift source.- Returns:
- the password value.
-
withPassword
Set the password property: The password of the Amazon Redshift source.- Parameters:
password
- the password value to set.- Returns:
- the AmazonRedshiftLinkedService object itself.
-
database
Get the database property: The database name of the Amazon Redshift source. Type: string (or Expression with resultType string).- Returns:
- the database value.
-
withDatabase
Set the database property: The database name of the Amazon Redshift source. Type: string (or Expression with resultType string).- Parameters:
database
- the database value to set.- Returns:
- the AmazonRedshiftLinkedService object itself.
-
port
Get the port property: The TCP port number that the Amazon Redshift server uses to listen for client connections. The default value is 5439. Type: integer (or Expression with resultType integer).- Returns:
- the port value.
-
withPort
Set the port property: The TCP port number that the Amazon Redshift server uses to listen for client connections. The default value is 5439. Type: integer (or Expression with resultType integer).- Parameters:
port
- the port value to set.- Returns:
- the AmazonRedshiftLinkedService object itself.
-
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
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 AmazonRedshiftLinkedService object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-