AppleRegistration Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.AppleRegistration

Implements

public final class AppleRegistration
implements JsonSerializable<AppleRegistration>

The configuration settings of the registration for the Apple provider.

Constructor Summary

Constructor Description
AppleRegistration()

Creates an instance of AppleRegistration class.

Method Summary

Modifier and Type Method and Description
String clientId()

Get the clientId property: The Client ID of the app used for login.

String clientSecretSettingName()

Get the clientSecretSettingName property: The app setting name that contains the client secret.

static AppleRegistration fromJson(JsonReader jsonReader)

Reads an instance of AppleRegistration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AppleRegistration withClientId(String clientId)

Set the clientId property: The Client ID of the app used for login.

AppleRegistration withClientSecretSettingName(String clientSecretSettingName)

Set the clientSecretSettingName property: The app setting name that contains the client secret.

Methods inherited from java.lang.Object

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.

clientSecretSettingName

public String clientSecretSettingName()

Get the clientSecretSettingName property: The app setting name that contains the client secret.

Returns:

the clientSecretSettingName value.

fromJson

public static AppleRegistration fromJson(JsonReader jsonReader)

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

Applies to