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.
/**
* 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.storage;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for RootSquashType.
/**
* Defines values for RootSquashType.
*/
public final class RootSquashType extends ExpandableStringEnum<RootSquashType> {
Static value NoRootSquash for RootSquashType. /** Static value NoRootSquash for RootSquashType. */
public static final RootSquashType NO_ROOT_SQUASH = fromString("NoRootSquash");
Static value RootSquash for RootSquashType. /** Static value RootSquash for RootSquashType. */
public static final RootSquashType ROOT_SQUASH = fromString("RootSquash");
Static value AllSquash for RootSquashType. /** Static value AllSquash for RootSquashType. */
public static final RootSquashType ALL_SQUASH = fromString("AllSquash");
Creates or finds a RootSquashType from its string representation.
Params: - name – a name to look for
Returns: the corresponding RootSquashType
/**
* Creates or finds a RootSquashType from its string representation.
* @param name a name to look for
* @return the corresponding RootSquashType
*/
@JsonCreator
public static RootSquashType fromString(String name) {
return fromString(name, RootSquashType.class);
}
Returns: known RootSquashType values
/**
* @return known RootSquashType values
*/
public static Collection<RootSquashType> values() {
return values(RootSquashType.class);
}
}