Class WorkRequestResource.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • entityType

        public WorkRequestResource.Builder entityType​(String entityType)
        The resource type the work request affects.
        Parameters:
        entityType - the value to set
        Returns:
        this builder
      • actionType

        public WorkRequestResource.Builder actionType​(ActionType actionType)
        The way how the work is tracked in the work request affects this resource.

        A resource that is created, updated, or deleted remains in the IN PROGRESS state until the work is complete for that resource. Thereafter it transitions to CREATED, UPDATED, or DELETED state.

        Parameters:
        actionType - the value to set
        Returns:
        this builder
      • identifier

        public WorkRequestResource.Builder identifier​(String identifier)
        The identifier of the resource the work request affects.
        Parameters:
        identifier - the value to set
        Returns:
        this builder
      • entityUri

        public WorkRequestResource.Builder entityUri​(String entityUri)
        The URI path that the user can use to access the resource metadata.
        Parameters:
        entityUri - the value to set
        Returns:
        this builder