Struct aws_sdk_batch::types::builders::EksSecretBuilder
source · #[non_exhaustive]pub struct EksSecretBuilder { /* private fields */ }
Expand description
A builder for EksSecret
.
Implementations§
source§impl EksSecretBuilder
impl EksSecretBuilder
sourcepub fn secret_name(self, input: impl Into<String>) -> Self
pub fn secret_name(self, input: impl Into<String>) -> Self
The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
This field is required.sourcepub fn set_secret_name(self, input: Option<String>) -> Self
pub fn set_secret_name(self, input: Option<String>) -> Self
The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
sourcepub fn get_secret_name(&self) -> &Option<String>
pub fn get_secret_name(&self) -> &Option<String>
The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
sourcepub fn optional(self, input: bool) -> Self
pub fn optional(self, input: bool) -> Self
Specifies whether the secret or the secret's keys must be defined.
sourcepub fn set_optional(self, input: Option<bool>) -> Self
pub fn set_optional(self, input: Option<bool>) -> Self
Specifies whether the secret or the secret's keys must be defined.
sourcepub fn get_optional(&self) -> &Option<bool>
pub fn get_optional(&self) -> &Option<bool>
Specifies whether the secret or the secret's keys must be defined.
Trait Implementations§
source§impl Clone for EksSecretBuilder
impl Clone for EksSecretBuilder
source§fn clone(&self) -> EksSecretBuilder
fn clone(&self) -> EksSecretBuilder
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 EksSecretBuilder
impl Debug for EksSecretBuilder
source§impl Default for EksSecretBuilder
impl Default for EksSecretBuilder
source§fn default() -> EksSecretBuilder
fn default() -> EksSecretBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EksSecretBuilder
impl PartialEq for EksSecretBuilder
source§fn eq(&self, other: &EksSecretBuilder) -> bool
fn eq(&self, other: &EksSecretBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EksSecretBuilder
Auto Trait Implementations§
impl Freeze for EksSecretBuilder
impl RefUnwindSafe for EksSecretBuilder
impl Send for EksSecretBuilder
impl Sync for EksSecretBuilder
impl Unpin for EksSecretBuilder
impl UnwindSafe for EksSecretBuilder
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.