Package | Description |
---|---|
com.dnanexus |
Provides low- and high-level bindings to the DNAnexus Platform.
|
Modifier and Type | Method and Description |
---|---|
DXEnvironment.Builder |
DXEnvironment.Builder.disableRetry()
Disables automatic retry of HTTP requests.
|
static DXEnvironment.Builder |
DXEnvironment.Builder.fromDefaults()
Creates a Builder object using the JSON config in the file
~/.dnanexus_config/environment.json . |
static DXEnvironment.Builder |
DXEnvironment.Builder.fromEnvironment(DXEnvironment templateEnvironment)
Creates a Builder object with initial settings copied from the specified environment.
|
static DXEnvironment.Builder |
DXEnvironment.Builder.fromFile(File environmentJsonFile)
Creates a Builder object using the JSON config in the specified file.
|
DXEnvironment.Builder |
DXEnvironment.Builder.maxTotalConnections(int maxTotalConnections)
Sets maxTotalConnections for httpclient
|
DXEnvironment.Builder |
DXEnvironment.Builder.setApiserverHost(String apiserverHost)
Sets the API server hostname.
|
DXEnvironment.Builder |
DXEnvironment.Builder.setApiserverPort(int apiserverPort)
Sets the API server port.
|
DXEnvironment.Builder |
DXEnvironment.Builder.setApiserverProtocol(String apiserverProtocol)
Sets the API server protocol ("http" or "https").
|
DXEnvironment.Builder |
DXEnvironment.Builder.setBearerToken(String token)
Sets the token to use to authenticate to the Platform.
|
DXEnvironment.Builder |
DXEnvironment.Builder.setConnectionTimeout(int connectionTimeout)
Sets connection timeout of HTTP requests.
|
DXEnvironment.Builder |
DXEnvironment.Builder.setHttpProxy(String httpProxy)
Sets the HTTP proxy server
|
DXEnvironment.Builder |
DXEnvironment.Builder.setJob(DXJob job)
Sets the current job to the specified job.
|
DXEnvironment.Builder |
DXEnvironment.Builder.setMaxDefaultConnectionsPerRoute(int maxDefaultConnectionsPerRoute)
Sets maxDefaultConnectionsPerRoute for httpClient
|
DXEnvironment.Builder |
DXEnvironment.Builder.setProjectContext(DXProject projectContext)
Sets the project context to the specified project.
|
DXEnvironment.Builder |
DXEnvironment.Builder.setSecurityContext(com.fasterxml.jackson.databind.JsonNode json)
Deprecated.
Use
setBearerToken(String) instead. |
DXEnvironment.Builder |
DXEnvironment.Builder.setSocketTimeout(int socketTimeout)
Sets socket timeout of HTTP requests.
|
DXEnvironment.Builder |
DXEnvironment.Builder.setWorkspace(DXContainer workspace)
Sets the workspace to the specified container.
|
Copyright © 2023. All Rights Reserved.