Class Version.Builder

java.lang.Object
org.projecthusky.valueset.model.Version.Builder
Enclosing class:
Version

@Generated("SparkTools") public static final class Version.Builder extends Object
Builder to build Version.
  • Method Details

    • build

      public Version build()
      Builds the.
      Returns:
      the version
    • withLabel

      public Version.Builder withLabel(String label)
      With label.
      Parameters:
      label - the label
      Returns:
      the builder
    • withPublishingAuthority

      public Version.Builder withPublishingAuthority(OrganizationBaseType publishingAuthority)
      With publishing authority.
      Parameters:
      publishingAuthority - the publishing authority
      Returns:
      the builder
    • withValidFrom

      public Version.Builder withValidFrom(Date validFrom)
      With valid from.
      Parameters:
      validFrom - the valid from
      Returns:
      the builder
    • withValidTo

      public Version.Builder withValidTo(Date validTo)
      With valid to.
      Parameters:
      validTo - the valid to
      Returns:
      the builder