Class DeprecateOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • replacement

        public DeprecateOptions.Builder replacement​(URI replacement)
        Optional URL for replacement of deprecated resource.
        Returns:
        the URL
      • deprecated

        public DeprecateOptions.Builder deprecated​(Date deprecated)
        Optional RFC3339 timestamp for when the deprecation state was changed to DEPRECATED.
        Returns:
        the timestamp
      • obsolete

        public DeprecateOptions.Builder obsolete​(Date obsolete)
        Optional RFC3339 timestamp for when the deprecation state was changed to OBSOLETE.
        Returns:
        the timestamp
      • deleted

        public DeprecateOptions.Builder deleted​(Date deleted)
        Optional RFC3339 timestamp for when the deprecation state was changed to DELETED.
        Returns:
        the timestamp