Class ExpressionWarning
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.admissionregistration.v1.ExpressionWarning
-
- All Implemented Interfaces:
Editable<ExpressionWarningBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ExpressionWarning extends Object implements Editable<ExpressionWarningBuilder>, KubernetesResource
ExpressionWarning is a warning information that targets a specific expression.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExpressionWarning()No args constructor for use in serializationExpressionWarning(String fieldRef, String warning)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionWarningBuilderedit()Map<String,Object>getAdditionalProperties()StringgetFieldRef()fieldRef is the path to the field that refers to the expression.StringgetWarning()warning contains the content of type checking information in a human-readable form.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFieldRef(String fieldRef)fieldRef is the path to the field that refers to the expression.voidsetWarning(String warning)warning contains the content of type checking information in a human-readable form.ExpressionWarningBuildertoBuilder()
-
-
-
Method Detail
-
getFieldRef
public String getFieldRef()
fieldRef is the path to the field that refers to the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
-
setFieldRef
public void setFieldRef(String fieldRef)
fieldRef is the path to the field that refers to the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
-
getWarning
public String getWarning()
warning contains 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.
-
setWarning
public void setWarning(String warning)
warning contains 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.
-
edit
public ExpressionWarningBuilder edit()
- Specified by:
editin interfaceEditable<ExpressionWarningBuilder>
-
toBuilder
public ExpressionWarningBuilder toBuilder()
-
-