Class Release
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.Release
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ReleaseBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Release extends Object implements io.fabric8.kubernetes.api.builder.Editable<ReleaseBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Release represents an OpenShift release image and associated metadata.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReleaseBuilderedit()Map<String,Object>getAdditionalProperties()StringgetArchitecture()architecture is an optional field that indicates the value of the cluster architecture.List<String>getChannels()channels is the set of Cincinnati channels to which the release currently belongs.StringgetImage()image is a container image location that contains the update.StringgetUrl()url contains information about this release.StringgetVersion()version is a semantic version identifying the update version.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetArchitecture(String architecture)architecture is an optional field that indicates the value of the cluster architecture.voidsetChannels(List<String> channels)channels is the set of Cincinnati channels to which the release currently belongs.voidsetImage(String image)image is a container image location that contains the update.voidsetUrl(String url)url contains information about this release.voidsetVersion(String version)version is a semantic version identifying the update version.ReleaseBuildertoBuilder()
-
-
-
Method Detail
-
getArchitecture
public String getArchitecture()
architecture is an optional field that indicates the value of the cluster architecture. In this context cluster architecture means either a single architecture or a multi architecture. Valid values are 'Multi' and empty.
-
setArchitecture
public void setArchitecture(String architecture)
architecture is an optional field that indicates the value of the cluster architecture. In this context cluster architecture means either a single architecture or a multi architecture. Valid values are 'Multi' and empty.
-
getChannels
public List<String> getChannels()
channels is the set of Cincinnati channels to which the release currently belongs.
-
setChannels
public void setChannels(List<String> channels)
channels is the set of Cincinnati channels to which the release currently belongs.
-
getImage
public String getImage()
image is a container image location that contains the update. When this field is part of spec, image is optional if version is specified and the availableUpdates field contains a matching version.
-
setImage
public void setImage(String image)
image is a container image location that contains the update. When this field is part of spec, image is optional if version is specified and the availableUpdates field contains a matching version.
-
getUrl
public String getUrl()
url contains information about this release. This URL is set by the 'url' metadata property on a release or the metadata returned by the update API and should be displayed as a link in user interfaces. The URL field may not be set for test or nightly releases.
-
setUrl
public void setUrl(String url)
url contains information about this release. This URL is set by the 'url' metadata property on a release or the metadata returned by the update API and should be displayed as a link in user interfaces. The URL field may not be set for test or nightly releases.
-
getVersion
public String getVersion()
version is a semantic version identifying the update version. When this field is part of spec, version is optional if image is specified.
-
setVersion
public void setVersion(String version)
version is a semantic version identifying the update version. When this field is part of spec, version is optional if image is specified.
-
edit
public ReleaseBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ReleaseBuilder>
-
toBuilder
public ReleaseBuilder toBuilder()
-
-