pub struct OciBuilder { /* private fields */ }Expand description
OCI client builder
Implementations§
Source§impl OciBuilder
impl OciBuilder
Sourcepub fn config(self, path: impl AsRef<Path>) -> Result<Self>
pub fn config(self, path: impl AsRef<Path>) -> Result<Self>
Load configuration from OCI config file
pub fn user_id(self, user_id: impl Into<String>) -> Self
pub fn auth_mode(self, auth_mode: AuthMode) -> Self
pub fn tenancy_id(self, tenancy_id: impl Into<String>) -> Self
pub fn region(self, region: impl Into<String>) -> Self
pub fn realm_domain_component( self, realm_domain_component: impl Into<String>, ) -> Self
pub fn fingerprint(self, fingerprint: impl Into<String>) -> Self
pub fn private_key(self, private_key: impl Into<String>) -> Result<Self>
pub fn compartment_id(self, compartment_id: impl Into<String>) -> Self
pub fn metadata_base_url(self, metadata_base_url: impl Into<String>) -> Self
pub fn build(self) -> Result<Oci>
Trait Implementations§
Source§impl Default for OciBuilder
impl Default for OciBuilder
Source§fn default() -> OciBuilder
fn default() -> OciBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OciBuilder
impl RefUnwindSafe for OciBuilder
impl Send for OciBuilder
impl Sync for OciBuilder
impl Unpin for OciBuilder
impl UnsafeUnpin for OciBuilder
impl UnwindSafe for OciBuilder
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more