public interface Service
Interface representing a service definition.
See Services to create new instances.
| Modifier and Type | Method and Description |
|---|---|
String |
getEndpointServiceName()
The service endpoint name that will be used only for dotted regions if set by the service.
|
String |
getServiceEndpointPrefix()
The service endpoint prefix that will be used, ex “iaas” for
“https://iaas.us-phoenix-1.oraclecloud.com”.
|
String |
getServiceEndpointTemplate()
The service endpoint template that will be used, ex
“{serviceEndpointPrefix}.{region}.service.oci.oraclecloud.com”.
|
String |
getServiceName()
The unique service name, ex “BLOCKSTORAGE”.
|
String getServiceName()
The unique service name, ex “BLOCKSTORAGE”. Must not be null.
String getServiceEndpointPrefix()
The service endpoint prefix that will be used, ex “iaas” for “https://iaas.us-phoenix-1.oraclecloud.com”.
String getServiceEndpointTemplate()
The service endpoint template that will be used, ex “{serviceEndpointPrefix}.{region}.service.oci.oraclecloud.com”.
This overrides the template used in DefaultEndpointConfiguration, but
can still use the same variables.
String getEndpointServiceName()
The service endpoint name that will be used only for dotted regions if set by the service. {service} in “https://{service}.{region}”. The service endpoint template (if specified) will be ignored in this case.
Copyright © 2016–2022. All rights reserved.