Class AmazonRedshiftLinkedServiceTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.AmazonRedshiftLinkedServiceTypeProperties
-
public final class AmazonRedshiftLinkedServiceTypeProperties extends Object
Amazon Redshift linked service properties.
-
-
Constructor Summary
Constructors Constructor Description AmazonRedshiftLinkedServiceTypeProperties()
-
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.AmazonRedshiftLinkedServiceTypeProperties
withDatabase(Object database)
Set the database property: The database name of the Amazon Redshift source.AmazonRedshiftLinkedServiceTypeProperties
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.AmazonRedshiftLinkedServiceTypeProperties
withPassword(SecretBase password)
Set the password property: The password of the Amazon Redshift source.AmazonRedshiftLinkedServiceTypeProperties
withPort(Object port)
Set the port property: The TCP port number that the Amazon Redshift server uses to listen for client connections.AmazonRedshiftLinkedServiceTypeProperties
withServer(Object server)
Set the server property: The name of the Amazon Redshift server.AmazonRedshiftLinkedServiceTypeProperties
withUsername(Object username)
Set the username property: The username of the Amazon Redshift source.
-
-
-
Method Detail
-
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 AmazonRedshiftLinkedServiceTypeProperties 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 AmazonRedshiftLinkedServiceTypeProperties 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 AmazonRedshiftLinkedServiceTypeProperties 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 AmazonRedshiftLinkedServiceTypeProperties object itself.
-
password
public SecretBase password()
Get the password property: The password of the Amazon Redshift source.- Returns:
- the password value.
-
withPassword
public AmazonRedshiftLinkedServiceTypeProperties withPassword(SecretBase password)
Set the password property: The password of the Amazon Redshift source.- Parameters:
password
- the password value to set.- Returns:
- the AmazonRedshiftLinkedServiceTypeProperties 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 AmazonRedshiftLinkedServiceTypeProperties 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 AmazonRedshiftLinkedServiceTypeProperties 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 AmazonRedshiftLinkedServiceTypeProperties 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 AmazonRedshiftLinkedServiceTypeProperties 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 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.
-
-