Class DeploymentExtensionSpecProperties

java.lang.Object
com.azure.resourcemanager.containerinstance.fluent.models.DeploymentExtensionSpecProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<DeploymentExtensionSpecProperties>

public final class DeploymentExtensionSpecProperties extends Object implements com.azure.json.JsonSerializable<DeploymentExtensionSpecProperties>
Extension specific properties.
  • Constructor Details

    • DeploymentExtensionSpecProperties

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

    • extensionType

      public String extensionType()
      Get the extensionType property: Type of extension to be added.
      Returns:
      the extensionType value.
    • withExtensionType

      public DeploymentExtensionSpecProperties withExtensionType(String extensionType)
      Set the extensionType property: Type of extension to be added.
      Parameters:
      extensionType - the extensionType value to set.
      Returns:
      the DeploymentExtensionSpecProperties object itself.
    • version

      public String version()
      Get the version property: Version of the extension being used.
      Returns:
      the version value.
    • withVersion

      public DeploymentExtensionSpecProperties withVersion(String version)
      Set the version property: Version of the extension being used.
      Parameters:
      version - the version value to set.
      Returns:
      the DeploymentExtensionSpecProperties object itself.
    • settings

      public Object settings()
      Get the settings property: Settings for the extension.
      Returns:
      the settings value.
    • withSettings

      public DeploymentExtensionSpecProperties withSettings(Object settings)
      Set the settings property: Settings for the extension.
      Parameters:
      settings - the settings value to set.
      Returns:
      the DeploymentExtensionSpecProperties object itself.
    • protectedSettings

      public Object protectedSettings()
      Get the protectedSettings property: Protected settings for the extension.
      Returns:
      the protectedSettings value.
    • withProtectedSettings

      public DeploymentExtensionSpecProperties withProtectedSettings(Object protectedSettings)
      Set the protectedSettings property: Protected settings for the extension.
      Parameters:
      protectedSettings - the protectedSettings value to set.
      Returns:
      the DeploymentExtensionSpecProperties 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<DeploymentExtensionSpecProperties>
      Throws:
      IOException
    • fromJson

      public static DeploymentExtensionSpecProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of DeploymentExtensionSpecProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of DeploymentExtensionSpecProperties 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 DeploymentExtensionSpecProperties.