diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java index da5b89782f8be..4cf1e5f2abf71 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java @@ -48,7 +48,7 @@ public class AzureStorageInfoValue { * State of the storage account. Possible values include: 'Ok', * 'InvalidCredentials', 'InvalidShare'. */ - @JsonProperty(value = "state") + @JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY) private AzureStorageState state; /** @@ -160,15 +160,4 @@ public AzureStorageState state() { return this.state; } - /** - * Set state of the storage account. Possible values include: 'Ok', 'InvalidCredentials', 'InvalidShare'. - * - * @param state the state value to set - * @return the AzureStorageInfoValue object itself. - */ - public AzureStorageInfoValue withState(AzureStorageState state) { - this.state = state; - return this; - } - }