Package org.forgerock.api.models
Class VersionedPath.Builder
- java.lang.Object
-
- org.forgerock.api.models.VersionedPath.Builder
-
- Enclosing class:
- VersionedPath
public static final class VersionedPath.Builder extends Object
Builder to help construct the VersionedPath.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VersionedPath
build()
Builds the VersionedPath instance.VersionedPath.Builder
put(String version, Resource resource)
Adds a resource-version.VersionedPath.Builder
put(Version version, Resource resource)
Adds a resource-version.
-
-
-
Method Detail
-
put
public VersionedPath.Builder put(Version version, Resource resource)
Adds a resource-version.- Parameters:
version
- Resource-versionresource
-Resource
- Returns:
- Builder
-
put
public VersionedPath.Builder put(String version, Resource resource)
Adds a resource-version.- Parameters:
version
- Resource-version as stringresource
-Resource
- Returns:
- Builder
-
build
public VersionedPath build()
Builds the VersionedPath instance.- Returns:
- VersionedPath instance
-
-