Class PredefinedAcceleratorProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.PredefinedAcceleratorProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PredefinedAcceleratorProperties>
public final class PredefinedAcceleratorProperties
extends Object
implements com.azure.json.JsonSerializable<PredefinedAcceleratorProperties>
Predefined accelerator properties payload.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PredefinedAcceleratorProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the acceleratorTags property: The acceleratorTags property.Get the description property: The description property.Get the displayName property: The displayName property.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PredefinedAcceleratorProperties from the JsonReader.iconUrl()Get the iconUrl property: The iconUrl property.Get the provisioningState property: Provisioning state of the predefined accelerator.state()Get the state property: State of the predefined accelerator.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the state property: State of the predefined accelerator.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
-
PredefinedAcceleratorProperties
public PredefinedAcceleratorProperties()Creates an instance of PredefinedAcceleratorProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning state of the predefined accelerator.- Returns:
- the provisioningState value.
-
displayName
Get the displayName property: The displayName property.- Returns:
- the displayName value.
-
description
Get the description property: The description property.- Returns:
- the description value.
-
iconUrl
Get the iconUrl property: The iconUrl property.- Returns:
- the iconUrl value.
-
acceleratorTags
Get the acceleratorTags property: The acceleratorTags property.- Returns:
- the acceleratorTags value.
-
state
Get the state property: State of the predefined accelerator.- Returns:
- the state value.
-
withState
Set the state property: State of the predefined accelerator.- Parameters:
state- the state value to set.- Returns:
- the PredefinedAcceleratorProperties 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<PredefinedAcceleratorProperties>- Throws:
IOException
-
fromJson
public static PredefinedAcceleratorProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of PredefinedAcceleratorProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PredefinedAcceleratorProperties 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 PredefinedAcceleratorProperties.
-