public class ViPRCatalogClient2
extends java.lang.Object
Constructor and Description |
---|
ViPRCatalogClient2(ClientConfig config) |
ViPRCatalogClient2(java.lang.String host) |
Modifier and Type | Method and Description |
---|---|
Approvals2 |
approvals() |
AssetOptions |
assetOptions() |
AuthClient |
auth() |
CatalogSearchBuilder |
browse() |
CatalogSearchBuilder |
browse(java.net.URI tenantId) |
CatalogPreferences |
catalogPreferences() |
CatalogCategories |
categories() |
ExecutionWindows2 |
executionWindows() |
UserInfo |
getUserInfo() |
TenantResponse |
getUserTenant() |
java.net.URI |
getUserTenantId() |
CatalogImages |
images() |
Orders2 |
orders() |
ServiceDescriptors |
serviceDescriptors() |
CatalogServices |
services() |
void |
setAuthToken(java.lang.String authToken)
Sets the authentication token to be used for this client.
|
void |
setProxyToken(java.lang.String proxyToken)
Sets the proxy token to be used for this client.
|
UserPreferences |
userPreferences() |
ViPRCatalogClient2 |
withAuthToken(java.lang.String token)
Sets the authentication token and returns the updated client.
|
ViPRCatalogClient2 |
withLogin(java.lang.String username,
java.lang.String password)
Performs an authentication login and returns the updated client.
|
ViPRCatalogClient2 |
withProxyToken(java.lang.String token)
Sets the proxy token and returns the updated client.
|
public ViPRCatalogClient2(java.lang.String host)
public ViPRCatalogClient2(ClientConfig config)
public void setAuthToken(java.lang.String authToken)
authToken
- The authentication token to set.public void setProxyToken(java.lang.String proxyToken)
proxyToken
- The authentication token to set.public AuthClient auth()
public ViPRCatalogClient2 withLogin(java.lang.String username, java.lang.String password)
username
- The username.password
- The password.AuthClient.login(String, String)
public ViPRCatalogClient2 withAuthToken(java.lang.String token)
token
- The authentication token to set.setAuthToken(String)
public ViPRCatalogClient2 withProxyToken(java.lang.String token)
token
- The proxy token to set.setProxyToken(String)
public TenantResponse getUserTenant()
public java.net.URI getUserTenantId()
public UserInfo getUserInfo()
public Orders2 orders()
public CatalogCategories categories()
public CatalogServices services()
public Approvals2 approvals()
public ExecutionWindows2 executionWindows()
public AssetOptions assetOptions()
public ServiceDescriptors serviceDescriptors()
public CatalogImages images()
public CatalogPreferences catalogPreferences()
public UserPreferences userPreferences()
public CatalogSearchBuilder browse()
public CatalogSearchBuilder browse(java.net.URI tenantId)