Class ObjectStatusConditionDefinition
- java.lang.Object
-
- com.azure.resourcemanager.kubernetesconfiguration.models.ObjectStatusConditionDefinition
-
public final class ObjectStatusConditionDefinition extends Object
Status condition of Kubernetes object.
-
-
Constructor Summary
Constructors Constructor Description ObjectStatusConditionDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
lastTransitionTime()
Get the lastTransitionTime property: Last time this status condition has changed.String
message()
Get the message property: A more verbose description of the object status condition.String
reason()
Get the reason property: Reason for the specified status condition type status.String
status()
Get the status property: Status of the Kubernetes object condition type.String
type()
Get the type property: Object status condition type for this object.void
validate()
Validates the instance.ObjectStatusConditionDefinition
withLastTransitionTime(OffsetDateTime lastTransitionTime)
Set the lastTransitionTime property: Last time this status condition has changed.ObjectStatusConditionDefinition
withMessage(String message)
Set the message property: A more verbose description of the object status condition.ObjectStatusConditionDefinition
withReason(String reason)
Set the reason property: Reason for the specified status condition type status.ObjectStatusConditionDefinition
withStatus(String status)
Set the status property: Status of the Kubernetes object condition type.ObjectStatusConditionDefinition
withType(String type)
Set the type property: Object status condition type for this object.
-
-
-
Method Detail
-
lastTransitionTime
public OffsetDateTime lastTransitionTime()
Get the lastTransitionTime property: Last time this status condition has changed.- Returns:
- the lastTransitionTime value.
-
withLastTransitionTime
public ObjectStatusConditionDefinition withLastTransitionTime(OffsetDateTime lastTransitionTime)
Set the lastTransitionTime property: Last time this status condition has changed.- Parameters:
lastTransitionTime
- the lastTransitionTime value to set.- Returns:
- the ObjectStatusConditionDefinition object itself.
-
message
public String message()
Get the message property: A more verbose description of the object status condition.- Returns:
- the message value.
-
withMessage
public ObjectStatusConditionDefinition withMessage(String message)
Set the message property: A more verbose description of the object status condition.- Parameters:
message
- the message value to set.- Returns:
- the ObjectStatusConditionDefinition object itself.
-
reason
public String reason()
Get the reason property: Reason for the specified status condition type status.- Returns:
- the reason value.
-
withReason
public ObjectStatusConditionDefinition withReason(String reason)
Set the reason property: Reason for the specified status condition type status.- Parameters:
reason
- the reason value to set.- Returns:
- the ObjectStatusConditionDefinition object itself.
-
status
public String status()
Get the status property: Status of the Kubernetes object condition type.- Returns:
- the status value.
-
withStatus
public ObjectStatusConditionDefinition withStatus(String status)
Set the status property: Status of the Kubernetes object condition type.- Parameters:
status
- the status value to set.- Returns:
- the ObjectStatusConditionDefinition object itself.
-
type
public String type()
Get the type property: Object status condition type for this object.- Returns:
- the type value.
-
withType
public ObjectStatusConditionDefinition withType(String type)
Set the type property: Object status condition type for this object.- Parameters:
type
- the type value to set.- Returns:
- the ObjectStatusConditionDefinition object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-