Package org.projectnessie.api.params
Class GetReferenceParamsBuilder
- java.lang.Object
-
- org.projectnessie.api.params.GetReferenceParamsBuilder
-
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @NotThreadSafe public final class GetReferenceParamsBuilder extends Object
GetReferenceParamsBuildercollects parameters and invokes the static factory method:new org.projectnessie.api.params.GetReferenceParams(..). Call thebuild()method to get a result of typeorg.projectnessie.api.params.GetReferenceParams.GetReferenceParamsBuilderis not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.
-
-
Constructor Summary
Constructors Constructor Description GetReferenceParamsBuilder()Creates aGetReferenceParamsBuilderfactory builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetReferenceParamsbuild()Invokesnew org.projectnessie.api.params.GetReferenceParams(..)using the collected parameters and returns the result of the invocationGetReferenceParamsBuilderfetchOption(FetchOption fetchOption)Initializes the value for thefetchOptionattribute.GetReferenceParamsBuilderrefName(String refName)Initializes the value for therefNameattribute.
-
-
-
Method Detail
-
refName
@CanIgnoreReturnValue public final GetReferenceParamsBuilder refName(String refName)
Initializes the value for therefNameattribute.- Parameters:
refName- The value for refName- Returns:
thisbuilder for use in a chained invocation
-
fetchOption
@CanIgnoreReturnValue public final GetReferenceParamsBuilder fetchOption(@Nullable FetchOption fetchOption)
Initializes the value for thefetchOptionattribute.- Parameters:
fetchOption- The value for fetchOption (can benull)- Returns:
thisbuilder for use in a chained invocation
-
build
public GetReferenceParams build()
Invokesnew org.projectnessie.api.params.GetReferenceParams(..)using the collected parameters and returns the result of the invocation- Returns:
- A result of type
org.projectnessie.api.params.GetReferenceParams - Throws:
IllegalStateException- if any required attributes are missing
-
-