Class Jobs.Builder

    • Method Detail

      • id

        public Jobs._FinalStage id​(@NotNull
                                   java.lang.String id)

        The id of the job that's currently being processed or has completed.

        The id of the job that's currently being processed or has completed.

        Specified by:
        id in interface Jobs.IdStage
        Returns:
        Reference to this so that method calls can be chained together.
      • resourceUrl

        public Jobs._FinalStage resourceUrl​(java.lang.String resourceUrl)

        The url of the resource created during job exeuction. Use this url to fetch the resource.

        Specified by:
        resourceUrl in interface Jobs._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.
      • resourceUrl

        public Jobs._FinalStage resourceUrl​(java.util.Optional<java.lang.String> resourceUrl)

        The url of the resource created during job exeuction. Use this url to fetch the resource.

        Specified by:
        resourceUrl in interface Jobs._FinalStage
      • resourceId

        public Jobs._FinalStage resourceId​(java.lang.String resourceId)

        The id of the resource created during job execution (e.g. ticket id)

        Specified by:
        resourceId in interface Jobs._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.
      • resourceId

        public Jobs._FinalStage resourceId​(java.util.Optional<java.lang.String> resourceId)

        The id of the resource created during job execution (e.g. ticket id)

        Specified by:
        resourceId in interface Jobs._FinalStage
      • resourceType

        public Jobs._FinalStage resourceType​(java.lang.String resourceType)

        The type of resource created during job execution.

        Specified by:
        resourceType in interface Jobs._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.
      • url

        public Jobs._FinalStage url​(java.lang.String url)

        API endpoint URL to check the job status.

        Specified by:
        url in interface Jobs._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.
      • type

        public Jobs._FinalStage type​(java.lang.String type)

        The type of the object

        Specified by:
        type in interface Jobs._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.