Class ObjectReference
- java.lang.Object
-
- io.fabric8.openshift.api.model.machineconfiguration.v1.ObjectReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ObjectReferenceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ObjectReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<ObjectReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ObjectReference contains enough information to let you inspect or modify the referred object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectReference()No args constructor for use in serializationObjectReference(String group, String name, String namespace, String resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectReferenceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetGroup()group of the referent.StringgetName()name of the referent.StringgetNamespace()namespace of the referent.StringgetResource()resource of the referent.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGroup(String group)group of the referent.voidsetName(String name)name of the referent.voidsetNamespace(String namespace)namespace of the referent.voidsetResource(String resource)resource of the referent.ObjectReferenceBuildertoBuilder()
-
-
-
Method Detail
-
getGroup
public String getGroup()
group of the referent. The name must contain only lowercase alphanumeric characters, '-' or '.' and start/end with an alphanumeric character. Example: "", "apps", "build.openshift.io", etc.
-
setGroup
public void setGroup(String group)
group of the referent. The name must contain only lowercase alphanumeric characters, '-' or '.' and start/end with an alphanumeric character. Example: "", "apps", "build.openshift.io", etc.
-
getName
public String getName()
name of the referent. The name must contain only lowercase alphanumeric characters, '-' or '.' and start/end with an alphanumeric character.
-
setName
public void setName(String name)
name of the referent. The name must contain only lowercase alphanumeric characters, '-' or '.' and start/end with an alphanumeric character.
-
getNamespace
public String getNamespace()
namespace of the referent. This value should consist of at most 63 characters, and of only lowercase alphanumeric characters and hyphens, and should start and end with an alphanumeric character.
-
setNamespace
public void setNamespace(String namespace)
namespace of the referent. This value should consist of at most 63 characters, and of only lowercase alphanumeric characters and hyphens, and should start and end with an alphanumeric character.
-
getResource
public String getResource()
resource of the referent. This value should consist of at most 63 characters, and of only lowercase alphanumeric characters and hyphens, and should start with an alphabetic character and end with an alphanumeric character. Example: "deployments", "deploymentconfigs", "pods", etc.
-
setResource
public void setResource(String resource)
resource of the referent. This value should consist of at most 63 characters, and of only lowercase alphanumeric characters and hyphens, and should start with an alphabetic character and end with an alphanumeric character. Example: "deployments", "deploymentconfigs", "pods", etc.
-
edit
public ObjectReferenceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ObjectReferenceBuilder>
-
toBuilder
public ObjectReferenceBuilder toBuilder()
-
-