Struct aws_sdk_batch::model::eks_secret::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EksSecret
.
Implementations§
source§impl Builder
impl Builder
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.