Class RetentionTag


  • public final class RetentionTag
    extends Object
    RetentionTag Retention tag.
    • Constructor Detail

      • RetentionTag

        public RetentionTag()
    • Method Detail

      • etag

        public String etag()
        Get the etag property: Retention Tag version.
        Returns:
        the etag value.
      • id

        public String id()
        Get the id property: Retention Tag version.
        Returns:
        the id value.
      • tagName

        public String tagName()
        Get the tagName property: Retention Tag Name to relate it to retention rule.
        Returns:
        the tagName value.
      • withTagName

        public RetentionTag withTagName​(String tagName)
        Set the tagName property: Retention Tag Name to relate it to retention rule.
        Parameters:
        tagName - the tagName value to set.
        Returns:
        the RetentionTag object itself.
      • validate

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