Class ImmutableWorkflowsResponse.Builder

  • Enclosing class:
    ImmutableWorkflowsResponse

    @NotThreadSafe
    public static final class ImmutableWorkflowsResponse.Builder
    extends Object
    Builds instances of type ImmutableWorkflowsResponse. Initialize attributes and then invoke the build() method to create an immutable instance.

    Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

    • Method Detail

      • from

        @CanIgnoreReturnValue
        public final ImmutableWorkflowsResponse.Builder from​(WorkflowsResponse instance)
        Fill a builder with attribute values from the provided WorkflowsResponse instance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.
        Parameters:
        instance - The instance from which to copy values
        Returns:
        this builder for use in a chained invocation
      • id

        @CanIgnoreReturnValue
        public final ImmutableWorkflowsResponse.Builder id​(int id)
        Initializes the value for the id attribute.
        Parameters:
        id - The value for id
        Returns:
        this builder for use in a chained invocation
      • nodeId

        @CanIgnoreReturnValue
        public final ImmutableWorkflowsResponse.Builder nodeId​(String nodeId)
        Initializes the value for the nodeId attribute.
        Parameters:
        nodeId - The value for nodeId
        Returns:
        this builder for use in a chained invocation
      • name

        @CanIgnoreReturnValue
        public final ImmutableWorkflowsResponse.Builder name​(String name)
        Initializes the value for the name attribute.
        Parameters:
        name - The value for name
        Returns:
        this builder for use in a chained invocation
      • path

        @CanIgnoreReturnValue
        public final ImmutableWorkflowsResponse.Builder path​(String path)
        Initializes the value for the path attribute.
        Parameters:
        path - The value for path
        Returns:
        this builder for use in a chained invocation
      • deletedAt

        @CanIgnoreReturnValue
        public final ImmutableWorkflowsResponse.Builder deletedAt​(@Nullable
                                                                  ZonedDateTime deletedAt)
        Initializes the value for the deletedAt attribute.
        Parameters:
        deletedAt - The value for deletedAt (can be null)
        Returns:
        this builder for use in a chained invocation
      • url

        @CanIgnoreReturnValue
        public final ImmutableWorkflowsResponse.Builder url​(String url)
        Initializes the value for the url attribute.
        Parameters:
        url - The value for url
        Returns:
        this builder for use in a chained invocation
      • htmlUrl

        @CanIgnoreReturnValue
        public final ImmutableWorkflowsResponse.Builder htmlUrl​(String htmlUrl)
        Initializes the value for the htmlUrl attribute.
        Parameters:
        htmlUrl - The value for htmlUrl
        Returns:
        this builder for use in a chained invocation
      • badgeUrl

        @CanIgnoreReturnValue
        public final ImmutableWorkflowsResponse.Builder badgeUrl​(String badgeUrl)
        Initializes the value for the badgeUrl attribute.
        Parameters:
        badgeUrl - The value for badgeUrl
        Returns:
        this builder for use in a chained invocation