Class DiagnosticRendering
java.lang.Object
com.azure.resourcemanager.appcontainers.models.DiagnosticRendering
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DiagnosticRendering>
public final class DiagnosticRendering
extends Object
implements com.azure.json.JsonSerializable<DiagnosticRendering>
Rendering details of a diagnostics table.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the table.static DiagnosticRenderingfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DiagnosticRendering from the JsonReader.Get the isVisible property: Flag if the table should be rendered.title()Get the title property: Title of the table.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Rendering type.voidvalidate()Validates the instance.withDescription(String description) Set the description property: Description of the table.withIsVisible(Boolean isVisible) Set the isVisible property: Flag if the table should be rendered.Set the title property: Title of the table.Set the type property: Rendering type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DiagnosticRendering
public DiagnosticRendering()Creates an instance of DiagnosticRendering class.
-
-
Method Details
-
type
Get the type property: Rendering type.- Returns:
- the type value.
-
withType
Set the type property: Rendering type.- Parameters:
type- the type value to set.- Returns:
- the DiagnosticRendering object itself.
-
title
Get the title property: Title of the table.- Returns:
- the title value.
-
withTitle
Set the title property: Title of the table.- Parameters:
title- the title value to set.- Returns:
- the DiagnosticRendering object itself.
-
description
Get the description property: Description of the table.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the table.- Parameters:
description- the description value to set.- Returns:
- the DiagnosticRendering object itself.
-
isVisible
Get the isVisible property: Flag if the table should be rendered.- Returns:
- the isVisible value.
-
withIsVisible
Set the isVisible property: Flag if the table should be rendered.- Parameters:
isVisible- the isVisible value to set.- Returns:
- the DiagnosticRendering object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DiagnosticRendering>- Throws:
IOException
-
fromJson
Reads an instance of DiagnosticRendering from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DiagnosticRendering if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the DiagnosticRendering.
-