/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.batch.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* 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.
*
* 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. *
*/ private java.util.Map* 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. *
* * @return 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 java.util.Map* 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. *
* * @param 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 void setLabels(java.util.Map* 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public EksMetadata withLabels(java.util.Map