public class VodClientConfiguration extends BceClientConfiguration
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_STREAM_BUFFER_SIZE |
DEFAULT_CONNECTION_TIMEOUT_IN_MILLIS, DEFAULT_MAX_CONNECTIONS, DEFAULT_PROTOCOL, DEFAULT_REGION, DEFAULT_SOCKET_TIMEOUT_IN_MILLIS, DEFAULT_USER_AGENT| Constructor and Description |
|---|
VodClientConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
int |
getStreamBufferSize() |
boolean |
isEnableHttpAsyncPut() |
boolean |
isHttpsEnabled() |
void |
setEnableHttpAsyncPut(boolean enableHttpAsyncPut) |
void |
setStreamBufferSize(int streamBufferSize) |
VodClientConfiguration |
withCredentials(DefaultBceCredentials credentials)
Set vod credentials.
|
VodClientConfiguration |
withEndpoint(String endpoint)
Set vod endpoint.
|
VodClientConfiguration |
withStreamBufferSize(int streamBufferSize) |
getConnectionTimeoutInMillis, getCredentials, getEndpoint, getIoThreadCount, getLocalAddress, getMaxConnections, getProtocol, getProxyDomain, getProxyHost, getProxyPassword, getProxyPort, getProxyUsername, getProxyWorkstation, getRegion, getRetryPolicy, getSocketBufferSizeInBytes, getSocketTimeoutInMillis, getUserAgent, isProxyPreemptiveAuthenticationEnabled, isRedirectsEnabled, setConnectionTimeoutInMillis, setCredentials, setEndpoint, setIoThreadCount, setLocalAddress, setMaxConnections, setProtocol, setProxyDomain, setProxyHost, setProxyPassword, setProxyPort, setProxyPreemptiveAuthenticationEnabled, setProxyUsername, setProxyWorkstation, setRedirectsEnabled, setRegion, setRetryPolicy, setSocketBufferSizeInBytes, setSocketTimeoutInMillis, setUserAgent, toString, withConnectionTimeoutInMillis, withCredentials, withIoThreadCount, withLocalAddress, withMaxConnections, withProtocol, withProxyDomain, withProxyHost, withProxyPassword, withProxyPort, withProxyPreemptiveAuthenticationEnabled, withProxyUsername, withProxyWorkstation, withRedirectsEnabled, withRegion, withRetryPolicy, withSocketBufferSizeInBytes, withSocketTimeoutInMillis, withUserAgentpublic static final int DEFAULT_STREAM_BUFFER_SIZE
public int getStreamBufferSize()
public void setStreamBufferSize(int streamBufferSize)
public boolean isEnableHttpAsyncPut()
public void setEnableHttpAsyncPut(boolean enableHttpAsyncPut)
public boolean isHttpsEnabled()
public VodClientConfiguration withCredentials(DefaultBceCredentials credentials)
credentials - The default credentialspublic VodClientConfiguration withEndpoint(String endpoint)
withEndpoint in class BceClientConfigurationendpoint - The service endpoint URL to which the client will connect.public VodClientConfiguration withStreamBufferSize(int streamBufferSize)
Copyright © 2025. All rights reserved.