Class NamespaceStatus
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.NamespaceStatus
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class NamespaceStatus extends java.lang.Object implements com.marcnuri.yakc.model.Model
NamespaceStatus is information about the current status of a Namespace.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NamespaceStatus.Builder
-
Constructor Summary
Constructors Constructor Description NamespaceStatus()
NamespaceStatus(java.util.List<NamespaceCondition> conditions, java.lang.String phase)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NamespaceStatus.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<NamespaceCondition>
getConditions()
Represents the latest available observations of a namespace's current state.java.lang.String
getPhase()
Phase is the current lifecycle phase of the namespace.int
hashCode()
void
setConditions(java.util.List<NamespaceCondition> conditions)
Represents the latest available observations of a namespace's current state.void
setPhase(java.lang.String phase)
Phase is the current lifecycle phase of the namespace.NamespaceStatus.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
NamespaceStatus
public NamespaceStatus(java.util.List<NamespaceCondition> conditions, java.lang.String phase)
-
NamespaceStatus
public NamespaceStatus()
-
-
Method Detail
-
builder
public static NamespaceStatus.Builder builder()
-
toBuilder
public NamespaceStatus.Builder toBuilder()
-
getConditions
public java.util.List<NamespaceCondition> getConditions()
Represents the latest available observations of a namespace's current state.
-
getPhase
public java.lang.String getPhase()
Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/Possible enum values:
- `"Active"` means the namespace is available for use in the system
- `"Terminating"` means the namespace is undergoing graceful termination
-
setConditions
public void setConditions(java.util.List<NamespaceCondition> conditions)
Represents the latest available observations of a namespace's current state.
-
setPhase
public void setPhase(java.lang.String phase)
Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/Possible enum values:
- `"Active"` means the namespace is available for use in the system
- `"Terminating"` means the namespace is undergoing graceful termination
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-