Class Constraint
java.lang.Object
com.vmware.vra.jenkinsplugin.model.iaas.Constraint
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2020-09-09T18:26:35.661905-04:00[America/New_York]") public class Constraint extends Object
A constraint that is conveyed to the policy engine.
-
Constructor Summary
Constructors Constructor Description Constraint() -
Method Summary
Modifier and Type Method Description booleanequals(Object o)Constraintexpression(String expression)StringgetExpression()An expression of the form \"[!]tag-key[:[tag-value]]\", used to indicate a constraint match on keys and values of tags.inthashCode()BooleanisMandatory()Indicates whether this constraint should be strictly enforced or not.Constraintmandatory(Boolean mandatory)voidsetExpression(String expression)voidsetMandatory(Boolean mandatory)StringtoString()
-
Constructor Details
-
Constraint
public Constraint()
-
-
Method Details
-
expression
-
getExpression
An expression of the form \"[!]tag-key[:[tag-value]]\", used to indicate a constraint match on keys and values of tags.- Returns:
- expression
-
setExpression
-
mandatory
-
isMandatory
Indicates whether this constraint should be strictly enforced or not.- Returns:
- mandatory
-
setMandatory
-
equals
-
hashCode
public int hashCode() -
toString
-