Class AcceleratorPublicSetting

java.lang.Object
com.azure.resourcemanager.appplatform.models.AcceleratorAuthSetting
com.azure.resourcemanager.appplatform.models.AcceleratorPublicSetting
All Implemented Interfaces:
com.azure.json.JsonSerializable<AcceleratorAuthSetting>

public final class AcceleratorPublicSetting extends AcceleratorAuthSetting
Auth setting for public url.
  • Constructor Details

    • AcceleratorPublicSetting

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

    • authType

      public String authType()
      Get the authType property: The type of the auth setting.
      Overrides:
      authType in class AcceleratorAuthSetting
      Returns:
      the authType value.
    • caCertResourceId

      public String caCertResourceId()
      Get the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.
      Returns:
      the caCertResourceId value.
    • withCaCertResourceId

      public AcceleratorPublicSetting withCaCertResourceId(String caCertResourceId)
      Set the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.
      Parameters:
      caCertResourceId - the caCertResourceId value to set.
      Returns:
      the AcceleratorPublicSetting object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class AcceleratorAuthSetting
      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<AcceleratorAuthSetting>
      Overrides:
      toJson in class AcceleratorAuthSetting
      Throws:
      IOException
    • fromJson

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