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