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 Details

    • CustomizedAcceleratorProperties

      public CustomizedAcceleratorProperties()
      Creates an instance of CustomizedAcceleratorProperties class.
  • Method Details

    • provisioningState

      public CustomizedAcceleratorProvisioningState provisioningState()
      Get the provisioningState property: State of the customized accelerator.
      Returns:
      the provisioningState value.
    • acceleratorType

      public CustomizedAcceleratorType 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

      public String displayName()
      Get the displayName property: The displayName property.
      Returns:
      the displayName value.
    • withDisplayName

      public CustomizedAcceleratorProperties withDisplayName(String displayName)
      Set the displayName property: The displayName property.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the CustomizedAcceleratorProperties object itself.
    • description

      public String description()
      Get the description property: The description property.
      Returns:
      the description value.
    • withDescription

      public CustomizedAcceleratorProperties withDescription(String description)
      Set the description property: The description property.
      Parameters:
      description - the description value to set.
      Returns:
      the CustomizedAcceleratorProperties object itself.
    • iconUrl

      public String iconUrl()
      Get the iconUrl property: The iconUrl property.
      Returns:
      the iconUrl value.
    • withIconUrl

      public CustomizedAcceleratorProperties withIconUrl(String iconUrl)
      Set the iconUrl property: The iconUrl property.
      Parameters:
      iconUrl - the iconUrl value to set.
      Returns:
      the CustomizedAcceleratorProperties object itself.
    • acceleratorTags

      public List<String> acceleratorTags()
      Get the acceleratorTags property: The acceleratorTags property.
      Returns:
      the acceleratorTags value.
    • withAcceleratorTags

      public CustomizedAcceleratorProperties withAcceleratorTags(List<String> acceleratorTags)
      Set the acceleratorTags property: The acceleratorTags property.
      Parameters:
      acceleratorTags - the acceleratorTags value to set.
      Returns:
      the CustomizedAcceleratorProperties object itself.
    • imports

      public List<String> imports()
      Get the imports property: Imports references all imports that this accelerator/fragment depends upon.
      Returns:
      the imports value.
    • gitRepository

      public AcceleratorGitRepository gitRepository()
      Get the gitRepository property: The gitRepository property.
      Returns:
      the gitRepository value.
    • withGitRepository

      public CustomizedAcceleratorProperties withGitRepository(AcceleratorGitRepository gitRepository)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.