Class LabSupportProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.LabSupportProperties
Properties of a lab's support banner.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionenabled()
Get the enabled property: Is the lab support banner active/enabled at this time?.markdown()
Get the markdown property: The markdown text (if any) that this lab displays in the UI.void
validate()
Validates the instance.withEnabled
(EnableStatus enabled) Set the enabled property: Is the lab support banner active/enabled at this time?.withMarkdown
(String markdown) Set the markdown property: The markdown text (if any) that this lab displays in the UI.
-
Constructor Details
-
LabSupportProperties
public LabSupportProperties()Creates an instance of LabSupportProperties class.
-
-
Method Details
-
enabled
Get the enabled property: Is the lab support banner active/enabled at this time?.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Is the lab support banner active/enabled at this time?.- Parameters:
enabled
- the enabled value to set.- Returns:
- the LabSupportProperties object itself.
-
markdown
Get the markdown property: The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.- Returns:
- the markdown value.
-
withMarkdown
Set the markdown property: The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.- Parameters:
markdown
- the markdown value to set.- Returns:
- the LabSupportProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-