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 Objectdatabase()Get the database property: The database name of the Amazon Redshift source.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.SecretBasepassword()Get the password property: The password of the Amazon Redshift source.Objectport()Get the port property: The TCP port number that the Amazon Redshift server uses to listen for client connections.Objectserver()Get the server property: The name of the Amazon Redshift server.Objectusername()Get the username property: The username of the Amazon Redshift source.voidvalidate()Validates the instance.AmazonRedshiftLinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.AmazonRedshiftLinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.AmazonRedshiftLinkedServicewithDatabase(Object database)Set the database property: The database name of the Amazon Redshift source.AmazonRedshiftLinkedServicewithDescription(String description)Set the description property: Linked service description.AmazonRedshiftLinkedServicewithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.AmazonRedshiftLinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.AmazonRedshiftLinkedServicewithPassword(SecretBase password)Set the password property: The password of the Amazon Redshift source.AmazonRedshiftLinkedServicewithPort(Object port)Set the port property: The TCP port number that the Amazon Redshift server uses to listen for client connections.AmazonRedshiftLinkedServicewithServer(Object server)Set the server property: The name of the Amazon Redshift server.AmazonRedshiftLinkedServicewithUsername(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:
withConnectViain 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:
withDescriptionin 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:
withParametersin 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:
withAnnotationsin 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:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-