Class CustomizedAcceleratorProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.CustomizedAcceleratorProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CustomizedAcceleratorProperties>
public final class CustomizedAcceleratorProperties
extends Object
implements com.azure.json.JsonSerializable<CustomizedAcceleratorProperties>
Customized accelerator properties payload.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CustomizedAcceleratorProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the acceleratorTags property: The acceleratorTags property.Get the acceleratorType property: Type of the customized accelerator.Get the description property: The description property.Get the displayName property: The displayName property.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CustomizedAcceleratorProperties from the JsonReader.Get the gitRepository property: The gitRepository property.iconUrl()Get the iconUrl property: The iconUrl property.imports()Get the imports property: Imports references all imports that this accelerator/fragment depends upon.Get the provisioningState property: State of the customized accelerator.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAcceleratorTags(List<String> acceleratorTags) Set the acceleratorTags property: The acceleratorTags property.withAcceleratorType(CustomizedAcceleratorType acceleratorType) Set the acceleratorType property: Type of the customized accelerator.withDescription(String description) Set the description property: The description property.withDisplayName(String displayName) Set the displayName property: The displayName property.withGitRepository(AcceleratorGitRepository gitRepository) Set the gitRepository property: The gitRepository property.withIconUrl(String iconUrl) Set the iconUrl property: The iconUrl property.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
-
CustomizedAcceleratorProperties
public CustomizedAcceleratorProperties()Creates an instance of CustomizedAcceleratorProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: State of the customized accelerator.- Returns:
- the provisioningState value.
-
acceleratorType
Get the acceleratorType property: Type of the customized accelerator.- Returns:
- the acceleratorType value.
-
withAcceleratorType
public CustomizedAcceleratorProperties withAcceleratorType(CustomizedAcceleratorType acceleratorType) Set the acceleratorType property: Type of the customized accelerator.- Parameters:
acceleratorType- the acceleratorType value to set.- Returns:
- the CustomizedAcceleratorProperties object itself.
-
displayName
Get the displayName property: The displayName property.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The displayName property.- Parameters:
displayName- the displayName value to set.- Returns:
- the CustomizedAcceleratorProperties object itself.
-
description
Get the description property: The description property.- Returns:
- the description value.
-
withDescription
Set the description property: The description property.- Parameters:
description- the description value to set.- Returns:
- the CustomizedAcceleratorProperties object itself.
-
iconUrl
Get the iconUrl property: The iconUrl property.- Returns:
- the iconUrl value.
-
withIconUrl
Set the iconUrl property: The iconUrl property.- Parameters:
iconUrl- the iconUrl value to set.- Returns:
- the CustomizedAcceleratorProperties object itself.
-
acceleratorTags
Get the acceleratorTags property: The acceleratorTags property.- Returns:
- the acceleratorTags value.
-
withAcceleratorTags
Set the acceleratorTags property: The acceleratorTags property.- Parameters:
acceleratorTags- the acceleratorTags value to set.- Returns:
- the CustomizedAcceleratorProperties object itself.
-
imports
Get the imports property: Imports references all imports that this accelerator/fragment depends upon.- Returns:
- the imports value.
-
gitRepository
Get the gitRepository property: The gitRepository property.- Returns:
- the gitRepository value.
-
withGitRepository
Set the gitRepository property: The gitRepository property.- Parameters:
gitRepository- the gitRepository value to set.- Returns:
- the CustomizedAcceleratorProperties 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<CustomizedAcceleratorProperties>- Throws:
IOException
-
fromJson
public static CustomizedAcceleratorProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of CustomizedAcceleratorProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of CustomizedAcceleratorProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the CustomizedAcceleratorProperties.
-