Class ConstraintTarget.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of ConstraintTarget.
    • Method Detail

      • setAttribute

        public ConstraintTarget.Builder setAttribute​(java.lang.String attribute)
        Attribute name of the target entity.
        Parameters:
        attribute - New value for the property.
      • setPathPrefix

        public ConstraintTarget.Builder setPathPrefix​(java.lang.String pathPrefix)
        Parameters:
        pathPrefix - New value for the property.
      • setTargetResourceType

        public ConstraintTarget.Builder setTargetResourceType​(java.lang.String targetResourceType)
        Target resource type accepts input as DTO Type and or FQDN. It also supports dot format like SecurityPolicy.Rule in a scenario where same DTO type shared across across policy sub tree. For example DTO type Rule shared by both security policy and gateway policy rules. So to specify any constraint for Security policy rule, user can define the target resource type as SecurityPolicy.Rule.
        Parameters:
        targetResourceType - New value for the property.