Class PodOS
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PodOS.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.String
getName()
Name is the name of the operating system.int
hashCode()
void
setName(@NonNull java.lang.String name)
Name is the name of the operating system.PodOS.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static PodOS.Builder builder()
-
toBuilder
public PodOS.Builder toBuilder()
-
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 classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-