All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qcloud.cos.endpoint.EndpointBuilder Maven / Gradle / Ivy

There is a newer version: 5.6.238.2
Show newest version
package com.qcloud.cos.endpoint;


/**
 * get the endpoint, the endpoint will be used by host header and EndpointResolver.
 */

public interface EndpointBuilder {  
    /**
     * build endpoint endpoint, the endpoint is used by bucket and objects api. except the get service api.
     * @param bucketName. the bucketname should contain the appid. for example. movie-12510000.
     * @return the endpoint.
     */
    public String buildGeneralApiEndpoint(String bucketName);
    
    /**
     * the endpoint is used by  Get Service Api.
     * @param bucketName
     * @return
     */
    public String buildGetServiceApiEndpoint();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy