public class RegionEndpointBuilder extends Object implements EndpointBuilder
Constructor and Description |
---|
RegionEndpointBuilder(Region region) |
Modifier and Type | Method and Description |
---|---|
String |
buildGeneralApiEndpoint(String bucketName)
build endpoint endpoint, the endpoint is used by bucket and objects api.
|
String |
buildGetServiceApiEndpoint()
the endpoint is used by Get Service Api.
|
public RegionEndpointBuilder(Region region)
public String buildGeneralApiEndpoint(String bucketName)
EndpointBuilder
buildGeneralApiEndpoint
in interface EndpointBuilder
bucketName
- the bucketName should contain the appid. for example. movie-12510000.public String buildGetServiceApiEndpoint()
EndpointBuilder
buildGetServiceApiEndpoint
in interface EndpointBuilder
Copyright © 2024. All rights reserved.