class AwsDataSourceResourceConverter extends GenericJdbcDataSourceResourceConverter<AwsReportDataSource, ClientAwsDataSource> {

    @Override
    protected ClientAwsDataSource resourceSpecificFieldsToClient(ClientAwsDataSource client, AwsReportDataSource serverObject, ToClientConversionOptions options) {
        final ClientAwsDataSource clientAwsDataSource = super.resourceSpecificFieldsToClient(client, serverObject, options);
        clientAwsDataSource.setRoleArn(serverObject.getRoleARN());
        clientAwsDataSource.setAccessKey(serverObject.getAWSAccessKey());
        clientAwsDataSource.setRegion(serverObject.getAWSRegion());
        clientAwsDataSource.setDbInstanceIdentifier(serverObject.getDbInstanceIdentifier());
        clientAwsDataSource.setDbName(serverObject.getDbName());
        clientAwsDataSource.setDbService(serverObject.getDbService());
        return clientAwsDataSource;
    }

}