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