Class ImmutableRepositoryCreateStatus.Builder

  • Enclosing class:
    ImmutableRepositoryCreateStatus

    @NotThreadSafe
    public static final class ImmutableRepositoryCreateStatus.Builder
    extends Object
    Builds instances of type ImmutableRepositoryCreateStatus. 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 ImmutableRepositoryCreateStatus.Builder from​(RepositoryCreateStatus instance)
        Fill a builder with attribute values from the provided RepositoryCreateStatus 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
      • state

        @CanIgnoreReturnValue
        public final ImmutableRepositoryCreateStatus.Builder state​(@Nullable
                                                                   String state)
        Initializes the value for the state attribute.
        Parameters:
        state - The value for state (can be null)
        Returns:
        this builder for use in a chained invocation
      • targetUrl

        @CanIgnoreReturnValue
        public final ImmutableRepositoryCreateStatus.Builder targetUrl​(@Nullable
                                                                       URI targetUrl)
        Initializes the value for the targetUrl attribute.
        Parameters:
        targetUrl - The value for targetUrl (can be null)
        Returns:
        this builder for use in a chained invocation
      • description

        @CanIgnoreReturnValue
        public final ImmutableRepositoryCreateStatus.Builder description​(@Nullable
                                                                         String description)
        Initializes the value for the description attribute.
        Parameters:
        description - The value for description (can be null)
        Returns:
        this builder for use in a chained invocation
      • context

        @CanIgnoreReturnValue
        public final ImmutableRepositoryCreateStatus.Builder context​(@Nullable
                                                                     String context)
        Initializes the value for the context attribute.
        Parameters:
        context - The value for context (can be null)
        Returns:
        this builder for use in a chained invocation