Struct aws_sdk_batch::types::EksMetadata
source · #[non_exhaustive]pub struct EksMetadata {
pub labels: Option<HashMap<String, String>>,
}
Expand description
Describes and uniquely identifies Kubernetes resources. For example, the compute environment that a pod runs in or the jobID
for a job running in the pod. For more information, see Understanding Kubernetes Objects in the Kubernetes documentation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.labels: Option<HashMap<String, String>>
Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object.
Implementations§
source§impl EksMetadata
impl EksMetadata
sourcepub fn labels(&self) -> Option<&HashMap<String, String>>
pub fn labels(&self) -> Option<&HashMap<String, String>>
Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object.
source§impl EksMetadata
impl EksMetadata
sourcepub fn builder() -> EksMetadataBuilder
pub fn builder() -> EksMetadataBuilder
Creates a new builder-style object to manufacture EksMetadata
.
Trait Implementations§
source§impl Clone for EksMetadata
impl Clone for EksMetadata
source§fn clone(&self) -> EksMetadata
fn clone(&self) -> EksMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EksMetadata
impl Debug for EksMetadata
source§impl PartialEq<EksMetadata> for EksMetadata
impl PartialEq<EksMetadata> for EksMetadata
source§fn eq(&self, other: &EksMetadata) -> bool
fn eq(&self, other: &EksMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.