public class BcmClient extends AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
BcmClient()
Constructs a new client to invoke service methods on bcm.
|
BcmClient(BceClientConfiguration clientConfiguration)
Constructs a new bbc client using the client configuration to access bcm.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillPayload(InternalRequest internalRequest,
AbstractBceRequest bceRequest)
the method to fill the internalRequest's content field with bceRequest
only support HttpMethodName.POST or HttpMethodName.PUT
|
ListMetricDataResponse |
getMetricData(ListMetricDataRequest request)
Get List Metric Data.
|
MetricDataResponse |
getMetricData(MetricDataRequest request)
Get Metric Data.
|
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownpublic BcmClient()
public BcmClient(BceClientConfiguration clientConfiguration)
clientConfiguration - The bcc client configuration options controlling how this client
connects to bbc (e.g. proxy settings, retry counts, etc).protected void fillPayload(InternalRequest internalRequest, AbstractBceRequest bceRequest)
internalRequest - A request object, populated with endpoint, resource path, ready for callers to populate
any additional headers or parameters, and execute.bceRequest - The original request, as created by the user.public MetricDataResponse getMetricData(MetricDataRequest request)
request - metric data request.public ListMetricDataResponse getMetricData(ListMetricDataRequest request)
request - List Metric Data request.Copyright © 2021. All rights reserved.