com.microsoft.windowsazure.services.servicebus.implementation.PartitioningPolicy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microsoft-azure-api-servicebus Show documentation
Show all versions of microsoft-azure-api-servicebus Show documentation
Microsoft Azure Service Bus SDK Clients
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.05.07 at 03:44:57 PM PDT
//
package com.microsoft.windowsazure.services.servicebus.implementation;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for PartitioningPolicy.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="PartitioningPolicy">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="NoPartitioning"/>
* <enumeration value="MessagePartitioning"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "PartitioningPolicy")
@XmlEnum
public enum PartitioningPolicy {
@XmlEnumValue("NoPartitioning")
NO_PARTITIONING("NoPartitioning"),
@XmlEnumValue("MessagePartitioning")
MESSAGE_PARTITIONING("MessagePartitioning");
private final String value;
PartitioningPolicy(String v) {
value = v;
}
public String value() {
return value;
}
public static PartitioningPolicy fromValue(String v) {
for (PartitioningPolicy c: PartitioningPolicy.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy