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 Details

    • AmazonRedshiftLinkedService

      public AmazonRedshiftLinkedService()
      Creates an instance of AmazonRedshiftLinkedService class.
  • Method Details

    • withConnectVia

      public AmazonRedshiftLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
      Set the connectVia property: The integration runtime reference.
      Overrides:
      withConnectVia in class LinkedService
      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 class LinkedService
      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 class LinkedService
      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 class LinkedService
      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 class LinkedService
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.