Class Provenance.Builder
- java.lang.Object
-
- com.styra.opa.openapi.models.shared.Provenance.Builder
-
- Enclosing class:
- Provenance
public static final class Provenance.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Provenance
build()
Provenance.Builder
buildCommit(java.lang.String buildCommit)
Provenance.Builder
buildCommit(java.util.Optional<java.lang.String> buildCommit)
Provenance.Builder
buildHost(java.lang.String buildHost)
Provenance.Builder
buildHost(java.util.Optional<java.lang.String> buildHost)
Provenance.Builder
buildTimestamp(java.time.OffsetDateTime buildTimestamp)
Provenance.Builder
buildTimestamp(java.util.Optional<java.time.OffsetDateTime> buildTimestamp)
Provenance.Builder
bundles(java.util.Map<java.lang.String,Revision> bundles)
Provenance.Builder
bundles(java.util.Optional<? extends java.util.Map<java.lang.String,Revision>> bundles)
Provenance.Builder
version(java.lang.String version)
Provenance.Builder
version(java.util.Optional<java.lang.String> version)
-
-
-
Method Detail
-
version
public Provenance.Builder version(java.lang.String version)
-
version
public Provenance.Builder version(java.util.Optional<java.lang.String> version)
-
buildCommit
public Provenance.Builder buildCommit(java.lang.String buildCommit)
-
buildCommit
public Provenance.Builder buildCommit(java.util.Optional<java.lang.String> buildCommit)
-
buildTimestamp
public Provenance.Builder buildTimestamp(java.time.OffsetDateTime buildTimestamp)
-
buildTimestamp
public Provenance.Builder buildTimestamp(java.util.Optional<java.time.OffsetDateTime> buildTimestamp)
-
buildHost
public Provenance.Builder buildHost(java.lang.String buildHost)
-
buildHost
public Provenance.Builder buildHost(java.util.Optional<java.lang.String> buildHost)
-
bundles
public Provenance.Builder bundles(java.util.Map<java.lang.String,Revision> bundles)
-
bundles
public Provenance.Builder bundles(java.util.Optional<? extends java.util.Map<java.lang.String,Revision>> bundles)
-
build
public Provenance build()
-
-