Class ObjectFieldSelector
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.ObjectFieldSelector
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class ObjectFieldSelector extends java.lang.Object implements com.marcnuri.yakc.model.Model
ObjectFieldSelector selects an APIVersioned field of an object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ObjectFieldSelector.Builder
-
Constructor Summary
Constructors Constructor Description ObjectFieldSelector()
ObjectFieldSelector(java.lang.String apiVersion, @NonNull java.lang.String fieldPath)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectFieldSelector.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getApiVersion()
Version of the schema the FieldPath is written in terms of, defaults to "v1".@NonNull java.lang.String
getFieldPath()
Path of the field to select in the specified API version.int
hashCode()
void
setApiVersion(java.lang.String apiVersion)
Version of the schema the FieldPath is written in terms of, defaults to "v1".void
setFieldPath(@NonNull java.lang.String fieldPath)
Path of the field to select in the specified API version.ObjectFieldSelector.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static ObjectFieldSelector.Builder builder()
-
toBuilder
public ObjectFieldSelector.Builder toBuilder()
-
getApiVersion
public java.lang.String getApiVersion()
Version of the schema the FieldPath is written in terms of, defaults to "v1".
-
getFieldPath
@NonNull public @NonNull java.lang.String getFieldPath()
Path of the field to select in the specified API version.
-
setApiVersion
public void setApiVersion(java.lang.String apiVersion)
Version of the schema the FieldPath is written in terms of, defaults to "v1".
-
setFieldPath
public void setFieldPath(@NonNull @NonNull java.lang.String fieldPath)
Path of the field to select in the specified API version.
-
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
-
-