id
int32
0
165k
repo
stringlengths
7
58
path
stringlengths
12
218
func_name
stringlengths
3
140
original_string
stringlengths
73
34.1k
language
stringclasses
1 value
code
stringlengths
73
34.1k
code_tokens
list
docstring
stringlengths
3
16k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
105
339
58,800
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/sms/SmsClient.java
SmsClient.statReceiver
public StatReceiverResponse statReceiver(StatReceiverRequest request) { checkNotNull(request, "object request should not be null."); assertStringNotNullOrEmpty(request.getPhoneNumber(), "object phoneNumber should not be null or empty."); InternalRequest internalRequest = this.cr...
java
public StatReceiverResponse statReceiver(StatReceiverRequest request) { checkNotNull(request, "object request should not be null."); assertStringNotNullOrEmpty(request.getPhoneNumber(), "object phoneNumber should not be null or empty."); InternalRequest internalRequest = this.cr...
[ "public", "StatReceiverResponse", "statReceiver", "(", "StatReceiverRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"object request should not be null.\"", ")", ";", "assertStringNotNullOrEmpty", "(", "request", ".", "getPhoneNumber", "(", ")", ",", ...
Get the statistics about receiving message @param request refer to <code>com.baidubce.services.sms.model.StatReceiverRequest</code> @return refer to <code>com.baidubce.services.sms.model.StatReceiverResponse</code> @see com.baidubce.services.sms.model.StatReceiverRequest @see com.baidubce.services.sms.model.StatReceiv...
[ "Get", "the", "statistics", "about", "receiving", "message" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/sms/SmsClient.java#L241-L248
58,801
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.createDomain
public CreateDomainResponse createDomain(CreateDomainRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.PUT, DOMAIN, request.getDomain()); this.attachRequestToBody(request, internalRequest...
java
public CreateDomainResponse createDomain(CreateDomainRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.PUT, DOMAIN, request.getDomain()); this.attachRequestToBody(request, internalRequest...
[ "public", "CreateDomainResponse", "createDomain", "(", "CreateDomainRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(", "request", ","...
Create a new domain acceleration. @param request The request containing user-defined domain information. @return Result of the createDomain operation returned by the service.
[ "Create", "a", "new", "domain", "acceleration", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L182-L187
58,802
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.enableDomain
public EnableDomainResponse enableDomain(EnableDomainRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.POST, DOMAIN, request.getDomain()); internalRequest.addParameter("enable", ""); ...
java
public EnableDomainResponse enableDomain(EnableDomainRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.POST, DOMAIN, request.getDomain()); internalRequest.addParameter("enable", ""); ...
[ "public", "EnableDomainResponse", "enableDomain", "(", "EnableDomainRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(", "request", ","...
Enable an existing domain acceleration. @param request The request containing user-defined domain information. @return Result of the enableDomain operation returned by the service.
[ "Enable", "an", "existing", "domain", "acceleration", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L204-L209
58,803
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.disableDomain
public DisableDomainResponse disableDomain(DisableDomainRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.POST, DOMAIN, request.getDomain()); internalRequest.addParameter("disable", ""); ...
java
public DisableDomainResponse disableDomain(DisableDomainRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.POST, DOMAIN, request.getDomain()); internalRequest.addParameter("disable", ""); ...
[ "public", "DisableDomainResponse", "disableDomain", "(", "DisableDomainRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(", "request", ...
Disable an existing domain acceleration. @param request The request containing user-defined domain information. @return Result of the disableDomain operation returned by the service.
[ "Disable", "an", "existing", "domain", "acceleration", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L226-L231
58,804
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.deleteDomain
public DeleteDomainResponse deleteDomain(DeleteDomainRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.DELETE, DOMAIN, request.getDomain()); return invokeHttpClient(internalRequest, Delet...
java
public DeleteDomainResponse deleteDomain(DeleteDomainRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.DELETE, DOMAIN, request.getDomain()); return invokeHttpClient(internalRequest, Delet...
[ "public", "DeleteDomainResponse", "deleteDomain", "(", "DeleteDomainRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(", "request", ","...
Delete an existing domain acceleration @param request The request containing user-defined domain information. @return Result of the deleteDomain operation returned by the service.
[ "Delete", "an", "existing", "domain", "acceleration" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L248-L252
58,805
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.listDomains
public ListDomainsResponse listDomains(ListDomainsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.GET, DOMAIN); return invokeHttpClient(internalRequest, ListDomainsResponse.class); ...
java
public ListDomainsResponse listDomains(ListDomainsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.GET, DOMAIN); return invokeHttpClient(internalRequest, ListDomainsResponse.class); ...
[ "public", "ListDomainsResponse", "listDomains", "(", "ListDomainsRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(", "request", ",", ...
Returns a list of all CDN domains that the authenticated sender of the request owns. @param request The request containing all of the options related to the listing of domains. @return All of the CDN domains owned by the authenticated sender of the request.
[ "Returns", "a", "list", "of", "all", "CDN", "domains", "that", "the", "authenticated", "sender", "of", "the", "request", "owns", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L269-L273
58,806
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.getDomainConfig
public GetDomainConfigResponse getDomainConfig(GetDomainConfigRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.GET, DOMAIN, request.getDomain(), "config"); return invokeHttpClient(intern...
java
public GetDomainConfigResponse getDomainConfig(GetDomainConfigRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.GET, DOMAIN, request.getDomain(), "config"); return invokeHttpClient(intern...
[ "public", "GetDomainConfigResponse", "getDomainConfig", "(", "GetDomainConfigRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(", "reques...
Get detailed information of a domain. @param request The request containing all of the options related to the domain. @return getDomainConfig of the getDomainConfig operation returned by the service.
[ "Get", "detailed", "information", "of", "a", "domain", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L291-L295
58,807
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.setDomainCacheTTL
public SetDomainCacheTTLResponse setDomainCacheTTL(SetDomainCacheTTLRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.PUT, DOMAIN, request.getDomain(), "config"); internalRequest.addParam...
java
public SetDomainCacheTTLResponse setDomainCacheTTL(SetDomainCacheTTLRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.PUT, DOMAIN, request.getDomain(), "config"); internalRequest.addParam...
[ "public", "SetDomainCacheTTLResponse", "setDomainCacheTTL", "(", "SetDomainCacheTTLRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(", "...
Update cache policies of specified domain acceleration. @param request The request containing all of the options related to the update request. @return Result of the setDomainCacheTTL operation returned by the service.
[ "Update", "cache", "policies", "of", "specified", "domain", "acceleration", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L356-L362
58,808
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.setDomainRefererACL
public SetDomainRefererACLResponse setDomainRefererACL(SetDomainRefererACLRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.PUT, DOMAIN, request.getDomain(), "config"); internalRequest.ad...
java
public SetDomainRefererACLResponse setDomainRefererACL(SetDomainRefererACLRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.PUT, DOMAIN, request.getDomain(), "config"); internalRequest.ad...
[ "public", "SetDomainRefererACLResponse", "setDomainRefererACL", "(", "SetDomainRefererACLRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(...
Update RefererACL rules of specified domain acceleration. @param request The request containing all of the options related to the update request. @return Result of the setDomainRefererACL operation returned by the service.
[ "Update", "RefererACL", "rules", "of", "specified", "domain", "acceleration", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L398-L404
58,809
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.setDomainIpACL
public SetDomainIpACLResponse setDomainIpACL(SetDomainIpACLRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.PUT, DOMAIN, request.getDomain(), "config"); internalRequest.addParameter("ipA...
java
public SetDomainIpACLResponse setDomainIpACL(SetDomainIpACLRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(request, HttpMethodName.PUT, DOMAIN, request.getDomain(), "config"); internalRequest.addParameter("ipA...
[ "public", "SetDomainIpACLResponse", "setDomainIpACL", "(", "SetDomainIpACLRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(", "request",...
Update IpACL rules of specified domain acceleration. @param request The request containing all of the options related to the update request. @return Result of the setDomainIpACL operation returned by the service.
[ "Update", "IpACL", "rules", "of", "specified", "domain", "acceleration", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L412-L418
58,810
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.getPurgeStatus
public GetPurgeStatusResponse getPurgeStatus(GetPurgeStatusRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, CACHE, "purge"); if (request.getId() != null) { internalRequest.addParameter("id", request.getId()); } if (request....
java
public GetPurgeStatusResponse getPurgeStatus(GetPurgeStatusRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, CACHE, "purge"); if (request.getId() != null) { internalRequest.addParameter("id", request.getId()); } if (request....
[ "public", "GetPurgeStatusResponse", "getPurgeStatus", "(", "GetPurgeStatusRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "CACHE", ",", "\"purge\"", ")", ...
Get purge status with specified attributes. @param request The request containing the task id returned by purge operation. @return Details of tasks
[ "Get", "purge", "status", "with", "specified", "attributes", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L562-L585
58,811
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.getPrefetchStatus
public GetPrefetchStatusResponse getPrefetchStatus(GetPrefetchStatusRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, CACHE, "prefetch"); if (request.getId() != null) { internalRequest.addParameter("id", request.getId()); } ...
java
public GetPrefetchStatusResponse getPrefetchStatus(GetPrefetchStatusRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, CACHE, "prefetch"); if (request.getId() != null) { internalRequest.addParameter("id", request.getId()); } ...
[ "public", "GetPrefetchStatusResponse", "getPrefetchStatus", "(", "GetPrefetchStatusRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "CACHE", ",", "\"prefetch\"...
Get prefetch status with specified attributes. @param request The request containing the task id returned by prefetch operation. @return Details of tasks
[ "Get", "prefetch", "status", "with", "specified", "attributes", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L593-L616
58,812
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.getStatPv
public GetStatPvResponse getStatPv(GetStatPvRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "pv"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlternateIso8601Date(request....
java
public GetStatPvResponse getStatPv(GetStatPvRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "pv"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlternateIso8601Date(request....
[ "public", "GetStatPvResponse", "getStatPv", "(", "GetStatPvRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "STAT", ",", "\"pv\"", ")", ";", "if", "(",...
Get pv statistics with specified attributes. @param request The request containing all the options related to the statistics. @return Details of statistics
[ "Get", "pv", "statistics", "with", "specified", "attributes", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L624-L647
58,813
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.getStatFlow
public GetStatFlowResponse getStatFlow(GetStatFlowRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "flow"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlternateIso8601Date(...
java
public GetStatFlowResponse getStatFlow(GetStatFlowRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "flow"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlternateIso8601Date(...
[ "public", "GetStatFlowResponse", "getStatFlow", "(", "GetStatFlowRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "STAT", ",", "\"flow\"", ")", ";", "if"...
Get flow statistics with specified attributes. @param request The request containing all the options related to the statistics. @return Details of statistics
[ "Get", "flow", "statistics", "with", "specified", "attributes", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L655-L678
58,814
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.getStatSrcFlow
public GetStatSrcFlowResponse getStatSrcFlow(GetStatSrcFlowRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "srcflow"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlternate...
java
public GetStatSrcFlowResponse getStatSrcFlow(GetStatSrcFlowRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "srcflow"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlternate...
[ "public", "GetStatSrcFlowResponse", "getStatSrcFlow", "(", "GetStatSrcFlowRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "STAT", ",", "\"srcflow\"", ")", ...
Get origin flow statistics with specified attributes. @param request The request containing all the options related to the statistics. @return Details of statistics
[ "Get", "origin", "flow", "statistics", "with", "specified", "attributes", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L686-L706
58,815
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.getStatHitRate
public GetStatHitRateResponse getStatHitRate(GetStatHitRateRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "hitrate"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlternate...
java
public GetStatHitRateResponse getStatHitRate(GetStatHitRateRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "hitrate"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlternate...
[ "public", "GetStatHitRateResponse", "getStatHitRate", "(", "GetStatHitRateRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "STAT", ",", "\"hitrate\"", ")", ...
Get hit rate statistics with specified attributes. @param request The request containing all the options related to the statistics. @return Details of statistics
[ "Get", "hit", "rate", "statistics", "with", "specified", "attributes", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L713-L733
58,816
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.getStatHttpCode
public GetStatHttpCodeResponse getStatHttpCode(GetStatHttpCodeRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "httpcode"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlter...
java
public GetStatHttpCodeResponse getStatHttpCode(GetStatHttpCodeRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "httpcode"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlter...
[ "public", "GetStatHttpCodeResponse", "getStatHttpCode", "(", "GetStatHttpCodeRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "STAT", ",", "\"httpcode\"", ")...
Get http code statistics with specified attributes. @param request The request containing all the options related to the statistics. @return Details of statistics
[ "Get", "http", "code", "statistics", "with", "specified", "attributes", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L741-L765
58,817
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.getStatTopUrl
public GetStatTopUrlResponse getStatTopUrl(GetStatTopUrlRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "topn", "url"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlternat...
java
public GetStatTopUrlResponse getStatTopUrl(GetStatTopUrlRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "topn", "url"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlternat...
[ "public", "GetStatTopUrlResponse", "getStatTopUrl", "(", "GetStatTopUrlRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "STAT", ",", "\"topn\"", ",", "\"ur...
Get top url statistics with specified attributes. @param request The request containing all the options related to the statistics. @return Details of statistics
[ "Get", "top", "url", "statistics", "with", "specified", "attributes", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L773-L793
58,818
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.getStatTopReferer
public GetStatTopRefererResponse getStatTopReferer(GetStatTopRefererRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "topn", "referer"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtil...
java
public GetStatTopRefererResponse getStatTopReferer(GetStatTopRefererRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "topn", "referer"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtil...
[ "public", "GetStatTopRefererResponse", "getStatTopReferer", "(", "GetStatTopRefererRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "STAT", ",", "\"topn\"", ...
Get top http referer statistics with specified attributes. @param request The request containing all the options related to the statistics. @return Details of statistics
[ "Get", "top", "http", "referer", "statistics", "with", "specified", "attributes", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L801-L821
58,819
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.getStatUv
public GetStatUvResponse getStatUv(GetStatUvRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "uv"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlternateIso8601Date(request....
java
public GetStatUvResponse getStatUv(GetStatUvRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "uv"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlternateIso8601Date(request....
[ "public", "GetStatUvResponse", "getStatUv", "(", "GetStatUvRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "STAT", ",", "\"uv\"", ")", ";", "if", "(",...
Get uv statistics with specified attributes. @param request The request containing all the options related to the statistics. @return Details of statistics
[ "Get", "uv", "statistics", "with", "specified", "attributes", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L829-L849
58,820
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.getStatAvgSpeed
public GetStatAvgSpeedResponse getStatAvgSpeed(GetStatAvgSpeedRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "avgspeed"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlter...
java
public GetStatAvgSpeedResponse getStatAvgSpeed(GetStatAvgSpeedRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, STAT, "avgspeed"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlter...
[ "public", "GetStatAvgSpeedResponse", "getStatAvgSpeed", "(", "GetStatAvgSpeedRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "STAT", ",", "\"avgspeed\"", ")...
Get average speed statistics with specified attributes. @param request The request containing all the options related to the statistics. @return Details of statistics
[ "Get", "average", "speed", "statistics", "with", "specified", "attributes", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L857-L877
58,821
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.getCacheQuota
public GetCacheQuotaResponse getCacheQuota(GetCacheQuotaRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, CACHE, "quota"); return this.invokeHttpClient(internalRequest, GetCacheQuotaResponse.class); }
java
public GetCacheQuotaResponse getCacheQuota(GetCacheQuotaRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, CACHE, "quota"); return this.invokeHttpClient(internalRequest, GetCacheQuotaResponse.class); }
[ "public", "GetCacheQuotaResponse", "getCacheQuota", "(", "GetCacheQuotaRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "CACHE", ",", "\"quota\"", ")", ";"...
Get cache operation quota. @param request The request containing all the options related to the statistics. @return Details of statistics
[ "Get", "cache", "operation", "quota", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L897-L900
58,822
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/cdn/CdnClient.java
CdnClient.getDomainLog
public GetDomainLogResponse getDomainLog(GetDomainLogRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, LOG, request.getDomain(), "log"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlternat...
java
public GetDomainLogResponse getDomainLog(GetDomainLogRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, LOG, request.getDomain(), "log"); if (request.getStartTime() != null) { internalRequest.addParameter("startTime", DateUtils.formatAlternat...
[ "public", "GetDomainLogResponse", "getDomainLog", "(", "GetDomainLogRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "LOG", ",", "request", ".", "getDomain...
Get URLs of log files @param request The request containing all the options related to the statistics. @return Details of statistics
[ "Get", "URLs", "of", "log", "files" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/cdn/CdnClient.java#L908-L917
58,823
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/eip/EipClient.java
EipClient.createEip
public CreateEipResponse createEip(CreateEipRequest request) { checkNotNull(request.getBandwidthInMbps(), "bandwidthInMbps should not be null"); if (Strings.isNullOrEmpty(request.getClientToken())) { request.setClientToken(generateDefaultClientToken()); } if (null == request....
java
public CreateEipResponse createEip(CreateEipRequest request) { checkNotNull(request.getBandwidthInMbps(), "bandwidthInMbps should not be null"); if (Strings.isNullOrEmpty(request.getClientToken())) { request.setClientToken(generateDefaultClientToken()); } if (null == request....
[ "public", "CreateEipResponse", "createEip", "(", "CreateEipRequest", "request", ")", "{", "checkNotNull", "(", "request", ".", "getBandwidthInMbps", "(", ")", ",", "\"bandwidthInMbps should not be null\"", ")", ";", "if", "(", "Strings", ".", "isNullOrEmpty", "(", "...
Create an eip with the specified options. This is an asynchronous interface @param request The request containing all options for creating an eip. @return created eip address
[ "Create", "an", "eip", "with", "the", "specified", "options", ".", "This", "is", "an", "asynchronous", "interface" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/eip/EipClient.java#L102-L116
58,824
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/eip/EipClient.java
EipClient.resizeEip
public void resizeEip(ResizeEipRequest request) { checkNotNull(request.getNewBandwidthInMbps(), "newBandwidthInMbps should not be null"); checkStringNotEmpty(request.getEip(), "eip should not be empty"); if (Strings.isNullOrEmpty(request.getClientToken())) { request.setClientToken(ge...
java
public void resizeEip(ResizeEipRequest request) { checkNotNull(request.getNewBandwidthInMbps(), "newBandwidthInMbps should not be null"); checkStringNotEmpty(request.getEip(), "eip should not be empty"); if (Strings.isNullOrEmpty(request.getClientToken())) { request.setClientToken(ge...
[ "public", "void", "resizeEip", "(", "ResizeEipRequest", "request", ")", "{", "checkNotNull", "(", "request", ".", "getNewBandwidthInMbps", "(", ")", ",", "\"newBandwidthInMbps should not be null\"", ")", ";", "checkStringNotEmpty", "(", "request", ".", "getEip", "(", ...
Resizing eip The Prepaid eip can not be downgrade. This is an asynchronous interface. @param request eip & newBandwidthInMbps must be provided
[ "Resizing", "eip", "The", "Prepaid", "eip", "can", "not", "be", "downgrade", ".", "This", "is", "an", "asynchronous", "interface", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/eip/EipClient.java#L135-L146
58,825
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/eip/EipClient.java
EipClient.purchaseReservedEipInMonth
public void purchaseReservedEipInMonth(String eip, int reservationLength) { Billing billing = new Billing(); billing.setReservation(new Billing.Reservation().withReservationLength(reservationLength)); this.purchaseReservedEip(new PurchaseReservedEipRequest().withEip(eip).withBilling(billing)); ...
java
public void purchaseReservedEipInMonth(String eip, int reservationLength) { Billing billing = new Billing(); billing.setReservation(new Billing.Reservation().withReservationLength(reservationLength)); this.purchaseReservedEip(new PurchaseReservedEipRequest().withEip(eip).withBilling(billing)); ...
[ "public", "void", "purchaseReservedEipInMonth", "(", "String", "eip", ",", "int", "reservationLength", ")", "{", "Billing", "billing", "=", "new", "Billing", "(", ")", ";", "billing", ".", "setReservation", "(", "new", "Billing", ".", "Reservation", "(", ")", ...
PurchaseReserved eip with specified duration in month @param eip @param reservationLength
[ "PurchaseReserved", "eip", "with", "specified", "duration", "in", "month" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/eip/EipClient.java#L153-L157
58,826
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/eip/EipClient.java
EipClient.purchaseReservedEip
public void purchaseReservedEip(PurchaseReservedEipRequest request) { checkStringNotEmpty(request.getEip(), "eip should not be empty"); if (Strings.isNullOrEmpty(request.getClientToken())) { request.setClientToken(generateDefaultClientToken()); } if (null == request.getBillin...
java
public void purchaseReservedEip(PurchaseReservedEipRequest request) { checkStringNotEmpty(request.getEip(), "eip should not be empty"); if (Strings.isNullOrEmpty(request.getClientToken())) { request.setClientToken(generateDefaultClientToken()); } if (null == request.getBillin...
[ "public", "void", "purchaseReservedEip", "(", "PurchaseReservedEipRequest", "request", ")", "{", "checkStringNotEmpty", "(", "request", ".", "getEip", "(", ")", ",", "\"eip should not be empty\"", ")", ";", "if", "(", "Strings", ".", "isNullOrEmpty", "(", "request",...
PurchaseReserved eip with fixed duration only Prepaid eip can do this This is an asynchronous interface @param request The request containing all options for renewing eip with fixed duration.
[ "PurchaseReserved", "eip", "with", "fixed", "duration", "only", "Prepaid", "eip", "can", "do", "this" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/eip/EipClient.java#L181-L194
58,827
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/eip/EipClient.java
EipClient.unbindEip
public void unbindEip(UnbindEipRequest request) { checkStringNotEmpty(request.getEip(), "eip should not be empty"); if (Strings.isNullOrEmpty(request.getClientToken())) { request.setClientToken(generateDefaultClientToken()); } InternalRequest internalRequest = this.createRequ...
java
public void unbindEip(UnbindEipRequest request) { checkStringNotEmpty(request.getEip(), "eip should not be empty"); if (Strings.isNullOrEmpty(request.getClientToken())) { request.setClientToken(generateDefaultClientToken()); } InternalRequest internalRequest = this.createRequ...
[ "public", "void", "unbindEip", "(", "UnbindEipRequest", "request", ")", "{", "checkStringNotEmpty", "(", "request", ".", "getEip", "(", ")", ",", "\"eip should not be empty\"", ")", ";", "if", "(", "Strings", ".", "isNullOrEmpty", "(", "request", ".", "getClient...
unbind the eip from a specified instance @param request The request containing all options for unbinding eip
[ "unbind", "the", "eip", "from", "a", "specified", "instance" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/eip/EipClient.java#L235-L246
58,828
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/eip/EipClient.java
EipClient.listEips
public ListEipsResponse listEips(ListEipsRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, null); if (!Strings.isNullOrEmpty(request.getMarker())) { internalRequest.addParameter("marker", request.getMarker()); } if (request.g...
java
public ListEipsResponse listEips(ListEipsRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, null); if (!Strings.isNullOrEmpty(request.getMarker())) { internalRequest.addParameter("marker", request.getMarker()); } if (request.g...
[ "public", "ListEipsResponse", "listEips", "(", "ListEipsRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "null", ")", ";", "if", "(", "!", "Strings", ...
get a list of eips owned by the authenticated user and specified conditions we can Also get a single eip function through this interface by eip condition if query by the instanceId or instanceType condition, must provides both of them at the same time @param request The request containing all options for query @retu...
[ "get", "a", "list", "of", "eips", "owned", "by", "the", "authenticated", "user", "and", "specified", "conditions" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/eip/EipClient.java#L290-L311
58,829
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/eip/EipClient.java
EipClient.generateDefaultBilling
private Billing generateDefaultBilling() { Billing billing = new Billing(); billing.setPaymentTiming("Postpaid"); billing.setBillingMethod("ByBandwidth"); return billing; }
java
private Billing generateDefaultBilling() { Billing billing = new Billing(); billing.setPaymentTiming("Postpaid"); billing.setBillingMethod("ByBandwidth"); return billing; }
[ "private", "Billing", "generateDefaultBilling", "(", ")", "{", "Billing", "billing", "=", "new", "Billing", "(", ")", ";", "billing", ".", "setPaymentTiming", "(", "\"Postpaid\"", ")", ";", "billing", ".", "setBillingMethod", "(", "\"ByBandwidth\"", ")", ";", ...
The method to generate a default Billing which is Postpaid. @return The Billing object with Postpaid PaymentTiming.
[ "The", "method", "to", "generate", "a", "default", "Billing", "which", "is", "Postpaid", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/eip/EipClient.java#L381-L386
58,830
baidubce/bce-sdk-java
src/main/java/com/baidubce/http/BceHttpClient.java
BceHttpClient.getDelayBeforeNextRetryInMillis
protected long getDelayBeforeNextRetryInMillis(HttpRequestBase method, BceClientException exception, int attempt, RetryPolicy retryPolicy) { int retries = attempt - 1; int maxErrorRetry = retryPolicy.getMaxErrorRetry(); // Immediately fails when it has exceeds the max retry count. ...
java
protected long getDelayBeforeNextRetryInMillis(HttpRequestBase method, BceClientException exception, int attempt, RetryPolicy retryPolicy) { int retries = attempt - 1; int maxErrorRetry = retryPolicy.getMaxErrorRetry(); // Immediately fails when it has exceeds the max retry count. ...
[ "protected", "long", "getDelayBeforeNextRetryInMillis", "(", "HttpRequestBase", "method", ",", "BceClientException", "exception", ",", "int", "attempt", ",", "RetryPolicy", "retryPolicy", ")", "{", "int", "retries", "=", "attempt", "-", "1", ";", "int", "maxErrorRet...
Get delay time before next retry. @param method The current HTTP method being executed. @param exception The client/service exception from the failed request. @param attempt The number of times the current request has been attempted. @param retryPolicy The retryPolicy being used. @return The deley time before next ret...
[ "Get", "delay", "time", "before", "next", "retry", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/http/BceHttpClient.java#L313-L335
58,831
baidubce/bce-sdk-java
src/main/java/com/baidubce/http/BceHttpClient.java
BceHttpClient.createHttpClientConnectionManager
private HttpClientConnectionManager createHttpClientConnectionManager() { ConnectionSocketFactory socketFactory = PlainConnectionSocketFactory.getSocketFactory(); LayeredConnectionSocketFactory sslSocketFactory; try { sslSocketFactory = new SSLConnectionSocketFactory(SSLContext.getDe...
java
private HttpClientConnectionManager createHttpClientConnectionManager() { ConnectionSocketFactory socketFactory = PlainConnectionSocketFactory.getSocketFactory(); LayeredConnectionSocketFactory sslSocketFactory; try { sslSocketFactory = new SSLConnectionSocketFactory(SSLContext.getDe...
[ "private", "HttpClientConnectionManager", "createHttpClientConnectionManager", "(", ")", "{", "ConnectionSocketFactory", "socketFactory", "=", "PlainConnectionSocketFactory", ".", "getSocketFactory", "(", ")", ";", "LayeredConnectionSocketFactory", "sslSocketFactory", ";", "try",...
Create connection manager for http client. @return The connection manager for http client.
[ "Create", "connection", "manager", "for", "http", "client", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/http/BceHttpClient.java#L342-L361
58,832
baidubce/bce-sdk-java
src/main/java/com/baidubce/http/BceHttpClient.java
BceHttpClient.createNHttpClientConnectionManager
protected NHttpClientConnectionManager createNHttpClientConnectionManager() throws IOReactorException { ConnectingIOReactor ioReactor = new DefaultConnectingIOReactor(IOReactorConfig.custom() .setSoTimeout(this.config.getSocketTimeoutInMillis()).setTcpNoDelay(true).build(...
java
protected NHttpClientConnectionManager createNHttpClientConnectionManager() throws IOReactorException { ConnectingIOReactor ioReactor = new DefaultConnectingIOReactor(IOReactorConfig.custom() .setSoTimeout(this.config.getSocketTimeoutInMillis()).setTcpNoDelay(true).build(...
[ "protected", "NHttpClientConnectionManager", "createNHttpClientConnectionManager", "(", ")", "throws", "IOReactorException", "{", "ConnectingIOReactor", "ioReactor", "=", "new", "DefaultConnectingIOReactor", "(", "IOReactorConfig", ".", "custom", "(", ")", ".", "setSoTimeout"...
Create connection manager for asynchronous http client. @return Connection manager for asynchronous http client. @throws IOReactorException in case if a non-recoverable I/O error.
[ "Create", "connection", "manager", "for", "asynchronous", "http", "client", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/http/BceHttpClient.java#L369-L377
58,833
baidubce/bce-sdk-java
src/main/java/com/baidubce/http/BceHttpClient.java
BceHttpClient.createHttpClient
private CloseableHttpClient createHttpClient(HttpClientConnectionManager connectionManager) { HttpClientBuilder builder = HttpClients.custom().setConnectionManager(connectionManager).disableAutomaticRetries(); int socketBufferSizeInBytes = this.config.getSocketBufferSizeInBytes(); ...
java
private CloseableHttpClient createHttpClient(HttpClientConnectionManager connectionManager) { HttpClientBuilder builder = HttpClients.custom().setConnectionManager(connectionManager).disableAutomaticRetries(); int socketBufferSizeInBytes = this.config.getSocketBufferSizeInBytes(); ...
[ "private", "CloseableHttpClient", "createHttpClient", "(", "HttpClientConnectionManager", "connectionManager", ")", "{", "HttpClientBuilder", "builder", "=", "HttpClients", ".", "custom", "(", ")", ".", "setConnectionManager", "(", "connectionManager", ")", ".", "disableA...
Create http client based on connection manager. @param connectionManager The connection manager setting http client. @return Http client based on connection manager.
[ "Create", "http", "client", "based", "on", "connection", "manager", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/http/BceHttpClient.java#L385-L396
58,834
baidubce/bce-sdk-java
src/main/java/com/baidubce/http/BceHttpClient.java
BceHttpClient.createHttpAsyncClient
protected CloseableHttpAsyncClient createHttpAsyncClient(NHttpClientConnectionManager connectionManager) { HttpAsyncClientBuilder builder = HttpAsyncClients.custom().setConnectionManager(connectionManager); int socketBufferSizeInBytes = this.config.getSocketBufferSizeInBytes(); if (socketBuffer...
java
protected CloseableHttpAsyncClient createHttpAsyncClient(NHttpClientConnectionManager connectionManager) { HttpAsyncClientBuilder builder = HttpAsyncClients.custom().setConnectionManager(connectionManager); int socketBufferSizeInBytes = this.config.getSocketBufferSizeInBytes(); if (socketBuffer...
[ "protected", "CloseableHttpAsyncClient", "createHttpAsyncClient", "(", "NHttpClientConnectionManager", "connectionManager", ")", "{", "HttpAsyncClientBuilder", "builder", "=", "HttpAsyncClients", ".", "custom", "(", ")", ".", "setConnectionManager", "(", "connectionManager", ...
Create asynchronous http client based on connection manager. @param connectionManager Asynchronous http client connection manager. @return Asynchronous http client based on connection manager.
[ "Create", "asynchronous", "http", "client", "based", "on", "connection", "manager", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/http/BceHttpClient.java#L404-L413
58,835
baidubce/bce-sdk-java
src/main/java/com/baidubce/http/BceHttpClient.java
BceHttpClient.createHttpRequest
protected HttpRequestBase createHttpRequest(InternalRequest request) { String uri = request.getUri().toASCIIString(); String encodedParams = HttpUtils.getCanonicalQueryString(request.getParameters(), false); if (encodedParams.length() > 0) { uri += "?" + encodedParams; } ...
java
protected HttpRequestBase createHttpRequest(InternalRequest request) { String uri = request.getUri().toASCIIString(); String encodedParams = HttpUtils.getCanonicalQueryString(request.getParameters(), false); if (encodedParams.length() > 0) { uri += "?" + encodedParams; } ...
[ "protected", "HttpRequestBase", "createHttpRequest", "(", "InternalRequest", "request", ")", "{", "String", "uri", "=", "request", ".", "getUri", "(", ")", ".", "toASCIIString", "(", ")", ";", "String", "encodedParams", "=", "HttpUtils", ".", "getCanonicalQueryStr...
Creates HttpClient method object based on the specified request and populates any parameters, headers, etc. from the internal request. @param request The request to convert to an HttpClient method object. @return The converted HttpClient method object with any parameters, headers, etc. from the original request set.
[ "Creates", "HttpClient", "method", "object", "based", "on", "the", "specified", "request", "and", "populates", "any", "parameters", "headers", "etc", ".", "from", "the", "internal", "request", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/http/BceHttpClient.java#L422-L476
58,836
baidubce/bce-sdk-java
src/main/java/com/baidubce/http/BceHttpClient.java
BceHttpClient.createHttpContext
protected HttpClientContext createHttpContext(InternalRequest request) { HttpClientContext context = HttpClientContext.create(); context.setRequestConfig(this.requestConfigBuilder.setExpectContinueEnabled(request.isExpectContinueEnabled()) .build()); if (this.credentialsProvider ...
java
protected HttpClientContext createHttpContext(InternalRequest request) { HttpClientContext context = HttpClientContext.create(); context.setRequestConfig(this.requestConfigBuilder.setExpectContinueEnabled(request.isExpectContinueEnabled()) .build()); if (this.credentialsProvider ...
[ "protected", "HttpClientContext", "createHttpContext", "(", "InternalRequest", "request", ")", "{", "HttpClientContext", "context", "=", "HttpClientContext", ".", "create", "(", ")", ";", "context", ".", "setRequestConfig", "(", "this", ".", "requestConfigBuilder", "....
Creates HttpClient Context object based on the internal request. @param request The internal request. @return HttpClient Context object.
[ "Creates", "HttpClient", "Context", "object", "based", "on", "the", "internal", "request", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/http/BceHttpClient.java#L484-L497
58,837
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.getBosAccountOwner
public User getBosAccountOwner(GetBosAccountOwnerRequest request) { checkNotNull(request, "request should not be null."); return this.invokeHttpClient(this.createRequest(request, HttpMethodName.GET), ListBucketsResponse.class) .getOwner(); }
java
public User getBosAccountOwner(GetBosAccountOwnerRequest request) { checkNotNull(request, "request should not be null."); return this.invokeHttpClient(this.createRequest(request, HttpMethodName.GET), ListBucketsResponse.class) .getOwner(); }
[ "public", "User", "getBosAccountOwner", "(", "GetBosAccountOwnerRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"request should not be null.\"", ")", ";", "return", "this", ".", "invokeHttpClient", "(", "this", ".", "createRequest", "(", "request...
Gets the current owner of the Bos account that the authenticated sender of the request is using. <p> The caller <i>must</i> authenticate with a valid BCE Access Key ID that is registered with Bos. @param request This request containing the credentials for getting the account of the authenticated sender. @return The a...
[ "Gets", "the", "current", "owner", "of", "the", "Bos", "account", "that", "the", "authenticated", "sender", "of", "the", "request", "is", "using", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L122-L127
58,838
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.listBuckets
public ListBucketsResponse listBuckets(ListBucketsRequest request) { checkNotNull(request, "request should not be null."); return this.invokeHttpClient(this.createRequest(request, HttpMethodName.GET), ListBucketsResponse.class); }
java
public ListBucketsResponse listBuckets(ListBucketsRequest request) { checkNotNull(request, "request should not be null."); return this.invokeHttpClient(this.createRequest(request, HttpMethodName.GET), ListBucketsResponse.class); }
[ "public", "ListBucketsResponse", "listBuckets", "(", "ListBucketsRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"request should not be null.\"", ")", ";", "return", "this", ".", "invokeHttpClient", "(", "this", ".", "createRequest", "(", "reques...
Returns a list of all Bos buckets that the authenticated sender of the request owns. <p> Users must authenticate with a valid BCE Access Key ID that is registered with Bos. Anonymous requests cannot list buckets, and users cannot list buckets that they did not create. @param request The request containing all of the ...
[ "Returns", "a", "list", "of", "all", "Bos", "buckets", "that", "the", "authenticated", "sender", "of", "the", "request", "owns", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L154-L158
58,839
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.createBucket
public CreateBucketResponse createBucket(CreateBucketRequest request) { checkNotNull(request, "request should not be null."); InternalRequest internalRequest = this.createRequest(request, HttpMethodName.PUT); this.setZeroContentLength(internalRequest); BosResponse response = this.invoke...
java
public CreateBucketResponse createBucket(CreateBucketRequest request) { checkNotNull(request, "request should not be null."); InternalRequest internalRequest = this.createRequest(request, HttpMethodName.PUT); this.setZeroContentLength(internalRequest); BosResponse response = this.invoke...
[ "public", "CreateBucketResponse", "createBucket", "(", "CreateBucketRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"request should not be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ...
Creates a new Bos bucket with the specified name. @param request The request object containing all options for creating a Bos bucket. @return The newly created bucket.
[ "Creates", "a", "new", "Bos", "bucket", "with", "the", "specified", "name", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L177-L187
58,840
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.doesBucketExist
public boolean doesBucketExist(DoesBucketExistRequest request) { checkNotNull(request, "request should not be null."); try { this.invokeHttpClient(this.createRequest(request, HttpMethodName.HEAD), BosResponse.class); return true; } catch (BceServiceException e) { ...
java
public boolean doesBucketExist(DoesBucketExistRequest request) { checkNotNull(request, "request should not be null."); try { this.invokeHttpClient(this.createRequest(request, HttpMethodName.HEAD), BosResponse.class); return true; } catch (BceServiceException e) { ...
[ "public", "boolean", "doesBucketExist", "(", "DoesBucketExistRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"request should not be null.\"", ")", ";", "try", "{", "this", ".", "invokeHttpClient", "(", "this", ".", "createRequest", "(", "reques...
Checks if the specified bucket exists. Bos buckets are named in a global namespace; use this method to determine if a specified bucket name already exists, and therefore can't be used to create a new bucket. <p> If invalid security credentials are used to execute this method, the client is not able to distinguish betw...
[ "Checks", "if", "the", "specified", "bucket", "exists", ".", "Bos", "buckets", "are", "named", "in", "a", "global", "namespace", ";", "use", "this", "method", "to", "determine", "if", "a", "specified", "bucket", "name", "already", "exists", "and", "therefore...
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L223-L238
58,841
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.getBucketAcl
public GetBucketAclResponse getBucketAcl(GetBucketAclRequest request) { checkNotNull(request, "request should not be null."); InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET); internalRequest.addParameter("acl", null); GetBucketAclResponse response = th...
java
public GetBucketAclResponse getBucketAcl(GetBucketAclRequest request) { checkNotNull(request, "request should not be null."); InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET); internalRequest.addParameter("acl", null); GetBucketAclResponse response = th...
[ "public", "GetBucketAclResponse", "getBucketAcl", "(", "GetBucketAclRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"request should not be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ...
Gets the ACL for the specified Bos bucket. <p> Each bucket and object in Bos has an ACL that defines its access control policy. When a request is made, Bos authenticates the request using its standard authentication procedure and then checks the ACL to verify the sender was granted access to the bucket or object. If t...
[ "Gets", "the", "ACL", "for", "the", "specified", "Bos", "bucket", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L272-L283
58,842
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.getBucketLocation
public GetBucketLocationResponse getBucketLocation(GetBucketLocationRequest request) { checkNotNull(request, "request should not be null."); InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET); internalRequest.addParameter("location", null); GetBucketLocat...
java
public GetBucketLocationResponse getBucketLocation(GetBucketLocationRequest request) { checkNotNull(request, "request should not be null."); InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET); internalRequest.addParameter("location", null); GetBucketLocat...
[ "public", "GetBucketLocationResponse", "getBucketLocation", "(", "GetBucketLocationRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"request should not be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", ...
Gets the Location for the specified Bos bucket. <p> Each bucket and object in Bos has an Location that defines its location @param request The request containing the name of the bucket whose Location is being retrieved. @return The <code>GetBuckeetLocationResponse</code> for the specified Bos bucket.
[ "Gets", "the", "Location", "for", "the", "specified", "Bos", "bucket", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L307-L316
58,843
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.setBucketAcl
public void setBucketAcl(SetBucketAclRequest request) { checkNotNull(request, "request should not be null."); InternalRequest internalRequest = this.createRequest(request, HttpMethodName.PUT); internalRequest.addParameter("acl", null); if (request.getCannedAcl() != null) { ...
java
public void setBucketAcl(SetBucketAclRequest request) { checkNotNull(request, "request should not be null."); InternalRequest internalRequest = this.createRequest(request, HttpMethodName.PUT); internalRequest.addParameter("acl", null); if (request.getCannedAcl() != null) { ...
[ "public", "void", "setBucketAcl", "(", "SetBucketAclRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"request should not be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMeth...
Sets the Acl for the specified Bos bucket. @param request The request object containing the bucket to modify and the ACL to set.
[ "Sets", "the", "Acl", "for", "the", "specified", "Bos", "bucket", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L356-L419
58,844
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.deleteBucket
public void deleteBucket(DeleteBucketRequest request) { checkNotNull(request, "request should not be null."); this.invokeHttpClient(this.createRequest(request, HttpMethodName.DELETE), BosResponse.class); }
java
public void deleteBucket(DeleteBucketRequest request) { checkNotNull(request, "request should not be null."); this.invokeHttpClient(this.createRequest(request, HttpMethodName.DELETE), BosResponse.class); }
[ "public", "void", "deleteBucket", "(", "DeleteBucketRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"request should not be null.\"", ")", ";", "this", ".", "invokeHttpClient", "(", "this", ".", "createRequest", "(", "request", ",", "HttpMethodN...
Deletes the specified bucket. All objects in the bucket must be deleted before the bucket itself can be deleted. <p> Only the owner of a bucket can delete it, regardless of the bucket's access control policy. @param request The request object containing all options for deleting a Bos bucket.
[ "Deletes", "the", "specified", "bucket", ".", "All", "objects", "in", "the", "bucket", "must", "be", "deleted", "before", "the", "bucket", "itself", "can", "be", "deleted", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L443-L447
58,845
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.listNextBatchOfObjects
public ListObjectsResponse listNextBatchOfObjects(ListObjectsResponse previousResponse) { checkNotNull(previousResponse, "previousResponse should not be null."); if (!previousResponse.isTruncated()) { ListObjectsResponse emptyResponse = new ListObjectsResponse(); emptyResponse.s...
java
public ListObjectsResponse listNextBatchOfObjects(ListObjectsResponse previousResponse) { checkNotNull(previousResponse, "previousResponse should not be null."); if (!previousResponse.isTruncated()) { ListObjectsResponse emptyResponse = new ListObjectsResponse(); emptyResponse.s...
[ "public", "ListObjectsResponse", "listNextBatchOfObjects", "(", "ListObjectsResponse", "previousResponse", ")", "{", "checkNotNull", "(", "previousResponse", ",", "\"previousResponse should not be null.\"", ")", ";", "if", "(", "!", "previousResponse", ".", "isTruncated", "...
Provides an easy way to continue a truncated object listing and retrieve the next page of results. @param previousResponse The previous truncated <code>ListObjectsResponse</code>. If a non-truncated <code>ListObjectsResponse</code> is passed in, an empty <code>ListObjectsResponse</code> is returned without ever contac...
[ "Provides", "an", "easy", "way", "to", "continue", "a", "truncated", "object", "listing", "and", "retrieve", "the", "next", "page", "of", "results", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L615-L634
58,846
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.getObjectContent
public byte[] getObjectContent(GetObjectRequest request) { BosObjectInputStream content = this.getObject(request).getObjectContent(); try { return IOUtils.toByteArray(content); } catch (IOException e) { try { content.close(); } catch (IOExcepti...
java
public byte[] getObjectContent(GetObjectRequest request) { BosObjectInputStream content = this.getObject(request).getObjectContent(); try { return IOUtils.toByteArray(content); } catch (IOException e) { try { content.close(); } catch (IOExcepti...
[ "public", "byte", "[", "]", "getObjectContent", "(", "GetObjectRequest", "request", ")", "{", "BosObjectInputStream", "content", "=", "this", ".", "getObject", "(", "request", ")", ".", "getObjectContent", "(", ")", ";", "try", "{", "return", "IOUtils", ".", ...
Gets the object content stored in Bos under the specified bucket and key. @param request The request object containing all the options on how to download the Bos object content. @return The object content stored in Bos in the specified bucket and key.
[ "Gets", "the", "object", "content", "stored", "in", "Bos", "under", "the", "specified", "bucket", "and", "key", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L724-L742
58,847
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.putObject
public PutObjectResponse putObject(String bucketName, String key, File file, ObjectMetadata metadata) { return this.putObject(new PutObjectRequest(bucketName, key, file, metadata)); }
java
public PutObjectResponse putObject(String bucketName, String key, File file, ObjectMetadata metadata) { return this.putObject(new PutObjectRequest(bucketName, key, file, metadata)); }
[ "public", "PutObjectResponse", "putObject", "(", "String", "bucketName", ",", "String", "key", ",", "File", "file", ",", "ObjectMetadata", "metadata", ")", "{", "return", "this", ".", "putObject", "(", "new", "PutObjectRequest", "(", "bucketName", ",", "key", ...
Uploads the specified file and object metadata to Bos under the specified bucket and key name. @param bucketName The name of an existing bucket, to which you have Write permission. @param key The key under which to store the specified file. @param file The file containing the data to be uploaded to Bos. @param metadat...
[ "Uploads", "the", "specified", "file", "and", "object", "metadata", "to", "Bos", "under", "the", "specified", "bucket", "and", "key", "name", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L802-L804
58,848
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.putObject
public PutObjectResponse putObject(String bucketName, String key, String value) { try { return this.putObject(bucketName, key, value.getBytes(DEFAULT_ENCODING), new ObjectMetadata()); } catch (UnsupportedEncodingException e) { throw new BceClientException("Fail to get bytes.", e)...
java
public PutObjectResponse putObject(String bucketName, String key, String value) { try { return this.putObject(bucketName, key, value.getBytes(DEFAULT_ENCODING), new ObjectMetadata()); } catch (UnsupportedEncodingException e) { throw new BceClientException("Fail to get bytes.", e)...
[ "public", "PutObjectResponse", "putObject", "(", "String", "bucketName", ",", "String", "key", ",", "String", "value", ")", "{", "try", "{", "return", "this", ".", "putObject", "(", "bucketName", ",", "key", ",", "value", ".", "getBytes", "(", "DEFAULT_ENCOD...
Uploads the specified string to Bos under the specified bucket and key name. @param bucketName The name of an existing bucket, to which you have Write permission. @param key The key under which to store the specified file. @param value The string containing the value to be uploaded to Bos. @return A PutObjectResponse ...
[ "Uploads", "the", "specified", "string", "to", "Bos", "under", "the", "specified", "bucket", "and", "key", "name", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L814-L820
58,849
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.putObject
public PutObjectResponse putObject(String bucketName, String key, byte[] value, ObjectMetadata metadata) { if (metadata.getContentLength() == -1) { metadata.setContentLength(value.length); } return this.putObject(new PutObjectRequest(bucketName, key, RestartableInputStream.wrap(value...
java
public PutObjectResponse putObject(String bucketName, String key, byte[] value, ObjectMetadata metadata) { if (metadata.getContentLength() == -1) { metadata.setContentLength(value.length); } return this.putObject(new PutObjectRequest(bucketName, key, RestartableInputStream.wrap(value...
[ "public", "PutObjectResponse", "putObject", "(", "String", "bucketName", ",", "String", "key", ",", "byte", "[", "]", "value", ",", "ObjectMetadata", "metadata", ")", "{", "if", "(", "metadata", ".", "getContentLength", "(", ")", "==", "-", "1", ")", "{", ...
Uploads the specified bytes and object metadata to Bos under the specified bucket and key name. @param bucketName The name of an existing bucket, to which you have Write permission. @param key The key under which to store the specified file. @param value The bytes containing the value to be uploaded to Bos. @param met...
[ "Uploads", "the", "specified", "bytes", "and", "object", "metadata", "to", "Bos", "under", "the", "specified", "bucket", "and", "key", "name", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L862-L867
58,850
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.putObject
public PutObjectResponse putObject(String bucketName, String key, InputStream input) { return this.putObject(new PutObjectRequest(bucketName, key, input)); }
java
public PutObjectResponse putObject(String bucketName, String key, InputStream input) { return this.putObject(new PutObjectRequest(bucketName, key, input)); }
[ "public", "PutObjectResponse", "putObject", "(", "String", "bucketName", ",", "String", "key", ",", "InputStream", "input", ")", "{", "return", "this", ".", "putObject", "(", "new", "PutObjectRequest", "(", "bucketName", ",", "key", ",", "input", ")", ")", "...
Uploads the specified input stream to Bos under the specified bucket and key name. @param bucketName The name of an existing bucket, to which you have Write permission. @param key The key under which to store the specified file. @param input The input stream containing the value to be uploaded to Bos. @return A PutObj...
[ "Uploads", "the", "specified", "input", "stream", "to", "Bos", "under", "the", "specified", "bucket", "and", "key", "name", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L877-L879
58,851
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.deleteObject
public void deleteObject(DeleteObjectRequest request) { checkNotNull(request, "request should not be null."); assertStringNotNullOrEmpty(request.getKey(), "object key should not be null or empty"); this.invokeHttpClient(this.createRequest(request, HttpMethodName.DELETE), BosResponse.class); ...
java
public void deleteObject(DeleteObjectRequest request) { checkNotNull(request, "request should not be null."); assertStringNotNullOrEmpty(request.getKey(), "object key should not be null or empty"); this.invokeHttpClient(this.createRequest(request, HttpMethodName.DELETE), BosResponse.class); ...
[ "public", "void", "deleteObject", "(", "DeleteObjectRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"request should not be null.\"", ")", ";", "assertStringNotNullOrEmpty", "(", "request", ".", "getKey", "(", ")", ",", "\"object key should not be n...
Deletes the specified object in the specified bucket. @param request The request object containing all options for deleting a Bos object.
[ "Deletes", "the", "specified", "object", "in", "the", "specified", "bucket", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L1064-L1069
58,852
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.uploadPart
public UploadPartResponse uploadPart(UploadPartRequest request) { checkNotNull(request, "request should not be null."); checkNotNull(request.getPartSize(), "partSize should not be null"); checkNotNull(request.getPartNumber(), "partNumber should not be null"); if (request.getPartSize() >...
java
public UploadPartResponse uploadPart(UploadPartRequest request) { checkNotNull(request, "request should not be null."); checkNotNull(request.getPartSize(), "partSize should not be null"); checkNotNull(request.getPartNumber(), "partNumber should not be null"); if (request.getPartSize() >...
[ "public", "UploadPartResponse", "uploadPart", "(", "UploadPartRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"request should not be null.\"", ")", ";", "checkNotNull", "(", "request", ".", "getPartSize", "(", ")", ",", "\"partSize should not be nu...
Uploads a part in a multipart upload. You must initiate a multipart upload before you can upload any part. @param request The UploadPartRequest object that specifies all the parameters of this operation. @return An UploadPartResponse from Bos containing the part number and ETag of the new part.
[ "Uploads", "a", "part", "in", "a", "multipart", "upload", ".", "You", "must", "initiate", "a", "multipart", "upload", "before", "you", "can", "upload", "any", "part", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L1120-L1177
58,853
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.listMultipartUploads
public ListMultipartUploadsResponse listMultipartUploads(ListMultipartUploadsRequest request) { checkNotNull(request, "request should not be null."); InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET); internalRequest.addParameter("uploads", null); String ...
java
public ListMultipartUploadsResponse listMultipartUploads(ListMultipartUploadsRequest request) { checkNotNull(request, "request should not be null."); InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET); internalRequest.addParameter("uploads", null); String ...
[ "public", "ListMultipartUploadsResponse", "listMultipartUploads", "(", "ListMultipartUploadsRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"request should not be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest"...
Lists in-progress multipart uploads. An in-progress multipart upload is a multipart upload that has been initiated, using the InitiateMultipartUpload request, but has not yet been completed or aborted. @param request The ListMultipartUploadsRequest object that specifies all the parameters of this operation. @return A ...
[ "Lists", "in", "-", "progress", "multipart", "uploads", ".", "An", "in", "-", "progress", "multipart", "upload", "is", "a", "multipart", "upload", "that", "has", "been", "initiated", "using", "the", "InitiateMultipartUpload", "request", "but", "has", "not", "y...
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L1354-L1380
58,854
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.populateRequestMetadata
private static void populateRequestMetadata(InternalRequest request, ObjectMetadata metadata) { if (metadata.getContentType() != null) { request.addHeader(Headers.CONTENT_TYPE, metadata.getContentType()); } if (metadata.getContentMd5() != null) { request.addHeader(Headers...
java
private static void populateRequestMetadata(InternalRequest request, ObjectMetadata metadata) { if (metadata.getContentType() != null) { request.addHeader(Headers.CONTENT_TYPE, metadata.getContentType()); } if (metadata.getContentMd5() != null) { request.addHeader(Headers...
[ "private", "static", "void", "populateRequestMetadata", "(", "InternalRequest", "request", ",", "ObjectMetadata", "metadata", ")", "{", "if", "(", "metadata", ".", "getContentType", "(", ")", "!=", "null", ")", "{", "request", ".", "addHeader", "(", "Headers", ...
Populates the specified request object with the appropriate headers from the ObjectMetadata object. @param request The request to populate with headers. @param metadata The metadata containing the header information to include in the request.
[ "Populates", "the", "specified", "request", "object", "with", "the", "appropriate", "headers", "from", "the", "ObjectMetadata", "object", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L1388-L1435
58,855
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.createRequest
private InternalRequest createRequest(AbstractBceRequest bceRequest, HttpMethodName httpMethod) { String bucketName = null; String key = null; // when custom_endpoint, bucketName should be null when set up InternalRequest. if (bceRequest instanceof GenericBucketRequest && !((BosClientCon...
java
private InternalRequest createRequest(AbstractBceRequest bceRequest, HttpMethodName httpMethod) { String bucketName = null; String key = null; // when custom_endpoint, bucketName should be null when set up InternalRequest. if (bceRequest instanceof GenericBucketRequest && !((BosClientCon...
[ "private", "InternalRequest", "createRequest", "(", "AbstractBceRequest", "bceRequest", ",", "HttpMethodName", "httpMethod", ")", "{", "String", "bucketName", "=", "null", ";", "String", "key", "=", "null", ";", "// when custom_endpoint, bucketName should be null when set u...
Creates and initializes a new request object for the specified Bos resource. This method is responsible for determining the right way to address resources. @param bceRequest The original request, as created by the user. @param httpMethod The HTTP method to use when sending the request. @return A new request object, po...
[ "Creates", "and", "initializes", "a", "new", "request", "object", "for", "the", "specified", "Bos", "resource", ".", "This", "method", "is", "responsible", "for", "determining", "the", "right", "way", "to", "address", "resources", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L1446-L1460
58,856
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.addResponseHeaderParameters
private void addResponseHeaderParameters(InternalRequest request, ResponseHeaderOverrides responseHeaders) { if (responseHeaders != null) { if (responseHeaders.getCacheControl() != null) { request.addParameter(ResponseHeaderOverrides.RESPONSE_HEADER_CACHE_CONTROL, ...
java
private void addResponseHeaderParameters(InternalRequest request, ResponseHeaderOverrides responseHeaders) { if (responseHeaders != null) { if (responseHeaders.getCacheControl() != null) { request.addParameter(ResponseHeaderOverrides.RESPONSE_HEADER_CACHE_CONTROL, ...
[ "private", "void", "addResponseHeaderParameters", "(", "InternalRequest", "request", ",", "ResponseHeaderOverrides", "responseHeaders", ")", "{", "if", "(", "responseHeaders", "!=", "null", ")", "{", "if", "(", "responseHeaders", ".", "getCacheControl", "(", ")", "!...
Adds response headers parameters to the request given, if non-null. @param request The request to add the response header parameters to. @param responseHeaders The full set of response headers to add, or null for none.
[ "Adds", "response", "headers", "parameters", "to", "the", "request", "given", "if", "non", "-", "null", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L1584-L1610
58,857
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.appendObject
public AppendObjectResponse appendObject(String bucketName, String key, File file) { return this.appendObject(new AppendObjectRequest(bucketName, key, file)); }
java
public AppendObjectResponse appendObject(String bucketName, String key, File file) { return this.appendObject(new AppendObjectRequest(bucketName, key, file)); }
[ "public", "AppendObjectResponse", "appendObject", "(", "String", "bucketName", ",", "String", "key", ",", "File", "file", ")", "{", "return", "this", ".", "appendObject", "(", "new", "AppendObjectRequest", "(", "bucketName", ",", "key", ",", "file", ")", ")", ...
Uploads the specified appendable file to Bos under the specified bucket and key name. @param bucketName The name of an existing bucket, to which you have Write permission. @param key The key under which to store the specified file. @param file The appendable file containing the data to be uploaded to Bos. @return An A...
[ "Uploads", "the", "specified", "appendable", "file", "to", "Bos", "under", "the", "specified", "bucket", "and", "key", "name", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L1673-L1675
58,858
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.appendObject
public AppendObjectResponse appendObject(String bucketName, String key, String value, ObjectMetadata metadata) { try { return this.appendObject(bucketName, key, value.getBytes(DEFAULT_ENCODING), metadata); } catch (UnsupportedEncodingException e) { throw new BceClientException("F...
java
public AppendObjectResponse appendObject(String bucketName, String key, String value, ObjectMetadata metadata) { try { return this.appendObject(bucketName, key, value.getBytes(DEFAULT_ENCODING), metadata); } catch (UnsupportedEncodingException e) { throw new BceClientException("F...
[ "public", "AppendObjectResponse", "appendObject", "(", "String", "bucketName", ",", "String", "key", ",", "String", "value", ",", "ObjectMetadata", "metadata", ")", "{", "try", "{", "return", "this", ".", "appendObject", "(", "bucketName", ",", "key", ",", "va...
Uploads the specified string and object metadata to Bos under the specified bucket and key name. @param bucketName The name of an existing bucket, to which you have Write permission. @param key The key under which to store the specified file. @param value The string containing the value to be uploaded to Bos. @param m...
[ "Uploads", "the", "specified", "string", "and", "object", "metadata", "to", "Bos", "under", "the", "specified", "bucket", "and", "key", "name", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L1717-L1723
58,859
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.appendObject
public AppendObjectResponse appendObject( String bucketName, String key, byte[] value, ObjectMetadata metadata) { checkNotNull(metadata, "metadata should not be null."); if (metadata.getContentLength() == -1) { metadata.setContentLength(value.length); } return thi...
java
public AppendObjectResponse appendObject( String bucketName, String key, byte[] value, ObjectMetadata metadata) { checkNotNull(metadata, "metadata should not be null."); if (metadata.getContentLength() == -1) { metadata.setContentLength(value.length); } return thi...
[ "public", "AppendObjectResponse", "appendObject", "(", "String", "bucketName", ",", "String", "key", ",", "byte", "[", "]", "value", ",", "ObjectMetadata", "metadata", ")", "{", "checkNotNull", "(", "metadata", ",", "\"metadata should not be null.\"", ")", ";", "i...
Uploads the appendable bytes and object metadata to Bos under the specified bucket and key name. @param bucketName The name of an existing bucket, to which you have Write permission. @param key The key under which to store the specified file. @param value The bytes containing the value to be uploaded to Bos. @param me...
[ "Uploads", "the", "appendable", "bytes", "and", "object", "metadata", "to", "Bos", "under", "the", "specified", "bucket", "and", "key", "name", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L1747-L1755
58,860
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/BosClient.java
BosClient.appendObject
public AppendObjectResponse appendObject(String bucketName, String key, InputStream input) { return this.appendObject(new AppendObjectRequest(bucketName, key, input)); }
java
public AppendObjectResponse appendObject(String bucketName, String key, InputStream input) { return this.appendObject(new AppendObjectRequest(bucketName, key, input)); }
[ "public", "AppendObjectResponse", "appendObject", "(", "String", "bucketName", ",", "String", "key", ",", "InputStream", "input", ")", "{", "return", "this", ".", "appendObject", "(", "new", "AppendObjectRequest", "(", "bucketName", ",", "key", ",", "input", ")"...
Uploads the appendable input stream to Bos under the specified bucket and key name. @param bucketName The name of an existing bucket, to which you have Write permission. @param key The key under which to store the specified file. @param input The input stream containing the value to be uploaded to Bos. @return An Appe...
[ "Uploads", "the", "appendable", "input", "stream", "to", "Bos", "under", "the", "specified", "bucket", "and", "key", "name", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/BosClient.java#L1765-L1767
58,861
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/dcc/DccClient.java
DccClient.getDedicatedHost
public GetDedicatedHostResponse getDedicatedHost(GetDedicatedHostRequest request) { checkNotNull(request, "request should not be null."); checkNotNull(request.getDedicatedHostId(), "request dedicatedHostId should not be null."); InternalRequest internalRequest = this.createRequest(request, HttpM...
java
public GetDedicatedHostResponse getDedicatedHost(GetDedicatedHostRequest request) { checkNotNull(request, "request should not be null."); checkNotNull(request.getDedicatedHostId(), "request dedicatedHostId should not be null."); InternalRequest internalRequest = this.createRequest(request, HttpM...
[ "public", "GetDedicatedHostResponse", "getDedicatedHost", "(", "GetDedicatedHostRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"request should not be null.\"", ")", ";", "checkNotNull", "(", "request", ".", "getDedicatedHostId", "(", ")", ",", "\"...
Get the detail information of specified dcc. @param request The request containing all options for getting the instance info. @return A dcc detail model for the dedicatedHostId.
[ "Get", "the", "detail", "information", "of", "specified", "dcc", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/dcc/DccClient.java#L86-L91
58,862
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/dcc/DccClient.java
DccClient.listDedicatedHosts
public ListDedicatedHostsResponse listDedicatedHosts(ListDedicatedHostsRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, null); if (!Strings.isNullOrEmpty(request.getMarker())) { internalRequest.addParameter("marker", request.getMarker()); ...
java
public ListDedicatedHostsResponse listDedicatedHosts(ListDedicatedHostsRequest request) { InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, null); if (!Strings.isNullOrEmpty(request.getMarker())) { internalRequest.addParameter("marker", request.getMarker()); ...
[ "public", "ListDedicatedHostsResponse", "listDedicatedHosts", "(", "ListDedicatedHostsRequest", "request", ")", "{", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "HttpMethodName", ".", "GET", ",", "null", ")", ";", "if"...
get a list of hosts owned by the authenticated user and specified conditions @param request The request containing all options for query @return
[ "get", "a", "list", "of", "hosts", "owned", "by", "the", "authenticated", "user", "and", "specified", "conditions" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/dcc/DccClient.java#L107-L119
58,863
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bos/model/CompleteMultipartUploadRequest.java
CompleteMultipartUploadRequest.setPartETags
public void setPartETags(List<PartETag> partETags) { checkNotNull(partETags, "partETags should not be null."); for (int i = 0; i < partETags.size(); ++i) { PartETag partETag = partETags.get(i); checkNotNull(partETag, "partETags[%s] should not be null.", i); int partNu...
java
public void setPartETags(List<PartETag> partETags) { checkNotNull(partETags, "partETags should not be null."); for (int i = 0; i < partETags.size(); ++i) { PartETag partETag = partETags.get(i); checkNotNull(partETag, "partETags[%s] should not be null.", i); int partNu...
[ "public", "void", "setPartETags", "(", "List", "<", "PartETag", ">", "partETags", ")", "{", "checkNotNull", "(", "partETags", ",", "\"partETags should not be null.\"", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "partETags", ".", "size", "("...
Sets the list of part numbers and ETags that identify the individual parts of the multipart upload to complete. @param partETags The list of part numbers and ETags that identify the individual parts of the multipart upload to complete.
[ "Sets", "the", "list", "of", "part", "numbers", "and", "ETags", "that", "identify", "the", "individual", "parts", "of", "the", "multipart", "upload", "to", "complete", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bos/model/CompleteMultipartUploadRequest.java#L170-L192
58,864
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.createPreset
public CreatePresetResponse createPreset(CreatePresetRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getName(), "The parameter name should NOT be null or empty string."); if (request.getAudio() != null) { ...
java
public CreatePresetResponse createPreset(CreatePresetRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getName(), "The parameter name should NOT be null or empty string."); if (request.getAudio() != null) { ...
[ "public", "CreatePresetResponse", "createPreset", "(", "CreatePresetRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "checkStringNotEmpty", "(", "request", ".", "getName", "(", ")", ",", "\"Th...
Create a live preset which contains parameters needed in the live stream service. @param request The request object containing all options for creating presets. @return the response
[ "Create", "a", "live", "preset", "which", "contains", "parameters", "needed", "in", "the", "live", "stream", "service", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L290-L327
58,865
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.createPreset
public CreatePresetResponse createPreset(String name, String description, Audio audio, Video video, Hls hls, Rtmp rtmp, LiveThumbnail thumbnail, Watermarks watermarks) { CreatePresetRequest request = new CreatePresetRequest(); request.setForwardOnly(false); request.setName(name); ...
java
public CreatePresetResponse createPreset(String name, String description, Audio audio, Video video, Hls hls, Rtmp rtmp, LiveThumbnail thumbnail, Watermarks watermarks) { CreatePresetRequest request = new CreatePresetRequest(); request.setForwardOnly(false); request.setName(name); ...
[ "public", "CreatePresetResponse", "createPreset", "(", "String", "name", ",", "String", "description", ",", "Audio", "audio", ",", "Video", "video", ",", "Hls", "hls", ",", "Rtmp", "rtmp", ",", "LiveThumbnail", "thumbnail", ",", "Watermarks", "watermarks", ")", ...
Create a live preset which contains parameters needed in the live stream service, and not in forward only mode, so that the input stream will be transcoded according to audio and video parameters. @param name The name of the new live preset. @param description The description of the new live preset @param audio Specif...
[ "Create", "a", "live", "preset", "which", "contains", "parameters", "needed", "in", "the", "live", "stream", "service", "and", "not", "in", "forward", "only", "mode", "so", "that", "the", "input", "stream", "will", "be", "transcoded", "according", "to", "aud...
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L344-L358
58,866
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.createForwardOnlyPreset
public CreatePresetResponse createForwardOnlyPreset(String name, String description, Hls hls, Rtmp rtmp, LiveThumbnail thumbnail, Watermarks watermarks) { CreatePresetRequest request = new CreatePresetRequest(); request.setForwardOnly(true); request.setName(name); request.set...
java
public CreatePresetResponse createForwardOnlyPreset(String name, String description, Hls hls, Rtmp rtmp, LiveThumbnail thumbnail, Watermarks watermarks) { CreatePresetRequest request = new CreatePresetRequest(); request.setForwardOnly(true); request.setName(name); request.set...
[ "public", "CreatePresetResponse", "createForwardOnlyPreset", "(", "String", "name", ",", "String", "description", ",", "Hls", "hls", ",", "Rtmp", "rtmp", ",", "LiveThumbnail", "thumbnail", ",", "Watermarks", "watermarks", ")", "{", "CreatePresetRequest", "request", ...
Create a live preset which contains parameters needed in the live stream service, and in forward only mode, in which the input stream's resolution ratio and code rate will be kept unchanged. @param name The name of the new live preset. @param description The description of the new live preset @param hls Specify the h...
[ "Create", "a", "live", "preset", "which", "contains", "parameters", "needed", "in", "the", "live", "stream", "service", "and", "in", "forward", "only", "mode", "in", "which", "the", "input", "stream", "s", "resolution", "ratio", "and", "code", "rate", "will"...
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L373-L385
58,867
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.listPresets
public ListPresetsResponse listPresets() { ListPresetsRequest request = new ListPresetsRequest(); InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, LIVE_PRESET); return invokeHttpClient(internalRequest, ListPresetsResponse.class); }
java
public ListPresetsResponse listPresets() { ListPresetsRequest request = new ListPresetsRequest(); InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, LIVE_PRESET); return invokeHttpClient(internalRequest, ListPresetsResponse.class); }
[ "public", "ListPresetsResponse", "listPresets", "(", ")", "{", "ListPresetsRequest", "request", "=", "new", "ListPresetsRequest", "(", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(", "HttpMethodName", ".", "GET", ",", "request", ",", "LIVE...
List all your live presets. @return The list of all your live presets
[ "List", "all", "your", "live", "presets", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L393-L397
58,868
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.listSessions
public ListSessionsResponse listSessions(String status) { ListSessionsRequest request = new ListSessionsRequest().withStatus(status); return listSessions(request); }
java
public ListSessionsResponse listSessions(String status) { ListSessionsRequest request = new ListSessionsRequest().withStatus(status); return listSessions(request); }
[ "public", "ListSessionsResponse", "listSessions", "(", "String", "status", ")", "{", "ListSessionsRequest", "request", "=", "new", "ListSessionsRequest", "(", ")", ".", "withStatus", "(", "status", ")", ";", "return", "listSessions", "(", "request", ")", ";", "}...
List all your live sessions with given status. @param status Live session status. @return The list of all your live sessions.
[ "List", "all", "your", "live", "sessions", "with", "given", "status", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L556-L559
58,869
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.listSessions
public ListSessionsResponse listSessions(ListSessionsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, LIVE_SESSION); if (request.getStatus() != null) { checkStringNotEm...
java
public ListSessionsResponse listSessions(ListSessionsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, LIVE_SESSION); if (request.getStatus() != null) { checkStringNotEm...
[ "public", "ListSessionsResponse", "listSessions", "(", "ListSessionsRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(", "HttpMethodName"...
List all your live sessions. @param request The request object containing all parameters for listing live sessions. @return The list of all your live sessions.
[ "List", "all", "your", "live", "sessions", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L567-L576
58,870
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.listApp
public ListAppResponse listApp(ListAppRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, LIVE_APP); return invokeHttpClient(internalRequest, ListAppResponse.class); }
java
public ListAppResponse listApp(ListAppRequest request) { checkNotNull(request, "The parameter request should NOT be null."); InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, LIVE_APP); return invokeHttpClient(internalRequest, ListAppResponse.class); }
[ "public", "ListAppResponse", "listApp", "(", "ListAppRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(", "HttpMethodName", ".", "GET...
list all your apps @param request The request object containing all parameters for list all apps. @return the response
[ "list", "all", "your", "apps" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L821-L825
58,871
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.listAppStreams
public ListAppStreamsResponse listAppStreams(String app) { ListAppStreamsRequest request = new ListAppStreamsRequest(); request.setApp(app); return listAppStreams(request); }
java
public ListAppStreamsResponse listAppStreams(String app) { ListAppStreamsRequest request = new ListAppStreamsRequest(); request.setApp(app); return listAppStreams(request); }
[ "public", "ListAppStreamsResponse", "listAppStreams", "(", "String", "app", ")", "{", "ListAppStreamsRequest", "request", "=", "new", "ListAppStreamsRequest", "(", ")", ";", "request", ".", "setApp", "(", "app", ")", ";", "return", "listAppStreams", "(", "request"...
list your streams by app name @param app app name @return the response
[ "list", "your", "streams", "by", "app", "name" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L877-L881
58,872
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.startRecording
public StartRecordingResponse startRecording(String sessionId, String recording) { checkStringNotEmpty(sessionId, "The parameter sessionId should NOT be null or empty string."); checkStringNotEmpty(recording, "The parameter recording should NOT be null or empty string."); StartRecordingRequest r...
java
public StartRecordingResponse startRecording(String sessionId, String recording) { checkStringNotEmpty(sessionId, "The parameter sessionId should NOT be null or empty string."); checkStringNotEmpty(recording, "The parameter recording should NOT be null or empty string."); StartRecordingRequest r...
[ "public", "StartRecordingResponse", "startRecording", "(", "String", "sessionId", ",", "String", "recording", ")", "{", "checkStringNotEmpty", "(", "sessionId", ",", "\"The parameter sessionId should NOT be null or empty string.\"", ")", ";", "checkStringNotEmpty", "(", "reco...
Start live session recording. @param sessionId Live session id. @param recording Live recording preset name. @return the response
[ "Start", "live", "session", "recording", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1047-L1054
58,873
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.stopRecording
public StopRecordingResponse stopRecording(String sessionId) { checkStringNotEmpty(sessionId, "The parameter sessionId should NOT be null or empty string."); StopRecordingRequest request = new StopRecordingRequest().withSessionId(sessionId); InternalRequest internalRequest = createRequest(HttpMe...
java
public StopRecordingResponse stopRecording(String sessionId) { checkStringNotEmpty(sessionId, "The parameter sessionId should NOT be null or empty string."); StopRecordingRequest request = new StopRecordingRequest().withSessionId(sessionId); InternalRequest internalRequest = createRequest(HttpMe...
[ "public", "StopRecordingResponse", "stopRecording", "(", "String", "sessionId", ")", "{", "checkStringNotEmpty", "(", "sessionId", ",", "\"The parameter sessionId should NOT be null or empty string.\"", ")", ";", "StopRecordingRequest", "request", "=", "new", "StopRecordingRequ...
Stop live session recording. @param sessionId Live session id. @return the response
[ "Stop", "live", "session", "recording", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1062-L1068
58,874
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.getSessionSourceInfo
public GetSessionSourceInfoResponse getSessionSourceInfo(String sessionId) { checkStringNotEmpty(sessionId, "The parameter sessionId should NOT be null or empty string."); GetSessionSourceInfoRequest request = new GetSessionSourceInfoRequest(); InternalRequest internalRequest = createRequest(Htt...
java
public GetSessionSourceInfoResponse getSessionSourceInfo(String sessionId) { checkStringNotEmpty(sessionId, "The parameter sessionId should NOT be null or empty string."); GetSessionSourceInfoRequest request = new GetSessionSourceInfoRequest(); InternalRequest internalRequest = createRequest(Htt...
[ "public", "GetSessionSourceInfoResponse", "getSessionSourceInfo", "(", "String", "sessionId", ")", "{", "checkStringNotEmpty", "(", "sessionId", ",", "\"The parameter sessionId should NOT be null or empty string.\"", ")", ";", "GetSessionSourceInfoRequest", "request", "=", "new",...
Get your live session source info by live session id. @param sessionId Live session id. @return Your live session source info
[ "Get", "your", "live", "session", "source", "info", "by", "live", "session", "id", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1076-L1082
58,875
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.getRecording
public GetRecordingResponse getRecording(String recording) { checkStringNotEmpty(recording, "The parameter recording should NOT be null or empty string."); GetRecordingRequest request = new GetRecordingRequest(); InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, RECORD...
java
public GetRecordingResponse getRecording(String recording) { checkStringNotEmpty(recording, "The parameter recording should NOT be null or empty string."); GetRecordingRequest request = new GetRecordingRequest(); InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, RECORD...
[ "public", "GetRecordingResponse", "getRecording", "(", "String", "recording", ")", "{", "checkStringNotEmpty", "(", "recording", ",", "\"The parameter recording should NOT be null or empty string.\"", ")", ";", "GetRecordingRequest", "request", "=", "new", "GetRecordingRequest"...
Get your live recording preset by live recording preset name. @param recording Live recording preset name. @return Your live recording preset
[ "Get", "your", "live", "recording", "preset", "by", "live", "recording", "preset", "name", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1125-L1130
58,876
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.listRecordings
public ListRecordingsResponse listRecordings() { GetRecordingRequest request = new GetRecordingRequest(); InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, RECORDING); return invokeHttpClient(internalRequest, ListRecordingsResponse.class); }
java
public ListRecordingsResponse listRecordings() { GetRecordingRequest request = new GetRecordingRequest(); InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, RECORDING); return invokeHttpClient(internalRequest, ListRecordingsResponse.class); }
[ "public", "ListRecordingsResponse", "listRecordings", "(", ")", "{", "GetRecordingRequest", "request", "=", "new", "GetRecordingRequest", "(", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(", "HttpMethodName", ".", "GET", ",", "request", ",",...
List all your live recording presets. @return The list of all your live recording preset.
[ "List", "all", "your", "live", "recording", "presets", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1137-L1141
58,877
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.listNotifications
public ListNotificationsResponse listNotifications() { ListNotificationsRequest request = new ListNotificationsRequest(); InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, LIVE_NOTIFICATION); return invokeHttpClient(internalRequest, ListNotificationsResponse.class); ...
java
public ListNotificationsResponse listNotifications() { ListNotificationsRequest request = new ListNotificationsRequest(); InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, LIVE_NOTIFICATION); return invokeHttpClient(internalRequest, ListNotificationsResponse.class); ...
[ "public", "ListNotificationsResponse", "listNotifications", "(", ")", "{", "ListNotificationsRequest", "request", "=", "new", "ListNotificationsRequest", "(", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(", "HttpMethodName", ".", "GET", ",", "...
List all your live notifications. @return The list of all your live notifications
[ "List", "all", "your", "live", "notifications", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1149-L1153
58,878
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.createNotification
public CreateNotificationResponse createNotification(CreateNotificationRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getName(), "The parameter name should NOT be null or empty string."); checkStringNotEmpty(req...
java
public CreateNotificationResponse createNotification(CreateNotificationRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getName(), "The parameter name should NOT be null or empty string."); checkStringNotEmpty(req...
[ "public", "CreateNotificationResponse", "createNotification", "(", "CreateNotificationRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "checkStringNotEmpty", "(", "request", ".", "getName", "(", "...
Create a live notification in the live stream service. @param request The request object containing all options for creating live notification. @return the response
[ "Create", "a", "live", "notification", "in", "the", "live", "stream", "service", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1226-L1236
58,879
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.listSecurityPolicies
public ListSecurityPoliciesResponse listSecurityPolicies() { ListSecurityPoliciesRequest request = new ListSecurityPoliciesRequest(); InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, LIVE_SECURITY_POLICY); return invokeHttpClient(internalRequest, ListSecurityPoliciesR...
java
public ListSecurityPoliciesResponse listSecurityPolicies() { ListSecurityPoliciesRequest request = new ListSecurityPoliciesRequest(); InternalRequest internalRequest = createRequest(HttpMethodName.GET, request, LIVE_SECURITY_POLICY); return invokeHttpClient(internalRequest, ListSecurityPoliciesR...
[ "public", "ListSecurityPoliciesResponse", "listSecurityPolicies", "(", ")", "{", "ListSecurityPoliciesRequest", "request", "=", "new", "ListSecurityPoliciesRequest", "(", ")", ";", "InternalRequest", "internalRequest", "=", "createRequest", "(", "HttpMethodName", ".", "GET"...
List all your live security policys. @return The list of all your live security policys
[ "List", "all", "your", "live", "security", "policys", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1243-L1247
58,880
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.listDomainApp
public ListDomainAppResponse listDomainApp(ListDomainAppRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getPlayDomain(), "playDomain should NOT be empty."); InternalRequest internalRequest = createRequest(HttpMethodName.GET, ...
java
public ListDomainAppResponse listDomainApp(ListDomainAppRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getPlayDomain(), "playDomain should NOT be empty."); InternalRequest internalRequest = createRequest(HttpMethodName.GET, ...
[ "public", "ListDomainAppResponse", "listDomainApp", "(", "ListDomainAppRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "checkStringNotEmpty", "(", "request", ".", "getPlayDomain", "(", ")", ","...
List a domain's app in the live stream service. @param request The request object containing all options for listing domain's app @return the response
[ "List", "a", "domain", "s", "app", "in", "the", "live", "stream", "service", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1435-L1443
58,881
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.updateStreamPresets
public void updateStreamPresets(UpdateStreamPresetsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getDomain(), "Domain should NOT be empty."); checkStringNotEmpty(request.getApp(), "App should NOT be empty"); checkStrin...
java
public void updateStreamPresets(UpdateStreamPresetsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getDomain(), "Domain should NOT be empty."); checkStringNotEmpty(request.getApp(), "App should NOT be empty"); checkStrin...
[ "public", "void", "updateStreamPresets", "(", "UpdateStreamPresetsRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "checkStringNotEmpty", "(", "request", ".", "getDomain", "(", ")", ",", "\"Do...
Update stream's presets in the live stream service @param request THe request object containing all options for updating presets
[ "Update", "stream", "s", "presets", "in", "the", "live", "stream", "service" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1600-L1613
58,882
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.updateStreamPresets
public void updateStreamPresets(String domain, String app, String stream, Map<String, String> presets) { UpdateStreamPresetsRequest request = new UpdateStreamPresetsRequest() .withDomain(domain) .withApp(app) .withStream(stream) .withPresets(preset...
java
public void updateStreamPresets(String domain, String app, String stream, Map<String, String> presets) { UpdateStreamPresetsRequest request = new UpdateStreamPresetsRequest() .withDomain(domain) .withApp(app) .withStream(stream) .withPresets(preset...
[ "public", "void", "updateStreamPresets", "(", "String", "domain", ",", "String", "app", ",", "String", "stream", ",", "Map", "<", "String", ",", "String", ">", "presets", ")", "{", "UpdateStreamPresetsRequest", "request", "=", "new", "UpdateStreamPresetsRequest", ...
Update stream's presets @param domain The requested domain which the specific stream belongs to @param app The requested app which the specific stream belongs to @param stream The requested stream which need to update the presets @param presets The new presets is setting to the specific stream; it's a map, and key is l...
[ "Update", "stream", "s", "presets" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1624-L1631
58,883
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.updateStreamRecording
public void updateStreamRecording(UpdateStreamRecordingRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getDomain(), "Domain should NOT be empty."); checkStringNotEmpty(request.getApp(), "App should NOT be empty"); checkS...
java
public void updateStreamRecording(UpdateStreamRecordingRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getDomain(), "Domain should NOT be empty."); checkStringNotEmpty(request.getApp(), "App should NOT be empty"); checkS...
[ "public", "void", "updateStreamRecording", "(", "UpdateStreamRecordingRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "checkStringNotEmpty", "(", "request", ".", "getDomain", "(", ")", ",", "...
Update stream recording in the live stream service @param request The request object containing all options for updating recording
[ "Update", "stream", "recording", "in", "the", "live", "stream", "service" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1639-L1653
58,884
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.updateStreamRecording
public void updateStreamRecording(String domain, String app, String stream, String recording) { UpdateStreamRecordingRequest request = new UpdateStreamRecordingRequest() .withDomain(domain) .withApp(app) .withStream(stream) .withRecording(recording...
java
public void updateStreamRecording(String domain, String app, String stream, String recording) { UpdateStreamRecordingRequest request = new UpdateStreamRecordingRequest() .withDomain(domain) .withApp(app) .withStream(stream) .withRecording(recording...
[ "public", "void", "updateStreamRecording", "(", "String", "domain", ",", "String", "app", ",", "String", "stream", ",", "String", "recording", ")", "{", "UpdateStreamRecordingRequest", "request", "=", "new", "UpdateStreamRecordingRequest", "(", ")", ".", "withDomain...
Update stream recording in live stream service @param domain The requested domain which the specific stream belongs to @param app The requested app which the specific stream belongs to @param stream The requested stream which need to update the recording @param recording The new recording's name
[ "Update", "stream", "recording", "in", "live", "stream", "service" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1664-L1671
58,885
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.updateStreamPullUrl
public void updateStreamPullUrl(UpdateStreamPullUrlRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getDomain(), "Domain should NOT be empty."); checkStringNotEmpty(request.getApp(), "App should NOT be empty"); checkStrin...
java
public void updateStreamPullUrl(UpdateStreamPullUrlRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getDomain(), "Domain should NOT be empty."); checkStringNotEmpty(request.getApp(), "App should NOT be empty"); checkStrin...
[ "public", "void", "updateStreamPullUrl", "(", "UpdateStreamPullUrlRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "checkStringNotEmpty", "(", "request", ".", "getDomain", "(", ")", ",", "\"Do...
Update stream pullUrl in live stream service @param request The request object containing all options for updating pull url
[ "Update", "stream", "pullUrl", "in", "live", "stream", "service" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1713-L1725
58,886
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.updateStreamPullUrl
public void updateStreamPullUrl(String domain, String app, String stream, String pullUrl) { UpdateStreamPullUrlRequest request = new UpdateStreamPullUrlRequest() .withDomain(domain) .withApp(app) .withStream(stream) .withPullUrl(pullUrl); u...
java
public void updateStreamPullUrl(String domain, String app, String stream, String pullUrl) { UpdateStreamPullUrlRequest request = new UpdateStreamPullUrlRequest() .withDomain(domain) .withApp(app) .withStream(stream) .withPullUrl(pullUrl); u...
[ "public", "void", "updateStreamPullUrl", "(", "String", "domain", ",", "String", "app", ",", "String", "stream", ",", "String", "pullUrl", ")", "{", "UpdateStreamPullUrlRequest", "request", "=", "new", "UpdateStreamPullUrlRequest", "(", ")", ".", "withDomain", "("...
Update stream's destination push url @param domain The requested domain which the specific stream belongs to @param app The requested app which the specific stream belongs to @param stream The requested stream which need to update pull url @param pullUrl The new pull url is setting to this specific stream
[ "Update", "stream", "s", "destination", "push", "url" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1735-L1742
58,887
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.updateStreamDestinationPushUrl
public void updateStreamDestinationPushUrl(UpdateStreamDestinationPushUrlRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getDomain(), "Domain should NOT be empty."); checkStringNotEmpty(request.getApp(), "App should NOT be empty...
java
public void updateStreamDestinationPushUrl(UpdateStreamDestinationPushUrlRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getDomain(), "Domain should NOT be empty."); checkStringNotEmpty(request.getApp(), "App should NOT be empty...
[ "public", "void", "updateStreamDestinationPushUrl", "(", "UpdateStreamDestinationPushUrlRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "checkStringNotEmpty", "(", "request", ".", "getDomain", "(",...
Update stream destination push url in live stream service @param request The request object containing all options for updating destination push url
[ "Update", "stream", "destination", "push", "url", "in", "live", "stream", "service" ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1748-L1759
58,888
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.getDomainStatistics
public GetDomainStatisticsResponse getDomainStatistics(GetDomainStatisticsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getDomain(), "Domain should NOT be empty."); InternalRequest internalRequest = createRequest(HttpMethodNam...
java
public GetDomainStatisticsResponse getDomainStatistics(GetDomainStatisticsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getDomain(), "Domain should NOT be empty."); InternalRequest internalRequest = createRequest(HttpMethodNam...
[ "public", "GetDomainStatisticsResponse", "getDomainStatistics", "(", "GetDomainStatisticsRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "checkStringNotEmpty", "(", "request", ".", "getDomain", "("...
get domain's statistics in the live stream service. @param request The request object containing all options for getting domain's statistics @return the response
[ "get", "domain", "s", "statistics", "in", "the", "live", "stream", "service", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1783-L1799
58,889
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.getDomainStatistics
public GetDomainStatisticsResponse getDomainStatistics(String domain) { GetDomainStatisticsRequest request = new GetDomainStatisticsRequest(); request.setDomain(domain); return getDomainStatistics(request); }
java
public GetDomainStatisticsResponse getDomainStatistics(String domain) { GetDomainStatisticsRequest request = new GetDomainStatisticsRequest(); request.setDomain(domain); return getDomainStatistics(request); }
[ "public", "GetDomainStatisticsResponse", "getDomainStatistics", "(", "String", "domain", ")", "{", "GetDomainStatisticsRequest", "request", "=", "new", "GetDomainStatisticsRequest", "(", ")", ";", "request", ".", "setDomain", "(", "domain", ")", ";", "return", "getDom...
Get domain's statistics in the live stream service. @param domain The requested domain @return the response
[ "Get", "domain", "s", "statistics", "in", "the", "live", "stream", "service", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1807-L1811
58,890
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.getAllDomainsPlayCount
public GetAllDomainsPlayCountResponse getAllDomainsPlayCount(GetAllDomainsStatisticsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getTimeInterval(), "timeInterval should NOT be null"); checkStringNotEmpty(request.getStartTime(...
java
public GetAllDomainsPlayCountResponse getAllDomainsPlayCount(GetAllDomainsStatisticsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getTimeInterval(), "timeInterval should NOT be null"); checkStringNotEmpty(request.getStartTime(...
[ "public", "GetAllDomainsPlayCountResponse", "getAllDomainsPlayCount", "(", "GetAllDomainsStatisticsRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "checkStringNotEmpty", "(", "request", ".", "getTime...
get all domains' total play count statistics in the live stream service. @param request The request object containing all options for getting all domains' play count statistics @return the response
[ "get", "all", "domains", "total", "play", "count", "statistics", "in", "the", "live", "stream", "service", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1853-L1867
58,891
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.getOneDomainPlayCount
public GetOneDomainPlayCountResponse getOneDomainPlayCount(GetOneDomainStatisticsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkNotNull(request.getDomain(), "The domain parameter can not be null"); checkStringNotEmpty(request.getTimeInterval(), "time...
java
public GetOneDomainPlayCountResponse getOneDomainPlayCount(GetOneDomainStatisticsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkNotNull(request.getDomain(), "The domain parameter can not be null"); checkStringNotEmpty(request.getTimeInterval(), "time...
[ "public", "GetOneDomainPlayCountResponse", "getOneDomainPlayCount", "(", "GetOneDomainStatisticsRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "checkNotNull", "(", "request", ".", "getDomain", "("...
get one domain's play count statistics in the live stream service. @param request The request object containing all options for getting one domain's play count statistics @return the response
[ "get", "one", "domain", "s", "play", "count", "statistics", "in", "the", "live", "stream", "service", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1875-L1891
58,892
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.listDomainStatistics
public ListDomainStatisticsResponse listDomainStatistics(ListDomainStatisticsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getStartTime(), "startTime should NOT be empty"); InternalRequest internalRequest = createRequest(Http...
java
public ListDomainStatisticsResponse listDomainStatistics(ListDomainStatisticsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getStartTime(), "startTime should NOT be empty"); InternalRequest internalRequest = createRequest(Http...
[ "public", "ListDomainStatisticsResponse", "listDomainStatistics", "(", "ListDomainStatisticsRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "checkStringNotEmpty", "(", "request", ".", "getStartTime",...
list domain's statistics in the live stream service. @param request The request object containing all options for listing domain's traffic statistics @return the response
[ "list", "domain", "s", "statistics", "in", "the", "live", "stream", "service", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L1989-L2010
58,893
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.listStreamStatistics
public ListStreamStatisticsResponse listStreamStatistics(ListStreamStatisticsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getDomain(), "Domain should NOT be null"); checkStringNotEmpty(request.getApp(), "App should NOT be nul...
java
public ListStreamStatisticsResponse listStreamStatistics(ListStreamStatisticsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getDomain(), "Domain should NOT be null"); checkStringNotEmpty(request.getApp(), "App should NOT be nul...
[ "public", "ListStreamStatisticsResponse", "listStreamStatistics", "(", "ListStreamStatisticsRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "checkStringNotEmpty", "(", "request", ".", "getDomain", ...
list domain's all streams statistics in the live stream service. @param request The request object containing all options for listing domain's all streams traffic statistics @return the response
[ "list", "domain", "s", "all", "streams", "statistics", "in", "the", "live", "stream", "service", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L2018-L2049
58,894
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/lss/LssClient.java
LssClient.getStreamStatistics
public GetStreamStatisticsResponse getStreamStatistics(GetStreamStatisticsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getDomain(), "Domain should NOT be null"); checkStringNotEmpty(request.getApp(), "App should NOT be null")...
java
public GetStreamStatisticsResponse getStreamStatistics(GetStreamStatisticsRequest request) { checkNotNull(request, "The parameter request should NOT be null."); checkStringNotEmpty(request.getDomain(), "Domain should NOT be null"); checkStringNotEmpty(request.getApp(), "App should NOT be null")...
[ "public", "GetStreamStatisticsResponse", "getStreamStatistics", "(", "GetStreamStatisticsRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"The parameter request should NOT be null.\"", ")", ";", "checkStringNotEmpty", "(", "request", ".", "getDomain", "("...
get a domain's all streams statistics in the live stream service. @param request The request object containing all options for getting a domain's all streams @return the response
[ "get", "a", "domain", "s", "all", "streams", "statistics", "in", "the", "live", "stream", "service", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/lss/LssClient.java#L2057-L2077
58,895
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/vpc/VpcClient.java
VpcClient.createVpc
public CreateVpcResponse createVpc(String name, String cidr) { CreateVpcRequest request = new CreateVpcRequest(); request.withName(name).withCidr(cidr); return createVpc(request); }
java
public CreateVpcResponse createVpc(String name, String cidr) { CreateVpcRequest request = new CreateVpcRequest(); request.withName(name).withCidr(cidr); return createVpc(request); }
[ "public", "CreateVpcResponse", "createVpc", "(", "String", "name", ",", "String", "cidr", ")", "{", "CreateVpcRequest", "request", "=", "new", "CreateVpcRequest", "(", ")", ";", "request", ".", "withName", "(", "name", ")", ".", "withCidr", "(", "cidr", ")",...
Create a vpc with the specified options. @param name The name of vpc @param cidr The CIDR of vpc @return List of vpcId newly created
[ "Create", "a", "vpc", "with", "the", "specified", "options", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/vpc/VpcClient.java#L156-L160
58,896
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/vpc/VpcClient.java
VpcClient.listVpcs
public ListVpcsResponse listVpcs(ListVpcsRequest request) { checkNotNull(request, "request should not be null."); InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, VPC_PREFIX); if (request.getMarker() != null) { internalRequest.addParameter("marker", r...
java
public ListVpcsResponse listVpcs(ListVpcsRequest request) { checkNotNull(request, "request should not be null."); InternalRequest internalRequest = this.createRequest(request, HttpMethodName.GET, VPC_PREFIX); if (request.getMarker() != null) { internalRequest.addParameter("marker", r...
[ "public", "ListVpcsResponse", "listVpcs", "(", "ListVpcsRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"request should not be null.\"", ")", ";", "InternalRequest", "internalRequest", "=", "this", ".", "createRequest", "(", "request", ",", "Http...
Return a list of vpcs owned by the authenticated user. @param request The request containing all options for listing own's vpc. @return The response containing a list of vpcs owned by the authenticated user.
[ "Return", "a", "list", "of", "vpcs", "owned", "by", "the", "authenticated", "user", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/vpc/VpcClient.java#L200-L213
58,897
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/vpc/VpcClient.java
VpcClient.getVpc
public GetVpcResponse getVpc(GetVpcRequest getVpcRequest) { checkNotNull(getVpcRequest, "request should not be null."); checkNotNull(getVpcRequest.getVpcId(), "request vpcId should not be null."); InternalRequest internalRequest = this.createRequest( getVpcRequest, HttpMethodName...
java
public GetVpcResponse getVpc(GetVpcRequest getVpcRequest) { checkNotNull(getVpcRequest, "request should not be null."); checkNotNull(getVpcRequest.getVpcId(), "request vpcId should not be null."); InternalRequest internalRequest = this.createRequest( getVpcRequest, HttpMethodName...
[ "public", "GetVpcResponse", "getVpc", "(", "GetVpcRequest", "getVpcRequest", ")", "{", "checkNotNull", "(", "getVpcRequest", ",", "\"request should not be null.\"", ")", ";", "checkNotNull", "(", "getVpcRequest", ".", "getVpcId", "(", ")", ",", "\"request vpcId should n...
Get the detail information of specified vpc. @param getVpcRequest The request containing all options for getting the vpc info. @return A vpc detail model for the vpcId.
[ "Get", "the", "detail", "information", "of", "specified", "vpc", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/vpc/VpcClient.java#L231-L237
58,898
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/vpc/VpcClient.java
VpcClient.modifyInstanceAttributes
public void modifyInstanceAttributes(String name, String vpcId) { ModifyVpcAttributesRequest request = new ModifyVpcAttributesRequest(); modifyInstanceAttributes(request.withName(name).withVpcId(vpcId)); }
java
public void modifyInstanceAttributes(String name, String vpcId) { ModifyVpcAttributesRequest request = new ModifyVpcAttributesRequest(); modifyInstanceAttributes(request.withName(name).withVpcId(vpcId)); }
[ "public", "void", "modifyInstanceAttributes", "(", "String", "name", ",", "String", "vpcId", ")", "{", "ModifyVpcAttributesRequest", "request", "=", "new", "ModifyVpcAttributesRequest", "(", ")", ";", "modifyInstanceAttributes", "(", "request", ".", "withName", "(", ...
Modifying the special attribute to new value of the vpc owned by the user. @param name The name of the vpc after modifying @param vpcId the id of the vpc
[ "Modifying", "the", "special", "attribute", "to", "new", "value", "of", "the", "vpc", "owned", "by", "the", "user", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/vpc/VpcClient.java#L274-L277
58,899
baidubce/bce-sdk-java
src/main/java/com/baidubce/services/bmr/BmrClient.java
BmrClient.getCluster
public GetClusterResponse getCluster(GetClusterRequest request) { checkNotNull(request, "request should not be null."); checkStringNotEmpty(request.getClusterId(), "The parameter clusterId should not be null or empty string."); InternalRequest internalRequest = this.createRequest( ...
java
public GetClusterResponse getCluster(GetClusterRequest request) { checkNotNull(request, "request should not be null."); checkStringNotEmpty(request.getClusterId(), "The parameter clusterId should not be null or empty string."); InternalRequest internalRequest = this.createRequest( ...
[ "public", "GetClusterResponse", "getCluster", "(", "GetClusterRequest", "request", ")", "{", "checkNotNull", "(", "request", ",", "\"request should not be null.\"", ")", ";", "checkStringNotEmpty", "(", "request", ".", "getClusterId", "(", ")", ",", "\"The parameter clu...
Describe the detail information of the target cluster. @param request The request object containing the ID of the target cluster. @return response containing the detail information of the target cluster.
[ "Describe", "the", "detail", "information", "of", "the", "target", "cluster", "." ]
f7140f28dd82121515c88ded7bfe769a37d0ec4a
https://github.com/baidubce/bce-sdk-java/blob/f7140f28dd82121515c88ded7bfe769a37d0ec4a/src/main/java/com/baidubce/services/bmr/BmrClient.java#L167-L175