@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EksMetadata extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
EksMetadata() |
| Modifier and Type | Method and Description |
|---|---|
EksMetadata |
addLabelsEntry(String key,
String value)
Add a single Labels entry
|
EksMetadata |
clearLabelsEntries()
Removes all the entries added into Labels.
|
EksMetadata |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getLabels()
Key-value pairs used to identify, sort, and organize cube resources.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLabels(Map<String,String> labels)
Key-value pairs used to identify, sort, and organize cube resources.
|
String |
toString()
Returns a string representation of this object.
|
EksMetadata |
withLabels(Map<String,String> labels)
Key-value pairs used to identify, sort, and organize cube resources.
|
public Map<String,String> getLabels()
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.
public void setLabels(Map<String,String> labels)
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.
labels - 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.public EksMetadata withLabels(Map<String,String> labels)
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.
labels - 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.public EksMetadata addLabelsEntry(String key, String value)
public EksMetadata clearLabelsEntries()
public String toString()
toString in class ObjectObject.toString()public EksMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.