Class TaggingCriteria


  • public final class TaggingCriteria
    extends Object
    TaggingCriteria Tagging criteria.
    • Constructor Detail

      • TaggingCriteria

        public TaggingCriteria()
    • Method Detail

      • criteria

        public List<BackupCriteria> criteria()
        Get the criteria property: Criteria which decides whether the tag can be applied to a triggered backup.
        Returns:
        the criteria value.
      • withCriteria

        public TaggingCriteria withCriteria​(List<BackupCriteria> criteria)
        Set the criteria property: Criteria which decides whether the tag can be applied to a triggered backup.
        Parameters:
        criteria - the criteria value to set.
        Returns:
        the TaggingCriteria object itself.
      • isDefault

        public boolean isDefault()
        Get the isDefault property: Specifies if tag is default.
        Returns:
        the isDefault value.
      • withIsDefault

        public TaggingCriteria withIsDefault​(boolean isDefault)
        Set the isDefault property: Specifies if tag is default.
        Parameters:
        isDefault - the isDefault value to set.
        Returns:
        the TaggingCriteria object itself.
      • taggingPriority

        public long taggingPriority()
        Get the taggingPriority property: Retention Tag priority.
        Returns:
        the taggingPriority value.
      • withTaggingPriority

        public TaggingCriteria withTaggingPriority​(long taggingPriority)
        Set the taggingPriority property: Retention Tag priority.
        Parameters:
        taggingPriority - the taggingPriority value to set.
        Returns:
        the TaggingCriteria object itself.
      • tagInfo

        public RetentionTag tagInfo()
        Get the tagInfo property: RetentionTag Retention tag information.
        Returns:
        the tagInfo value.
      • withTagInfo

        public TaggingCriteria withTagInfo​(RetentionTag tagInfo)
        Set the tagInfo property: RetentionTag Retention tag information.
        Parameters:
        tagInfo - the tagInfo value to set.
        Returns:
        the TaggingCriteria object itself.
      • validate

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