Class PodFailurePolicyOnExitCodesRequirement.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.PodFailurePolicyOnExitCodesRequirement.Jsii$Proxy
-
- All Implemented Interfaces:
PodFailurePolicyOnExitCodesRequirement,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PodFailurePolicyOnExitCodesRequirement
@Stability(Stable) @Internal public static final class PodFailurePolicyOnExitCodesRequirement.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PodFailurePolicyOnExitCodesRequirement
An implementation forPodFailurePolicyOnExitCodesRequirement
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.PodFailurePolicyOnExitCodesRequirement
PodFailurePolicyOnExitCodesRequirement.Builder, PodFailurePolicyOnExitCodesRequirement.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PodFailurePolicyOnExitCodesRequirement.Builder builder)Constructor that initializes the object based on literal property values passed by thePodFailurePolicyOnExitCodesRequirement.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetContainerName()Restricts the check for exit codes to the container with the specified name.StringgetOperator()Represents the relationship between the container exit code(s) and the specified values.List<Number>getValues()Specifies the set of values.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(PodFailurePolicyOnExitCodesRequirement.Builder builder)
Constructor that initializes the object based on literal property values passed by thePodFailurePolicyOnExitCodesRequirement.Builder.
-
-
Method Detail
-
getOperator
public final String getOperator()
Description copied from interface:PodFailurePolicyOnExitCodesRequirementRepresents the relationship between the container exit code(s) and the specified values.Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are: - In: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is in the set of specified values.
- NotIn: the requirement is satisfied if at least one container exit code (might be multiple if there are multiple containers not restricted by the 'containerName' field) is not in the set of specified values. Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
- Specified by:
getOperatorin interfacePodFailurePolicyOnExitCodesRequirement
-
getValues
public final List<Number> getValues()
Description copied from interface:PodFailurePolicyOnExitCodesRequirementSpecifies the set of values.Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
- Specified by:
getValuesin interfacePodFailurePolicyOnExitCodesRequirement
-
getContainerName
public final String getContainerName()
Description copied from interface:PodFailurePolicyOnExitCodesRequirementRestricts the check for exit codes to the container with the specified name.When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
- Specified by:
getContainerNamein interfacePodFailurePolicyOnExitCodesRequirement
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-