Class WorkRequestResource.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • entityType

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

        public WorkRequestResource.Builder actionType​(ActionType actionType)
        The way in which this resource is affected by the work is tracked in the work request.

        A resource being created, updated, or deleted will remain in the IN_PROGRESS state until work is complete for that resource. At that point, the resource will transition to CREATED, UPDATED, or DELETED, respectively.

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

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

        public WorkRequestResource.Builder entityUri​(String entityUri)
        The URI path where you can perform a GET operation to access the resource metadata.
        Parameters:
        entityUri - the value to set
        Returns:
        this builder
      • metadata

        public WorkRequestResource.Builder metadata​(Map<String,​String> metadata)
        Additional information that helps to explain the resource.
        Parameters:
        metadata - the value to set
        Returns:
        this builder