Class ExpressionWarning.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.admissionregistration.v1beta1.ExpressionWarning.Builder
-
- Enclosing class:
- ExpressionWarning
public static class ExpressionWarning.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionWarning
build()
ExpressionWarning.Builder
fieldRef(@NonNull java.lang.String fieldRef)
The path to the field that refers the expression.java.lang.String
toString()
ExpressionWarning.Builder
warning(@NonNull java.lang.String warning)
The content of type checking information in a human-readable form.
-
-
-
Method Detail
-
fieldRef
public ExpressionWarning.Builder fieldRef(@NonNull @NonNull java.lang.String fieldRef)
The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"- Returns:
this
.
-
warning
public ExpressionWarning.Builder warning(@NonNull @NonNull java.lang.String warning)
The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.- Returns:
this
.
-
build
public ExpressionWarning build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-