@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EksPodPropertiesOverride extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains overrides for the Kubernetes pod properties of a job.
Constructor and Description |
---|
EksPodPropertiesOverride() |
Modifier and Type | Method and Description |
---|---|
EksPodPropertiesOverride |
clone() |
boolean |
equals(Object obj) |
List<EksContainerOverride> |
getContainers()
The overrides for the container that's used on the Amazon EKS pod.
|
EksMetadata |
getMetadata()
Metadata about the overrides for the container that's used on the Amazon EKS pod.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContainers(Collection<EksContainerOverride> containers)
The overrides for the container that's used on the Amazon EKS pod.
|
void |
setMetadata(EksMetadata metadata)
Metadata about the overrides for the container that's used on the Amazon EKS pod.
|
String |
toString()
Returns a string representation of this object.
|
EksPodPropertiesOverride |
withContainers(Collection<EksContainerOverride> containers)
The overrides for the container that's used on the Amazon EKS pod.
|
EksPodPropertiesOverride |
withContainers(EksContainerOverride... containers)
The overrides for the container that's used on the Amazon EKS pod.
|
EksPodPropertiesOverride |
withMetadata(EksMetadata metadata)
Metadata about the overrides for the container that's used on the Amazon EKS pod.
|
public List<EksContainerOverride> getContainers()
The overrides for the container that's used on the Amazon EKS pod.
public void setContainers(Collection<EksContainerOverride> containers)
The overrides for the container that's used on the Amazon EKS pod.
containers
- The overrides for the container that's used on the Amazon EKS pod.public EksPodPropertiesOverride withContainers(EksContainerOverride... containers)
The overrides for the container that's used on the Amazon EKS pod.
NOTE: This method appends the values to the existing list (if any). Use
setContainers(java.util.Collection)
or withContainers(java.util.Collection)
if you want to
override the existing values.
containers
- The overrides for the container that's used on the Amazon EKS pod.public EksPodPropertiesOverride withContainers(Collection<EksContainerOverride> containers)
The overrides for the container that's used on the Amazon EKS pod.
containers
- The overrides for the container that's used on the Amazon EKS pod.public void setMetadata(EksMetadata metadata)
Metadata about the overrides for the container that's used on the Amazon EKS pod.
metadata
- Metadata about the overrides for the container that's used on the Amazon EKS pod.public EksMetadata getMetadata()
Metadata about the overrides for the container that's used on the Amazon EKS pod.
public EksPodPropertiesOverride withMetadata(EksMetadata metadata)
Metadata about the overrides for the container that's used on the Amazon EKS pod.
metadata
- Metadata about the overrides for the container that's used on the Amazon EKS pod.public String toString()
toString
in class Object
Object.toString()
public EksPodPropertiesOverride clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.