Package com.oracle.bmc
Interface Service
-
public interface ServiceInterface representing a service definition.See
Servicesto create new instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetEndpointServiceName()The service endpoint name that will be used only for dotted regions if set by the service.StringgetServiceEndpointPrefix()The service endpoint prefix that will be used, ex “iaas” for “https://iaas.us-phoenix-1.oraclecloud.com”.StringgetServiceEndpointTemplate()The service endpoint template that will be used, ex "{serviceEndpointPrefix}.Map<String,String>getServiceEndpointTemplateForRealmMap()The map of all realm-specific service endpoint templates with realmId as key and endpoint template for corresponding realmId as the value ex "oc1={serviceParameter}{serviceEndpointPrefix}.StringgetServiceName()The unique service name, ex “BLOCKSTORAGE”.booleanserviceUsesDualStackByDefault()A boolean which determines whether dual stack endpoints have been enabled by the service.
-
-
-
Method Detail
-
getServiceName
String getServiceName()
The unique service name, ex “BLOCKSTORAGE”.Must not be null.
-
getServiceEndpointPrefix
String getServiceEndpointPrefix()
The service endpoint prefix that will be used, ex “iaas” for “https://iaas.us-phoenix-1.oraclecloud.com”.
-
getServiceEndpointTemplate
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.
-
getServiceEndpointTemplateForRealmMap
Map<String,String> getServiceEndpointTemplateForRealmMap()
The map of all realm-specific service endpoint templates with realmId as key and endpoint template for corresponding realmId as the value ex "oc1={serviceParameter}{serviceEndpointPrefix}.{region}.{serviceSecondLevelDomain}".
This overrides the template used in
DefaultEndpointConfiguration, but can still use the same variables.
-
getEndpointServiceName
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.
-
serviceUsesDualStackByDefault
boolean serviceUsesDualStackByDefault()
A boolean which determines whether dual stack endpoints have been enabled by the service.Default value is false.
-
-