Interface ValidationData.Builder

    • Method Detail

      • assets

        ValidationData.Builder assets​(Collection<Asset> assets)

        The assets that comprise the validation data.

        Parameters:
        assets - The assets that comprise the validation data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assets

        ValidationData.Builder assets​(Asset... assets)

        The assets that comprise the validation data.

        Parameters:
        assets - The assets that comprise the validation data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assets

        ValidationData.Builder assets​(Consumer<Asset.Builder>... assets)

        The assets that comprise the validation data.

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

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

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