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.
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 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.
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<EksSecretBuilder> for EksSecretBuilder
impl PartialEq<EksSecretBuilder> 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 ==
.