Struct aws_sdk_batch::types::builders::ImagePullSecretBuilder
source · #[non_exhaustive]pub struct ImagePullSecretBuilder { /* private fields */ }
Expand description
A builder for ImagePullSecret
.
Implementations§
source§impl ImagePullSecretBuilder
impl ImagePullSecretBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Provides a unique identifier for the ImagePullSecret
. This object is required when EksPodProperties$imagePullSecrets
is used.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Provides a unique identifier for the ImagePullSecret
. This object is required when EksPodProperties$imagePullSecrets
is used.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
Provides a unique identifier for the ImagePullSecret
. This object is required when EksPodProperties$imagePullSecrets
is used.
sourcepub fn build(self) -> ImagePullSecret
pub fn build(self) -> ImagePullSecret
Consumes the builder and constructs a ImagePullSecret
.
Trait Implementations§
source§impl Clone for ImagePullSecretBuilder
impl Clone for ImagePullSecretBuilder
source§fn clone(&self) -> ImagePullSecretBuilder
fn clone(&self) -> ImagePullSecretBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImagePullSecretBuilder
impl Debug for ImagePullSecretBuilder
source§impl Default for ImagePullSecretBuilder
impl Default for ImagePullSecretBuilder
source§fn default() -> ImagePullSecretBuilder
fn default() -> ImagePullSecretBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ImagePullSecretBuilder
impl PartialEq for ImagePullSecretBuilder
source§fn eq(&self, other: &ImagePullSecretBuilder) -> bool
fn eq(&self, other: &ImagePullSecretBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImagePullSecretBuilder
Auto Trait Implementations§
impl Freeze for ImagePullSecretBuilder
impl RefUnwindSafe for ImagePullSecretBuilder
impl Send for ImagePullSecretBuilder
impl Sync for ImagePullSecretBuilder
impl Unpin for ImagePullSecretBuilder
impl UnwindSafe for ImagePullSecretBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.