AzureStaticWebApps Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. AzureStaticWebApps
- com.
Implements
public final class AzureStaticWebApps
implements JsonSerializable<AzureStaticWebApps>
The configuration settings of the Azure Static Web Apps provider.
Constructor Summary
Constructor | Description |
---|---|
AzureStaticWebApps() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
enabled()
Get the enabled property: |
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
Azure |
registration()
Get the registration property: The configuration settings of the Azure Static Web Apps registration. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Azure |
withEnabled(Boolean enabled)
Set the enabled property: |
Azure |
withRegistration(AzureStaticWebAppsRegistration registration)
Set the registration property: The configuration settings of the Azure Static Web Apps registration. |
Methods inherited from java.lang.Object
Constructor Details
AzureStaticWebApps
public AzureStaticWebApps()
Creates an instance of AzureStaticWebApps class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: false
if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true
.
Returns:
fromJson
public static AzureStaticWebApps fromJson(JsonReader jsonReader)
Reads an instance of AzureStaticWebApps from the JsonReader.
Parameters:
Returns:
Throws:
registration
public AzureStaticWebAppsRegistration registration()
Get the registration property: The configuration settings of the Azure Static Web Apps registration.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public AzureStaticWebApps withEnabled(Boolean enabled)
Set the enabled property: false
if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, true
.
Parameters:
Returns:
withRegistration
public AzureStaticWebApps withRegistration(AzureStaticWebAppsRegistration registration)
Set the registration property: The configuration settings of the Azure Static Web Apps registration.
Parameters:
Returns: