Class ResourceClaimConsumerReference
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1.ResourceClaimConsumerReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ResourceClaimConsumerReferenceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ResourceClaimConsumerReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<ResourceClaimConsumerReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceClaimConsumerReference()No args constructor for use in serializationResourceClaimConsumerReference(String apiGroup, String name, String resource, String uid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceClaimConsumerReferenceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiGroup()APIGroup is the group for the resource being referenced.StringgetName()Name is the name of resource being referenced.StringgetResource()Resource is the type of resource being referenced, for example "pods".StringgetUid()UID identifies exactly one incarnation of the resource.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiGroup(String apiGroup)APIGroup is the group for the resource being referenced.voidsetName(String name)Name is the name of resource being referenced.voidsetResource(String resource)Resource is the type of resource being referenced, for example "pods".voidsetUid(String uid)UID identifies exactly one incarnation of the resource.ResourceClaimConsumerReferenceBuildertoBuilder()
-
-
-
Method Detail
-
getApiGroup
public String getApiGroup()
APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
-
setApiGroup
public void setApiGroup(String apiGroup)
APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
-
getName
public String getName()
Name is the name of resource being referenced.
-
setName
public void setName(String name)
Name is the name of resource being referenced.
-
getResource
public String getResource()
Resource is the type of resource being referenced, for example "pods".
-
setResource
public void setResource(String resource)
Resource is the type of resource being referenced, for example "pods".
-
getUid
public String getUid()
UID identifies exactly one incarnation of the resource.
-
setUid
public void setUid(String uid)
UID identifies exactly one incarnation of the resource.
-
edit
public ResourceClaimConsumerReferenceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ResourceClaimConsumerReferenceBuilder>
-
toBuilder
public ResourceClaimConsumerReferenceBuilder toBuilder()
-
-