Category Class

public final class Category
extends ExpandableStringEnum<Category>

The category of the agreement signed by a customer.

Field Summary

Modifier and Type Field and Description
static final Category AFFILIATE_PURCHASE_TERMS

Static value AffiliatePurchaseTerms for Category.

static final Category MICROSOFT_CUSTOMER_AGREEMENT

Static value MicrosoftCustomerAgreement for Category.

static final Category OTHER

Static value Other for Category.

Constructor Summary

Constructor Description
Category()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Category value.

Method Summary

Modifier and Type Method and Description
static Category fromString(String name)

Creates or finds a Category from its string representation.

static Collection<Category> values()

Gets known Category values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AFFILIATE_PURCHASE_TERMS

public static final Category AFFILIATE_PURCHASE_TERMS

Static value AffiliatePurchaseTerms for Category.

MICROSOFT_CUSTOMER_AGREEMENT

public static final Category MICROSOFT_CUSTOMER_AGREEMENT

Static value MicrosoftCustomerAgreement for Category.

OTHER

public static final Category OTHER

Static value Other for Category.

Constructor Details

Category

@Deprecated
public Category()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Category value.

Method Details

fromString

public static Category fromString(String name)

Creates or finds a Category from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Category.

values

public static Collection values()

Gets known Category values.

Returns:

known Category values.

Applies to

Azure SDK for Java

Preview