Enum AssociateResourceErrorReason
- java.lang.Object
-
- java.lang.Enum<AssociateResourceErrorReason>
-
- software.amazon.awssdk.services.billingconductor.model.AssociateResourceErrorReason
-
- All Implemented Interfaces:
Serializable,Comparable<AssociateResourceErrorReason>
@Generated("software.amazon.awssdk:codegen") public enum AssociateResourceErrorReason extends Enum<AssociateResourceErrorReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ILLEGAL_CUSTOMLINEITEMINTERNAL_SERVER_EXCEPTIONINVALID_ARNINVALID_BILLING_PERIOD_RANGESERVICE_LIMIT_EXCEEDEDUNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssociateResourceErrorReasonfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<AssociateResourceErrorReason>knownValues()StringtoString()static AssociateResourceErrorReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static AssociateResourceErrorReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_ARN
public static final AssociateResourceErrorReason INVALID_ARN
-
SERVICE_LIMIT_EXCEEDED
public static final AssociateResourceErrorReason SERVICE_LIMIT_EXCEEDED
-
ILLEGAL_CUSTOMLINEITEM
public static final AssociateResourceErrorReason ILLEGAL_CUSTOMLINEITEM
-
INTERNAL_SERVER_EXCEPTION
public static final AssociateResourceErrorReason INTERNAL_SERVER_EXCEPTION
-
INVALID_BILLING_PERIOD_RANGE
public static final AssociateResourceErrorReason INVALID_BILLING_PERIOD_RANGE
-
UNKNOWN_TO_SDK_VERSION
public static final AssociateResourceErrorReason UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static AssociateResourceErrorReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AssociateResourceErrorReason c : AssociateResourceErrorReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AssociateResourceErrorReason valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<AssociateResourceErrorReason>
-
fromValue
public static AssociateResourceErrorReason fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- AssociateResourceErrorReason corresponding to the value
-
knownValues
public static Set<AssociateResourceErrorReason> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownAssociateResourceErrorReasons
-
-