Class ExtensionStatus
- java.lang.Object
-
- com.azure.resourcemanager.kubernetesconfiguration.models.ExtensionStatus
-
public final class ExtensionStatus extends Object
Status from the extension.
-
-
Constructor Summary
Constructors Constructor Description ExtensionStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
code()
Get the code property: Status code provided by the Extension.String
displayStatus()
Get the displayStatus property: Short description of status of the extension.LevelType
level()
Get the level property: Level of the status.String
message()
Get the message property: Detailed message of the status from the Extension.String
time()
Get the time property: DateLiteral (per ISO8601) noting the time of installation status.void
validate()
Validates the instance.ExtensionStatus
withCode(String code)
Set the code property: Status code provided by the Extension.ExtensionStatus
withDisplayStatus(String displayStatus)
Set the displayStatus property: Short description of status of the extension.ExtensionStatus
withLevel(LevelType level)
Set the level property: Level of the status.ExtensionStatus
withMessage(String message)
Set the message property: Detailed message of the status from the Extension.ExtensionStatus
withTime(String time)
Set the time property: DateLiteral (per ISO8601) noting the time of installation status.
-
-
-
Method Detail
-
code
public String code()
Get the code property: Status code provided by the Extension.- Returns:
- the code value.
-
withCode
public ExtensionStatus withCode(String code)
Set the code property: Status code provided by the Extension.- Parameters:
code
- the code value to set.- Returns:
- the ExtensionStatus object itself.
-
displayStatus
public String displayStatus()
Get the displayStatus property: Short description of status of the extension.- Returns:
- the displayStatus value.
-
withDisplayStatus
public ExtensionStatus withDisplayStatus(String displayStatus)
Set the displayStatus property: Short description of status of the extension.- Parameters:
displayStatus
- the displayStatus value to set.- Returns:
- the ExtensionStatus object itself.
-
level
public LevelType level()
Get the level property: Level of the status.- Returns:
- the level value.
-
withLevel
public ExtensionStatus withLevel(LevelType level)
Set the level property: Level of the status.- Parameters:
level
- the level value to set.- Returns:
- the ExtensionStatus object itself.
-
message
public String message()
Get the message property: Detailed message of the status from the Extension.- Returns:
- the message value.
-
withMessage
public ExtensionStatus withMessage(String message)
Set the message property: Detailed message of the status from the Extension.- Parameters:
message
- the message value to set.- Returns:
- the ExtensionStatus object itself.
-
time
public String time()
Get the time property: DateLiteral (per ISO8601) noting the time of installation status.- Returns:
- the time value.
-
withTime
public ExtensionStatus withTime(String time)
Set the time property: DateLiteral (per ISO8601) noting the time of installation status.- Parameters:
time
- the time value to set.- Returns:
- the ExtensionStatus object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-