Class PodOS

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class PodOS
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    PodOS defines the OS parameters of a pod.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PodOS.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      PodOS()  
      PodOS​(@NonNull java.lang.String name)  
    • Constructor Detail

      • PodOS

        public PodOS​(@NonNull
                     @NonNull java.lang.String name)
      • PodOS

        public PodOS()
    • Method Detail

      • getName

        @NonNull
        public @NonNull java.lang.String getName()
        Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null
      • setName

        public void setName​(@NonNull
                            @NonNull java.lang.String name)
        Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object