setAppContext API | Java SDK | Teradata AppCenter - setAppContext API - Teradata AppCenter

Teradata® AppCenter Java SDK User Guide

Product
Teradata AppCenter
Release Number
1.10
Published
July 2020
Language
English (United States)
Last Update
2020-07-13
dita:mapPath
jft1593444327384.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-1118
lifecycle
previous
Product Category
Analytical Ecosystem

Purpose

The setAppContext API changes the context of an existing AppCenterclient instance. It is primarily used with the getSystems API to set a new system in the client context. However, you can use it to set any other variable.

Java Code Example

AppContext appContext = new AppContext() 
.system(“aster-system”) 
.user("") 
.password("") 
.build(); 
client.setAppContext(appContext);