Class AppleRegistration

java.lang.Object
com.azure.resourcemanager.appservice.models.AppleRegistration
All Implemented Interfaces:
com.azure.json.JsonSerializable<AppleRegistration>

public final class AppleRegistration extends Object implements com.azure.json.JsonSerializable<AppleRegistration>
The configuration settings of the registration for the Apple provider.
  • Constructor Details

    • AppleRegistration

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

    • clientId

      public String clientId()
      Get the clientId property: The Client ID of the app used for login.
      Returns:
      the clientId value.
    • withClientId

      public AppleRegistration withClientId(String clientId)
      Set the clientId property: The Client ID of the app used for login.
      Parameters:
      clientId - the clientId value to set.
      Returns:
      the AppleRegistration object itself.
    • clientSecretSettingName

      public String clientSecretSettingName()
      Get the clientSecretSettingName property: The app setting name that contains the client secret.
      Returns:
      the clientSecretSettingName value.
    • withClientSecretSettingName

      public AppleRegistration withClientSecretSettingName(String clientSecretSettingName)
      Set the clientSecretSettingName property: The app setting name that contains the client secret.
      Parameters:
      clientSecretSettingName - the clientSecretSettingName value to set.
      Returns:
      the AppleRegistration 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<AppleRegistration>
      Throws:
      IOException
    • fromJson

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