com.azure.resourcemanager.storage.models.LeaseContainerRequestAction 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 LeaseContainerRequestAction extends ExpandableStringEnum {
/**
* Static value Acquire for LeaseContainerRequestAction.
*/
public static final LeaseContainerRequestAction ACQUIRE = fromString("Acquire");
/**
* Static value Renew for LeaseContainerRequestAction.
*/
public static final LeaseContainerRequestAction RENEW = fromString("Renew");
/**
* Static value Change for LeaseContainerRequestAction.
*/
public static final LeaseContainerRequestAction CHANGE = fromString("Change");
/**
* Static value Release for LeaseContainerRequestAction.
*/
public static final LeaseContainerRequestAction RELEASE = fromString("Release");
/**
* Static value Break for LeaseContainerRequestAction.
*/
public static final LeaseContainerRequestAction BREAK = fromString("Break");
/**
* Creates a new instance of LeaseContainerRequestAction value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public LeaseContainerRequestAction() {
}
/**
* Creates or finds a LeaseContainerRequestAction from its string representation.
*
* @param name a name to look for.
* @return the corresponding LeaseContainerRequestAction.
*/
public static LeaseContainerRequestAction fromString(String name) {
return fromString(name, LeaseContainerRequestAction.class);
}
/**
* Gets known LeaseContainerRequestAction values.
*
* @return known LeaseContainerRequestAction values.
*/
public static Collection values() {
return values(LeaseContainerRequestAction.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy