rules) {
return this;
}
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (innerProperties() != null) {
- innerProperties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@@ -144,7 +135,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
* @param jsonReader The JsonReader being read.
* @return An instance of RulesEngineInner if the JsonReader was pointing to an instance of it, or null if it was
* pointing to JSON null.
- * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
* @throws IOException If an error occurs while reading the RulesEngineInner.
*/
public static RulesEngineInner fromJson(JsonReader jsonReader) throws IOException {
diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/RulesEngineProperties.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/RulesEngineProperties.java
index 9261c0cff01c1..f8d1f3ce1e626 100644
--- a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/RulesEngineProperties.java
+++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/main/java/com/azure/resourcemanager/frontdoor/fluent/models/RulesEngineProperties.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.frontdoor.fluent.models;
@@ -20,6 +20,8 @@
@Fluent
public final class RulesEngineProperties extends RulesEngineUpdateParameters {
/*
+ * Resource status of the Front Door or Front Door SubResource.
+ *
* Resource status.
*/
private FrontDoorResourceState resourceState;
@@ -31,7 +33,9 @@ public RulesEngineProperties() {
}
/**
- * Get the resourceState property: Resource status.
+ * Get the resourceState property: Resource status of the Front Door or Front Door SubResource.
+ *
+ * Resource status.
*
* @return the resourceState value.
*/
@@ -48,18 +52,6 @@ public RulesEngineProperties withRules(List