Interface OciConfigProvider
- 
- All Known Implementing Classes:
- OciConfigInstancePrincipal,- OciConfigProfile,- OciConfigResourcePrincipal
 
 @Deprecated(since="2.5.0", forRemoval=true) public interface OciConfigProvider Deprecated, for removal: This API element is subject to removal in a future version.OCI SDK insteadProvider of data needed to connect to OCI, and to use its APIs.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default Optional<String>domain()Deprecated, for removal: This API element is subject to removal in a future version.OCI domain to use.default Single<OciSignatureData>refresh()Deprecated, for removal: This API element is subject to removal in a future version.Refresh may be used for providers that can be reloaded.Stringregion()Deprecated, for removal: This API element is subject to removal in a future version.Current OCI region.OciSignatureDatasignatureData()Deprecated, for removal: This API element is subject to removal in a future version.Get the current signature data.StringtenancyOcid()Deprecated, for removal: This API element is subject to removal in a future version.OCID of the tenancy.
 
- 
- 
- 
Method Detail- 
signatureDataOciSignatureData signatureData() Deprecated, for removal: This API element is subject to removal in a future version.Get the current signature data.- Returns:
- current signature data
 
 - 
regionString region() Deprecated, for removal: This API element is subject to removal in a future version.Current OCI region.- Returns:
- OCI region, such as eu-frankfurt-1
 
 - 
tenancyOcidString tenancyOcid() Deprecated, for removal: This API element is subject to removal in a future version.OCID of the tenancy.- Returns:
- tenancy OCID
 
 - 
domaindefault Optional<String> domain() Deprecated, for removal: This API element is subject to removal in a future version.OCI domain to use. If not available REST API will use the default or configured domain to call REST services.- Returns:
- current OCI domain if avialable
 
 - 
refreshdefault Single<OciSignatureData> refresh() Deprecated, for removal: This API element is subject to removal in a future version.Refresh may be used for providers that can be reloaded. The method is called when an invocation fails (for the first time) with a 401 exception.- Returns:
- future with signature data, if no refresh was done, the instance will be the same as when
  signatureData()was called.
 
 
- 
 
-