Class ExpressionWarning
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.admissionregistration.v1.ExpressionWarning
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ExpressionWarningBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ExpressionWarning extends Object implements io.fabric8.kubernetes.api.builder.Editable<ExpressionWarningBuilder>, io.fabric8.kubernetes.api.model.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()The path to the field that refers the expression.StringgetWarning()The content of type checking information in a human-readable form.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFieldRef(String fieldRef)The path to the field that refers the expression.voidsetWarning(String warning)The content of type checking information in a human-readable form.ExpressionWarningBuildertoBuilder()
-
-
-
Method Detail
-
getFieldRef
public String getFieldRef()
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"
-
setFieldRef
public void setFieldRef(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"
-
getWarning
public String getWarning()
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)
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 interfaceio.fabric8.kubernetes.api.builder.Editable<ExpressionWarningBuilder>
-
toBuilder
public ExpressionWarningBuilder toBuilder()
-
-