com.azure.resourcemanager.storage.models.LeaseShareAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-storage Show documentation
Show all versions of azure-resourcemanager-storage Show documentation
This package contains Microsoft Azure Storage Management SDK.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.storage.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Specifies the lease action. Can be one of the available actions.
*/
public final class LeaseShareAction extends ExpandableStringEnum {
/**
* Static value Acquire for LeaseShareAction.
*/
public static final LeaseShareAction ACQUIRE = fromString("Acquire");
/**
* Static value Renew for LeaseShareAction.
*/
public static final LeaseShareAction RENEW = fromString("Renew");
/**
* Static value Change for LeaseShareAction.
*/
public static final LeaseShareAction CHANGE = fromString("Change");
/**
* Static value Release for LeaseShareAction.
*/
public static final LeaseShareAction RELEASE = fromString("Release");
/**
* Static value Break for LeaseShareAction.
*/
public static final LeaseShareAction BREAK = fromString("Break");
/**
* Creates a new instance of LeaseShareAction value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public LeaseShareAction() {
}
/**
* Creates or finds a LeaseShareAction from its string representation.
*
* @param name a name to look for.
* @return the corresponding LeaseShareAction.
*/
public static LeaseShareAction fromString(String name) {
return fromString(name, LeaseShareAction.class);
}
/**
* Gets known LeaseShareAction values.
*
* @return known LeaseShareAction values.
*/
public static Collection values() {
return values(LeaseShareAction.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy