Class IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions
    extends Object
    RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.
    • Field Detail

      • JSON_PROPERTY_ALLOWED_RUNTIME_CLASS_NAMES

        public static final String JSON_PROPERTY_ALLOWED_RUNTIME_CLASS_NAMES
        See Also:
        Constant Field Values
      • JSON_PROPERTY_DEFAULT_RUNTIME_CLASS_NAME

        public static final String JSON_PROPERTY_DEFAULT_RUNTIME_CLASS_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions

        public IoK8sApiPolicyV1beta1RuntimeClassStrategyOptions()
    • Method Detail

      • getAllowedRuntimeClassNames

        public List<String> getAllowedRuntimeClassNames()
        allowedRuntimeClassNames is a whitelist of RuntimeClass names that may be specified on a pod. A value of \"*\" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
        Returns:
        allowedRuntimeClassNames
      • setAllowedRuntimeClassNames

        public void setAllowedRuntimeClassNames​(List<String> allowedRuntimeClassNames)
      • getDefaultRuntimeClassName

        @Nullable
        public String getDefaultRuntimeClassName()
        defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod.
        Returns:
        defaultRuntimeClassName
      • setDefaultRuntimeClassName

        public void setDefaultRuntimeClassName​(String defaultRuntimeClassName)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object