Class TagResourceContractProperties


  • public final class TagResourceContractProperties
    extends Object
    Contract defining the Tag property in the Tag Resource Contract.
    • Constructor Detail

      • TagResourceContractProperties

        public TagResourceContractProperties()
    • Method Detail

      • id

        public String id()
        Get the id property: Tag identifier.
        Returns:
        the id value.
      • withId

        public TagResourceContractProperties withId​(String id)
        Set the id property: Tag identifier.
        Parameters:
        id - the id value to set.
        Returns:
        the TagResourceContractProperties object itself.
      • name

        public String name()
        Get the name property: Tag Name.
        Returns:
        the name value.
      • withName

        public TagResourceContractProperties withName​(String name)
        Set the name property: Tag Name.
        Parameters:
        name - the name value to set.
        Returns:
        the TagResourceContractProperties object itself.
      • validate

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