Class OciConfigInstancePrincipal

    • Method Detail

      • builder

        public static OciConfigInstancePrincipal.Builder builder()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Fluent API builder to create customized instances.
        Returns:
        a new builder
      • create

        public static OciConfigInstancePrincipal create()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Create a new instance from environment.
        Returns:
        a new instance
      • signatureData

        public OciSignatureData signatureData()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: OciConfigProvider
        Get the current signature data.
        Specified by:
        signatureData in interface OciConfigProvider
        Returns:
        current signature data
      • region

        public String region()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: OciConfigProvider
        Current OCI region.
        Specified by:
        region in interface OciConfigProvider
        Returns:
        OCI region, such as eu-frankfurt-1
      • tenancyOcid

        public String tenancyOcid()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: OciConfigProvider
        OCID of the tenancy.
        Specified by:
        tenancyOcid in interface OciConfigProvider
        Returns:
        tenancy OCID
      • refresh

        public Single<OciSignatureData> refresh()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: OciConfigProvider
        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.
        Specified by:
        refresh in interface OciConfigProvider
        Returns:
        future with signature data, if no refresh was done, the instance will be the same as when OciConfigProvider.signatureData() was called.