Interface DataSourceCredentials.Builder

    • Method Detail

      • copySourceArn

        DataSourceCredentials.Builder copySourceArn​(String copySourceArn)

        The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials structure.

        Parameters:
        copySourceArn - The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials structure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secretArn

        DataSourceCredentials.Builder secretArn​(String secretArn)

        The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

        Parameters:
        secretArn - The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
        Returns:
        Returns a reference to this object so that method calls can be chained together.