Struct aws_sdk_ecrpublic::types::builders::AuthorizationDataBuilder
source · #[non_exhaustive]pub struct AuthorizationDataBuilder { /* private fields */ }
Expand description
A builder for AuthorizationData
.
Implementations§
source§impl AuthorizationDataBuilder
impl AuthorizationDataBuilder
A base64-encoded string that contains authorization data for a public Amazon ECR registry. When the string is decoded, it's presented in the format user:password
for public registry authentication using docker login
.
A base64-encoded string that contains authorization data for a public Amazon ECR registry. When the string is decoded, it's presented in the format user:password
for public registry authentication using docker login
.
A base64-encoded string that contains authorization data for a public Amazon ECR registry. When the string is decoded, it's presented in the format user:password
for public registry authentication using docker login
.
sourcepub fn expires_at(self, input: DateTime) -> Self
pub fn expires_at(self, input: DateTime) -> Self
The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.
sourcepub fn set_expires_at(self, input: Option<DateTime>) -> Self
pub fn set_expires_at(self, input: Option<DateTime>) -> Self
The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.
sourcepub fn get_expires_at(&self) -> &Option<DateTime>
pub fn get_expires_at(&self) -> &Option<DateTime>
The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.
sourcepub fn build(self) -> AuthorizationData
pub fn build(self) -> AuthorizationData
Consumes the builder and constructs a AuthorizationData
.
Trait Implementations§
source§impl Clone for AuthorizationDataBuilder
impl Clone for AuthorizationDataBuilder
source§fn clone(&self) -> AuthorizationDataBuilder
fn clone(&self) -> AuthorizationDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AuthorizationDataBuilder
impl Debug for AuthorizationDataBuilder
source§impl Default for AuthorizationDataBuilder
impl Default for AuthorizationDataBuilder
source§fn default() -> AuthorizationDataBuilder
fn default() -> AuthorizationDataBuilder
source§impl PartialEq for AuthorizationDataBuilder
impl PartialEq for AuthorizationDataBuilder
source§fn eq(&self, other: &AuthorizationDataBuilder) -> bool
fn eq(&self, other: &AuthorizationDataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthorizationDataBuilder
Auto Trait Implementations§
impl Freeze for AuthorizationDataBuilder
impl RefUnwindSafe for AuthorizationDataBuilder
impl Send for AuthorizationDataBuilder
impl Sync for AuthorizationDataBuilder
impl Unpin for AuthorizationDataBuilder
impl UnwindSafe for AuthorizationDataBuilder
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