com.microsoft.azure.management.trafficmanager.ProfileStatus Maven / Gradle / Ivy
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.trafficmanager;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
/**
* Defines values for ProfileStatus.
*/
public final class ProfileStatus extends ExpandableStringEnum {
/** Static value Enabled for ProfileStatus. */
public static final ProfileStatus ENABLED = fromString("Enabled");
/** Static value Disabled for ProfileStatus. */
public static final ProfileStatus DISABLED = fromString("Disabled");
/**
* Creates or finds a ProfileStatus from its string representation.
* @param name a name to look for
* @return the corresponding ProfileStatus
*/
@JsonCreator
public static ProfileStatus fromString(String name) {
return fromString(name, ProfileStatus.class);
}
/**
* @return known ProfileStatus values
*/
public static Collection values() {
return values(ProfileStatus.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy