Class IfNotExistsEvaluationDetails


  • public final class IfNotExistsEvaluationDetails
    extends Object
    Evaluation details of IfNotExists effect.
    • Constructor Detail

      • IfNotExistsEvaluationDetails

        public IfNotExistsEvaluationDetails()
    • Method Detail

      • resourceId

        public String resourceId()
        Get the resourceId property: ID of the last evaluated resource for IfNotExists effect.
        Returns:
        the resourceId value.
      • withResourceId

        public IfNotExistsEvaluationDetails withResourceId​(String resourceId)
        Set the resourceId property: ID of the last evaluated resource for IfNotExists effect.
        Parameters:
        resourceId - the resourceId value to set.
        Returns:
        the IfNotExistsEvaluationDetails object itself.
      • totalResources

        public Integer totalResources()
        Get the totalResources property: Total number of resources to which the existence condition is applicable.
        Returns:
        the totalResources value.
      • withTotalResources

        public IfNotExistsEvaluationDetails withTotalResources​(Integer totalResources)
        Set the totalResources property: Total number of resources to which the existence condition is applicable.
        Parameters:
        totalResources - the totalResources value to set.
        Returns:
        the IfNotExistsEvaluationDetails object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.