Interface MobileSdkRelease.Builder

    • Method Detail

      • releaseVersion

        MobileSdkRelease.Builder releaseVersion​(String releaseVersion)

        The release version.

        Parameters:
        releaseVersion - The release version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timestamp

        MobileSdkRelease.Builder timestamp​(Instant timestamp)

        The timestamp of the release.

        Parameters:
        timestamp - The timestamp of the release.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • releaseNotes

        MobileSdkRelease.Builder releaseNotes​(String releaseNotes)

        Notes describing the release.

        Parameters:
        releaseNotes - Notes describing the release.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        MobileSdkRelease.Builder tags​(Collection<Tag> tags)

        Tags that are associated with the release.

        Parameters:
        tags - Tags that are associated with the release.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        MobileSdkRelease.Builder tags​(Tag... tags)

        Tags that are associated with the release.

        Parameters:
        tags - Tags that are associated with the release.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        MobileSdkRelease.Builder tags​(Consumer<Tag.Builder>... tags)

        Tags that are associated with the release.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)