Class CustomResourceColumnDefinition
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.apiextensionsapiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class CustomResourceColumnDefinition extends java.lang.Object implements com.marcnuri.yakc.model.Model
CustomResourceColumnDefinition specifies a column for server side printing.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CustomResourceColumnDefinition.Builder
-
Constructor Summary
Constructors Constructor Description CustomResourceColumnDefinition()
CustomResourceColumnDefinition(java.lang.String description, java.lang.String format, @NonNull java.lang.String jsonPath, @NonNull java.lang.String name, java.lang.Number priority, @NonNull java.lang.String type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomResourceColumnDefinition.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getDescription()
description is a human readable description of this column.java.lang.String
getFormat()
format is an optional OpenAPI type definition for this column.@NonNull java.lang.String
getJsonPath()
jsonPath is a simple JSON path (i.e.@NonNull java.lang.String
getName()
name is a human readable name for the column.java.lang.Number
getPriority()
priority is an integer defining the relative importance of this column compared to others.@NonNull java.lang.String
getType()
type is an OpenAPI type definition for this column.int
hashCode()
void
setDescription(java.lang.String description)
description is a human readable description of this column.void
setFormat(java.lang.String format)
format is an optional OpenAPI type definition for this column.void
setJsonPath(@NonNull java.lang.String jsonPath)
jsonPath is a simple JSON path (i.e.void
setName(@NonNull java.lang.String name)
name is a human readable name for the column.void
setPriority(java.lang.Number priority)
priority is an integer defining the relative importance of this column compared to others.void
setType(@NonNull java.lang.String type)
type is an OpenAPI type definition for this column.CustomResourceColumnDefinition.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
CustomResourceColumnDefinition
public CustomResourceColumnDefinition(java.lang.String description, java.lang.String format, @NonNull @NonNull java.lang.String jsonPath, @NonNull @NonNull java.lang.String name, java.lang.Number priority, @NonNull @NonNull java.lang.String type)
-
CustomResourceColumnDefinition
public CustomResourceColumnDefinition()
-
-
Method Detail
-
builder
public static CustomResourceColumnDefinition.Builder builder()
-
toBuilder
public CustomResourceColumnDefinition.Builder toBuilder()
-
getDescription
public java.lang.String getDescription()
description is a human readable description of this column.
-
getFormat
public java.lang.String getFormat()
format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
-
getJsonPath
@NonNull public @NonNull java.lang.String getJsonPath()
jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
-
getName
@NonNull public @NonNull java.lang.String getName()
name is a human readable name for the column.
-
getPriority
public java.lang.Number getPriority()
priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
-
getType
@NonNull public @NonNull java.lang.String getType()
type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
-
setDescription
public void setDescription(java.lang.String description)
description is a human readable description of this column.
-
setFormat
public void setFormat(java.lang.String format)
format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
-
setJsonPath
public void setJsonPath(@NonNull @NonNull java.lang.String jsonPath)
jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.
-
setName
public void setName(@NonNull @NonNull java.lang.String name)
name is a human readable name for the column.
-
setPriority
public void setPriority(java.lang.Number priority)
priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.
-
setType
public void setType(@NonNull @NonNull java.lang.String type)
type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.
-
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
-
-