Class AmazonRedshiftLinkedServiceTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.AmazonRedshiftLinkedServiceTypeProperties
Amazon Redshift linked service properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AmazonRedshiftLinkedServiceTypeProperties 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.voidvalidate()Validates the instance.withDatabase(Object database) Set the database property: The database name of the Amazon Redshift source.withEncryptedCredential(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.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.
-
Constructor Details
-
AmazonRedshiftLinkedServiceTypeProperties
public AmazonRedshiftLinkedServiceTypeProperties()Creates an instance of AmazonRedshiftLinkedServiceTypeProperties class.
-
-
Method Details
-
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 AmazonRedshiftLinkedServiceTypeProperties 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 AmazonRedshiftLinkedServiceTypeProperties 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 AmazonRedshiftLinkedServiceTypeProperties 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 AmazonRedshiftLinkedServiceTypeProperties 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 AmazonRedshiftLinkedServiceTypeProperties 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
public AmazonRedshiftLinkedServiceTypeProperties 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 AmazonRedshiftLinkedServiceTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-