Compartilhar via


AzureStaticWebAppsRegistration Class

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

Implements

public final class AzureStaticWebAppsRegistration
implements JsonSerializable<AzureStaticWebAppsRegistration>

The configuration settings of the registration for the Azure Static Web Apps provider.

Constructor Summary

Constructor Description
AzureStaticWebAppsRegistration()

Creates an instance of AzureStaticWebAppsRegistration class.

Method Summary

Modifier and Type Method and Description
String clientId()

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

static AzureStaticWebAppsRegistration fromJson(JsonReader jsonReader)

Reads an instance of AzureStaticWebAppsRegistration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AzureStaticWebAppsRegistration withClientId(String clientId)

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

Methods inherited from java.lang.Object

Constructor Details

AzureStaticWebAppsRegistration

public AzureStaticWebAppsRegistration()

Creates an instance of AzureStaticWebAppsRegistration class.

Method Details

clientId

public String clientId()

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

Returns:

the clientId value.

fromJson

public static AzureStaticWebAppsRegistration fromJson(JsonReader jsonReader)

Reads an instance of AzureStaticWebAppsRegistration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureStaticWebAppsRegistration 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 AzureStaticWebAppsRegistration.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withClientId

public AzureStaticWebAppsRegistration 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 AzureStaticWebAppsRegistration object itself.

Applies to