#[non_exhaustive]pub struct ContainerServiceRegistryLoginBuilder { /* private fields */ }
Expand description
A builder for ContainerServiceRegistryLogin
.
Implementations§
source§impl ContainerServiceRegistryLoginBuilder
impl ContainerServiceRegistryLoginBuilder
sourcepub fn username(self, input: impl Into<String>) -> Self
pub fn username(self, input: impl Into<String>) -> Self
The container service registry username to use to push container images to the container image registry of a Lightsail account.
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
The container service registry username to use to push container images to the container image registry of a Lightsail account.
sourcepub fn get_username(&self) -> &Option<String>
pub fn get_username(&self) -> &Option<String>
The container service registry username to use to push container images to the container image registry of a Lightsail account.
sourcepub fn password(self, input: impl Into<String>) -> Self
pub fn password(self, input: impl Into<String>) -> Self
The container service registry password to use to push container images to the container image registry of a Lightsail account
sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
The container service registry password to use to push container images to the container image registry of a Lightsail account
sourcepub fn get_password(&self) -> &Option<String>
pub fn get_password(&self) -> &Option<String>
The container service registry password to use to push container images to the container image registry of a Lightsail account
sourcepub fn expires_at(self, input: DateTime) -> Self
pub fn expires_at(self, input: DateTime) -> Self
The timestamp of when the container image registry sign-in credentials expire.
The log in credentials expire 12 hours after they are created, at which point you will need to create a new set of log in credentials using the CreateContainerServiceRegistryLogin
action.
sourcepub fn set_expires_at(self, input: Option<DateTime>) -> Self
pub fn set_expires_at(self, input: Option<DateTime>) -> Self
The timestamp of when the container image registry sign-in credentials expire.
The log in credentials expire 12 hours after they are created, at which point you will need to create a new set of log in credentials using the CreateContainerServiceRegistryLogin
action.
sourcepub fn get_expires_at(&self) -> &Option<DateTime>
pub fn get_expires_at(&self) -> &Option<DateTime>
The timestamp of when the container image registry sign-in credentials expire.
The log in credentials expire 12 hours after they are created, at which point you will need to create a new set of log in credentials using the CreateContainerServiceRegistryLogin
action.
sourcepub fn registry(self, input: impl Into<String>) -> Self
pub fn registry(self, input: impl Into<String>) -> Self
The address to use to push container images to the container image registry of a Lightsail account.
sourcepub fn set_registry(self, input: Option<String>) -> Self
pub fn set_registry(self, input: Option<String>) -> Self
The address to use to push container images to the container image registry of a Lightsail account.
sourcepub fn get_registry(&self) -> &Option<String>
pub fn get_registry(&self) -> &Option<String>
The address to use to push container images to the container image registry of a Lightsail account.
sourcepub fn build(self) -> ContainerServiceRegistryLogin
pub fn build(self) -> ContainerServiceRegistryLogin
Consumes the builder and constructs a ContainerServiceRegistryLogin
.
Trait Implementations§
source§impl Clone for ContainerServiceRegistryLoginBuilder
impl Clone for ContainerServiceRegistryLoginBuilder
source§fn clone(&self) -> ContainerServiceRegistryLoginBuilder
fn clone(&self) -> ContainerServiceRegistryLoginBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ContainerServiceRegistryLoginBuilder
impl Default for ContainerServiceRegistryLoginBuilder
source§fn default() -> ContainerServiceRegistryLoginBuilder
fn default() -> ContainerServiceRegistryLoginBuilder
source§impl PartialEq for ContainerServiceRegistryLoginBuilder
impl PartialEq for ContainerServiceRegistryLoginBuilder
source§fn eq(&self, other: &ContainerServiceRegistryLoginBuilder) -> bool
fn eq(&self, other: &ContainerServiceRegistryLoginBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContainerServiceRegistryLoginBuilder
Auto Trait Implementations§
impl Freeze for ContainerServiceRegistryLoginBuilder
impl RefUnwindSafe for ContainerServiceRegistryLoginBuilder
impl Send for ContainerServiceRegistryLoginBuilder
impl Sync for ContainerServiceRegistryLoginBuilder
impl Unpin for ContainerServiceRegistryLoginBuilder
impl UnwindSafe for ContainerServiceRegistryLoginBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more