![JAR search and dependency download from the Maven repository](/logo.png)
com.azure.resourcemanager.automation.models.RunbookProvisioningState Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.automation.models;
/**
* Gets or sets the provisioning state of the runbook.
*/
public enum RunbookProvisioningState {
/**
* Enum value Succeeded.
*/
SUCCEEDED("Succeeded");
/**
* The actual serialized value for a RunbookProvisioningState instance.
*/
private final String value;
RunbookProvisioningState(String value) {
this.value = value;
}
/**
* Parses a serialized value to a RunbookProvisioningState instance.
*
* @param value the serialized value to parse.
* @return the parsed RunbookProvisioningState object, or null if unable to parse.
*/
public static RunbookProvisioningState fromString(String value) {
if (value == null) {
return null;
}
RunbookProvisioningState[] items = RunbookProvisioningState.values();
for (RunbookProvisioningState item : items) {
if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
}
/**
* {@inheritDoc}
*/
@Override
public String toString() {
return this.value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy