@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.
|
List<EksContainerOverride> |
getInitContainers()
The overrides for the conatainers defined in 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 |
setInitContainers(Collection<EksContainerOverride> initContainers)
The overrides for the conatainers defined in 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 |
withInitContainers(Collection<EksContainerOverride> initContainers)
The overrides for the conatainers defined in the Amazon EKS pod.
|
EksPodPropertiesOverride |
withInitContainers(EksContainerOverride... initContainers)
The overrides for the conatainers defined in 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 List<EksContainerOverride> getInitContainers()
The overrides for the conatainers defined in the Amazon EKS pod. These containers run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see Init Containers in the Kubernetes documentation.
This object is limited to 10 elements
This object is limited to 10 elements
public void setInitContainers(Collection<EksContainerOverride> initContainers)
The overrides for the conatainers defined in the Amazon EKS pod. These containers run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see Init Containers in the Kubernetes documentation.
This object is limited to 10 elements
initContainers
- The overrides for the conatainers defined in the Amazon EKS pod. These containers run before application
containers, always runs to completion, and must complete successfully before the next container starts.
These containers are registered with the Amazon EKS Connector agent and persists the registration
information in the Kubernetes backend data store. For more information, see Init Containers in the
Kubernetes documentation. This object is limited to 10 elements
public EksPodPropertiesOverride withInitContainers(EksContainerOverride... initContainers)
The overrides for the conatainers defined in the Amazon EKS pod. These containers run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see Init Containers in the Kubernetes documentation.
This object is limited to 10 elements
NOTE: This method appends the values to the existing list (if any). Use
setInitContainers(java.util.Collection)
or withInitContainers(java.util.Collection)
if you want
to override the existing values.
initContainers
- The overrides for the conatainers defined in the Amazon EKS pod. These containers run before application
containers, always runs to completion, and must complete successfully before the next container starts.
These containers are registered with the Amazon EKS Connector agent and persists the registration
information in the Kubernetes backend data store. For more information, see Init Containers in the
Kubernetes documentation. This object is limited to 10 elements
public EksPodPropertiesOverride withInitContainers(Collection<EksContainerOverride> initContainers)
The overrides for the conatainers defined in the Amazon EKS pod. These containers run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. For more information, see Init Containers in the Kubernetes documentation.
This object is limited to 10 elements
initContainers
- The overrides for the conatainers defined in the Amazon EKS pod. These containers run before application
containers, always runs to completion, and must complete successfully before the next container starts.
These containers are registered with the Amazon EKS Connector agent and persists the registration
information in the Kubernetes backend data store. For more information, see Init Containers in the
Kubernetes documentation. This object is limited to 10 elements
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.