Class DeleteOption

    • Constructor Detail

      • DeleteOption

        public DeleteOption()
    • Method Detail

      • duration

        public String duration()
        Get the duration property: Duration of deletion after given timespan.
        Returns:
        the duration value.
      • withDuration

        public DeleteOption withDuration​(String duration)
        Set the duration property: Duration of deletion after given timespan.
        Parameters:
        duration - the duration value to set.
        Returns:
        the DeleteOption object itself.
      • validate

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