Class Version

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class Version
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Offering version information.
    • Method Detail

      • newBuilder

        public Version.Builder newBuilder()
        New builder.
        Returns:
        a Version builder
      • id

        public java.lang.String id()
        Gets the id. Unique ID.
        Returns:
        the id
      • rev

        public java.lang.String rev()
        Gets the rev. Cloudant revision.
        Returns:
        the rev
      • crn

        public java.lang.String crn()
        Gets the crn. Version's CRN.
        Returns:
        the crn
      • version

        public java.lang.String version()
        Gets the version. Version of content type.
        Returns:
        the version
      • sha

        public java.lang.String sha()
        Gets the sha. hash of the content.
        Returns:
        the sha
      • created

        public java.util.Date created()
        Gets the created. The date and time this version was created.
        Returns:
        the created
      • updated

        public java.util.Date updated()
        Gets the updated. The date and time this version was last updated.
        Returns:
        the updated
      • offeringId

        public java.lang.String offeringId()
        Gets the offeringId. Offering ID.
        Returns:
        the offeringId
      • catalogId

        public java.lang.String catalogId()
        Gets the catalogId. Catalog ID.
        Returns:
        the catalogId
      • kindId

        public java.lang.String kindId()
        Gets the kindId. Kind ID.
        Returns:
        the kindId
      • tags

        public java.util.List<java.lang.String> tags()
        Gets the tags. List of tags associated with this catalog.
        Returns:
        the tags
      • repoUrl

        public java.lang.String repoUrl()
        Gets the repoUrl. Content's repo URL.
        Returns:
        the repoUrl
      • sourceUrl

        public java.lang.String sourceUrl()
        Gets the sourceUrl. Content's source URL (e.g git repo).
        Returns:
        the sourceUrl
      • tgzUrl

        public java.lang.String tgzUrl()
        Gets the tgzUrl. File used to on-board this version.
        Returns:
        the tgzUrl
      • configuration

        public java.util.List<Configuration> configuration()
        Gets the configuration. List of user solicited overrides.
        Returns:
        the configuration
      • metadata

        public java.util.Map<java.lang.String,​java.lang.Object> metadata()
        Gets the metadata. Open ended metadata information.
        Returns:
        the metadata
      • validation

        public Validation validation()
        Gets the validation. Validation response.
        Returns:
        the validation
      • requiredResources

        public java.util.List<Resource> requiredResources()
        Gets the requiredResources. Resource requirments for installation.
        Returns:
        the requiredResources
      • singleInstance

        public java.lang.Boolean singleInstance()
        Gets the singleInstance. Denotes if single instance can be deployed to a given cluster.
        Returns:
        the singleInstance
      • install

        public Script install()
        Gets the install. Script information.
        Returns:
        the install
      • preInstall

        public java.util.List<Script> preInstall()
        Gets the preInstall. Optional pre-install instructions.
        Returns:
        the preInstall
      • entitlement

        public VersionEntitlement entitlement()
        Gets the entitlement. Entitlement license info.
        Returns:
        the entitlement
      • licenses

        public java.util.List<License> licenses()
        Gets the licenses. List of licenses the product was built with.
        Returns:
        the licenses
      • imageManifestUrl

        public java.lang.String imageManifestUrl()
        Gets the imageManifestUrl. If set, denotes a url to a YAML file with list of container images used by this version.
        Returns:
        the imageManifestUrl
      • deprecated

        public java.lang.Boolean deprecated()
        Gets the deprecated. read only field, indicating if this version is deprecated.
        Returns:
        the deprecated
      • packageVersion

        public java.lang.String packageVersion()
        Gets the packageVersion. Version of the package used to create this version.
        Returns:
        the packageVersion
      • state

        public State state()
        Gets the state. Offering state.
        Returns:
        the state
      • versionLocator

        public java.lang.String versionLocator()
        Gets the versionLocator. A dotted value of `catalogID`.`versionID`.
        Returns:
        the versionLocator
      • consoleUrl

        public java.lang.String consoleUrl()
        Gets the consoleUrl. Console URL.
        Returns:
        the consoleUrl
      • longDescription

        public java.lang.String longDescription()
        Gets the longDescription. Long description for version.
        Returns:
        the longDescription
      • whitelistedAccounts

        public java.util.List<java.lang.String> whitelistedAccounts()
        Gets the whitelistedAccounts. Whitelisted accounts for version.
        Returns:
        the whitelistedAccounts