Struct pulumi_wasm_docker::RegistryBuilder
source · pub struct RegistryBuilder<___State = __RegistryBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__Password, __Server, __Username> RegistryBuilder<(__Password, __Server, __Username)>
impl<__Password, __Server, __Username> RegistryBuilder<(__Password, __Server, __Username)>
sourcepub fn build_struct(self) -> Registry
pub fn build_struct(self) -> Registry
Finishes building and returns the requested object.
sourcepub fn maybe_password(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RegistryBuilderSetMember>::Passwordwhere
__Password: IsUnset,
pub fn maybe_password(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RegistryBuilderSetMember>::Passwordwhere
__Password: IsUnset,
Same as [Self::r#password
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn password(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RegistryBuilderSetMember>::Passwordwhere
__Password: IsUnset,
pub fn password(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RegistryBuilderSetMember>::Passwordwhere
__Password: IsUnset,
The password to authenticate to the registry. Does not cause image rebuild when changed.
sourcepub fn maybe_server(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RegistryBuilderSetMember>::Serverwhere
__Server: IsUnset,
pub fn maybe_server(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RegistryBuilderSetMember>::Serverwhere
__Server: IsUnset,
Same as [Self::r#server
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn server(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RegistryBuilderSetMember>::Serverwhere
__Server: IsUnset,
pub fn server(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RegistryBuilderSetMember>::Serverwhere
__Server: IsUnset,
The URL of the Docker registry server
Auto Trait Implementations§
impl<___State> Freeze for RegistryBuilder<___State>where
___State: Freeze,
impl<___State> RefUnwindSafe for RegistryBuilder<___State>where
___State: RefUnwindSafe,
impl<___State> Send for RegistryBuilder<___State>where
___State: Send,
impl<___State> Sync for RegistryBuilder<___State>where
___State: Sync,
impl<___State> Unpin for RegistryBuilder<___State>where
___State: Unpin,
impl<___State> UnwindSafe for RegistryBuilder<___State>where
___State: UnwindSafe,
Blanket Implementations§
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