Class MachineSetStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.MachineSetStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachineSetStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachineSetStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachineSetStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MachineSetStatus is the status of a machineset in the remote cluster.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachineSetStatus()No args constructor for use in serializationMachineSetStatus(String errorMessage, String errorReason, Integer maxReplicas, Integer minReplicas, String name, Integer readyReplicas, Integer replicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachineSetStatusBuilderedit()Map<String,Object>getAdditionalProperties()StringgetErrorMessage()MachineSetStatus is the status of a machineset in the remote cluster.StringgetErrorReason()In the event that there is a terminal problem reconciling the replicas, both ErrorReason and ErrorMessage will be set.IntegergetMaxReplicas()MaxReplicas is the maximum number of replicas for the machine set.IntegergetMinReplicas()MinReplicas is the minimum number of replicas for the machine set.StringgetName()Name is the name of the machine set.IntegergetReadyReplicas()The number of ready replicas for this MachineSet.IntegergetReplicas()Replicas is the current number of replicas for the machine set.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetErrorMessage(String errorMessage)MachineSetStatus is the status of a machineset in the remote cluster.voidsetErrorReason(String errorReason)In the event that there is a terminal problem reconciling the replicas, both ErrorReason and ErrorMessage will be set.voidsetMaxReplicas(Integer maxReplicas)MaxReplicas is the maximum number of replicas for the machine set.voidsetMinReplicas(Integer minReplicas)MinReplicas is the minimum number of replicas for the machine set.voidsetName(String name)Name is the name of the machine set.voidsetReadyReplicas(Integer readyReplicas)The number of ready replicas for this MachineSet.voidsetReplicas(Integer replicas)Replicas is the current number of replicas for the machine set.MachineSetStatusBuildertoBuilder()
-
-
-
Method Detail
-
getErrorMessage
public String getErrorMessage()
MachineSetStatus is the status of a machineset in the remote cluster.
-
setErrorMessage
public void setErrorMessage(String errorMessage)
MachineSetStatus is the status of a machineset in the remote cluster.
-
getErrorReason
public String getErrorReason()
In the event that there is a terminal problem reconciling the replicas, both ErrorReason and ErrorMessage will be set. ErrorReason will be populated with a succinct value suitable for machine interpretation, while ErrorMessage will contain a more verbose string suitable for logging and human consumption.
-
setErrorReason
public void setErrorReason(String errorReason)
In the event that there is a terminal problem reconciling the replicas, both ErrorReason and ErrorMessage will be set. ErrorReason will be populated with a succinct value suitable for machine interpretation, while ErrorMessage will contain a more verbose string suitable for logging and human consumption.
-
getMaxReplicas
public Integer getMaxReplicas()
MaxReplicas is the maximum number of replicas for the machine set.
-
setMaxReplicas
public void setMaxReplicas(Integer maxReplicas)
MaxReplicas is the maximum number of replicas for the machine set.
-
getMinReplicas
public Integer getMinReplicas()
MinReplicas is the minimum number of replicas for the machine set.
-
setMinReplicas
public void setMinReplicas(Integer minReplicas)
MinReplicas is the minimum number of replicas for the machine set.
-
getName
public String getName()
Name is the name of the machine set.
-
setName
public void setName(String name)
Name is the name of the machine set.
-
getReadyReplicas
public Integer getReadyReplicas()
The number of ready replicas for this MachineSet. A machine is considered ready when the node has been created and is "Ready". It is transferred as-is from the MachineSet from remote cluster.
-
setReadyReplicas
public void setReadyReplicas(Integer readyReplicas)
The number of ready replicas for this MachineSet. A machine is considered ready when the node has been created and is "Ready". It is transferred as-is from the MachineSet from remote cluster.
-
getReplicas
public Integer getReplicas()
Replicas is the current number of replicas for the machine set.
-
setReplicas
public void setReplicas(Integer replicas)
Replicas is the current number of replicas for the machine set.
-
edit
public MachineSetStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachineSetStatusBuilder>
-
toBuilder
public MachineSetStatusBuilder toBuilder()
-
-