Class GenerationStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.GenerationStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GenerationStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GenerationStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<GenerationStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GenerationStatus()No args constructor for use in serializationGenerationStatus(String group, String hash, Long lastGeneration, String name, String namespace, String resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerationStatusBuilderedit()Map<String,Object>getAdditionalProperties()StringgetGroup()group is the group of the thing you're trackingStringgetHash()hash is an optional field set for resources without generation that are content sensitive like secrets and configmapsLonggetLastGeneration()lastGeneration is the last generation of the workload controller involvedStringgetName()name is the name of the thing you're trackingStringgetNamespace()namespace is where the thing you're tracking isStringgetResource()resource is the resource type of the thing you're trackingvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGroup(String group)group is the group of the thing you're trackingvoidsetHash(String hash)hash is an optional field set for resources without generation that are content sensitive like secrets and configmapsvoidsetLastGeneration(Long lastGeneration)lastGeneration is the last generation of the workload controller involvedvoidsetName(String name)name is the name of the thing you're trackingvoidsetNamespace(String namespace)namespace is where the thing you're tracking isvoidsetResource(String resource)resource is the resource type of the thing you're trackingGenerationStatusBuildertoBuilder()
-
-
-
Method Detail
-
getGroup
public String getGroup()
group is the group of the thing you're tracking
-
setGroup
public void setGroup(String group)
group is the group of the thing you're tracking
-
getHash
public String getHash()
hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps
-
setHash
public void setHash(String hash)
hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps
-
getLastGeneration
public Long getLastGeneration()
lastGeneration is the last generation of the workload controller involved
-
setLastGeneration
public void setLastGeneration(Long lastGeneration)
lastGeneration is the last generation of the workload controller involved
-
getName
public String getName()
name is the name of the thing you're tracking
-
setName
public void setName(String name)
name is the name of the thing you're tracking
-
getNamespace
public String getNamespace()
namespace is where the thing you're tracking is
-
setNamespace
public void setNamespace(String namespace)
namespace is where the thing you're tracking is
-
getResource
public String getResource()
resource is the resource type of the thing you're tracking
-
setResource
public void setResource(String resource)
resource is the resource type of the thing you're tracking
-
edit
public GenerationStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GenerationStatusBuilder>
-
toBuilder
public GenerationStatusBuilder toBuilder()
-
-