public class BoxConfigBuilder extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
BoxConfigBuilder.BoxConfig |
| Constructor and Description |
|---|
BoxConfigBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
apiUrlAuthority(String authority)
Set a custom API URL Authority.
|
void |
apiUrlPath(String path)
Set a custom API URL path.
|
void |
apiUrlScheme(String scheme)
Set a custom API URL scheme.
|
IBoxConfig |
build() |
String |
getVersion() |
void |
setAuthUrlScheme(String oAuthUrlScheme) |
void |
setDownloadUrlAuthority(String authority)
Set a custom Download URL Authority.
|
void |
setDownloadUrlPath(String downloadUrlPath) |
void |
setDownloadUrlScheme(String scheme)
Set a custom Download URL scheme.
|
void |
setOAuthApiUrlPath(String oAuthApiUrlPath) |
void |
setOAuthUrlAuthority(String oAuthUrlAuthority) |
void |
setOAuthUrlPath(String oAuthUrlPath) |
void |
setUploadUrlAuthority(String authority)
Set a custom Upload URL Authority.
|
void |
setUploadUrlPath(String uploadUrlPath) |
void |
setUploadUrlScheme(String scheme)
Set a custom Upload URL scheme.
|
void |
setUserAgent(String agent)
Set the String to use as the User-Agent HTTP header.
|
protected void |
setVersion(String version) |
public IBoxConfig build()
public void apiUrlScheme(String scheme)
scheme - Custom schemepublic void apiUrlAuthority(String authority)
authority - Custom Authoritypublic void setDownloadUrlAuthority(String authority)
authority - Custom Authoritypublic void apiUrlPath(String path)
path - Custom pathpublic void setUploadUrlScheme(String scheme)
scheme - Custom schemepublic void setUploadUrlAuthority(String authority)
authority - Custom Authoritypublic void setDownloadUrlScheme(String scheme)
scheme - Custom schemepublic void setUserAgent(String agent)
agent - User-Agent Stringpublic void setAuthUrlScheme(String oAuthUrlScheme)
oAuthUrlScheme - the OAuthUrlScheme to setpublic void setOAuthUrlAuthority(String oAuthUrlAuthority)
oAuthUrlAuthority - the OAuthUrlAuthority to setpublic void setOAuthUrlPath(String oAuthUrlPath)
oAuthUrlPath - the OAuthUrlPath to setpublic void setOAuthApiUrlPath(String oAuthApiUrlPath)
oAuthApiUrlPath - the mOAuthApiUrlPath to setpublic void setUploadUrlPath(String uploadUrlPath)
uploadUrlPath - the mUploadUrlPath to setpublic void setDownloadUrlPath(String downloadUrlPath)
downloadUrlPath - the downloadUrlPath to setprotected void setVersion(String version)
public String getVersion()
Copyright © 2014. All Rights Reserved.