MachineExtensionInstanceViewStatus Class
- java.
lang. Object - com.
azure. resourcemanager. hybridcompute. models. MachineExtensionInstanceViewStatus
- com.
public final class MachineExtensionInstanceViewStatus
Instance view status.
Constructor Summary
Constructor | Description |
---|---|
MachineExtensionInstanceViewStatus() |
Creates an instance of Machine |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code property: The status code. |
String |
displayStatus()
Get the display |
Status |
level()
Get the level property: The level code. |
String |
message()
Get the message property: The detailed status message, including for alerts and error messages. |
Offset |
time()
Get the time property: The time of the status. |
void |
validate()
Validates the instance. |
Machine |
withCode(String code)
Set the code property: The status code. |
Machine |
withDisplayStatus(String displayStatus)
Set the display |
Machine |
withLevel(StatusLevelTypes level)
Set the level property: The level code. |
Machine |
withMessage(String message)
Set the message property: The detailed status message, including for alerts and error messages. |
Machine |
withTime(OffsetDateTime time)
Set the time property: The time of the status. |
Methods inherited from java.lang.Object
Constructor Details
MachineExtensionInstanceViewStatus
public MachineExtensionInstanceViewStatus()
Creates an instance of MachineExtensionInstanceViewStatus class.
Method Details
code
public String code()
Get the code property: The status code.
Returns:
displayStatus
public String displayStatus()
Get the displayStatus property: The short localizable label for the status.
Returns:
level
public StatusLevelTypes level()
Get the level property: The level code.
Returns:
message
public String message()
Get the message property: The detailed status message, including for alerts and error messages.
Returns:
time
public OffsetDateTime time()
Get the time property: The time of the status.
Returns:
validate
public void validate()
Validates the instance.
withCode
public MachineExtensionInstanceViewStatus withCode(String code)
Set the code property: The status code.
Parameters:
Returns:
withDisplayStatus
public MachineExtensionInstanceViewStatus withDisplayStatus(String displayStatus)
Set the displayStatus property: The short localizable label for the status.
Parameters:
Returns:
withLevel
public MachineExtensionInstanceViewStatus withLevel(StatusLevelTypes level)
Set the level property: The level code.
Parameters:
Returns:
withMessage
public MachineExtensionInstanceViewStatus withMessage(String message)
Set the message property: The detailed status message, including for alerts and error messages.
Parameters:
Returns:
withTime
public MachineExtensionInstanceViewStatus withTime(OffsetDateTime time)
Set the time property: The time of the status.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for