Class PinnedResourceReference
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.PinnedResourceReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PinnedResourceReferenceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PinnedResourceReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<PinnedResourceReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
PinnedResourceReference includes the group, version and type of resource- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PinnedResourceReference()No args constructor for use in serializationPinnedResourceReference(String group, String resource, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PinnedResourceReferenceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetGroup()group is the API Group of the Resource.StringgetResource()resource is the type that is being referenced.StringgetVersion()version is the API Version of the Resource.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGroup(String group)group is the API Group of the Resource.voidsetResource(String resource)resource is the type that is being referenced.voidsetVersion(String version)version is the API Version of the Resource.PinnedResourceReferenceBuildertoBuilder()
-
-
-
Method Detail
-
getGroup
public String getGroup()
group is the API Group of the Resource. Enter empty string for the core group. This value should consist of only lowercase alphanumeric characters, hyphens and periods. Example: "", "apps", "build.openshift.io", etc.
-
setGroup
public void setGroup(String group)
group is the API Group of the Resource. Enter empty string for the core group. This value should consist of only lowercase alphanumeric characters, hyphens and periods. Example: "", "apps", "build.openshift.io", etc.
-
getResource
public String getResource()
resource is the type that is being referenced. It is normally the plural form of the resource kind in lowercase. This value should consist of only lowercase alphanumeric characters and hyphens. Example: "deployments", "deploymentconfigs", "pods", etc.
-
setResource
public void setResource(String resource)
resource is the type that is being referenced. It is normally the plural form of the resource kind in lowercase. This value should consist of only lowercase alphanumeric characters and hyphens. Example: "deployments", "deploymentconfigs", "pods", etc.
-
getVersion
public String getVersion()
version is the API Version of the Resource. This value should consist of only lowercase alphanumeric characters. Example: "v1", "v1beta1", etc.
-
setVersion
public void setVersion(String version)
version is the API Version of the Resource. This value should consist of only lowercase alphanumeric characters. Example: "v1", "v1beta1", etc.
-
edit
public PinnedResourceReferenceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PinnedResourceReferenceBuilder>
-
toBuilder
public PinnedResourceReferenceBuilder toBuilder()
-
-