Class ProfileEnumValidValuesFormat
java.lang.Object
com.azure.resourcemanager.customerinsights.models.ProfileEnumValidValuesFormat
Valid enum values in case of an enum property.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ProfileEnumValidValuesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the localizedValueNames property: Localized names of the enum member.void
validate()
Validates the instance.value()
Get the value property: The integer value of the enum member.withLocalizedValueNames
(Map<String, String> localizedValueNames) Set the localizedValueNames property: Localized names of the enum member.Set the value property: The integer value of the enum member.
-
Constructor Details
-
ProfileEnumValidValuesFormat
public ProfileEnumValidValuesFormat()Creates an instance of ProfileEnumValidValuesFormat class.
-
-
Method Details
-
value
Get the value property: The integer value of the enum member.- Returns:
- the value value.
-
withValue
Set the value property: The integer value of the enum member.- Parameters:
value
- the value value to set.- Returns:
- the ProfileEnumValidValuesFormat object itself.
-
localizedValueNames
Get the localizedValueNames property: Localized names of the enum member.- Returns:
- the localizedValueNames value.
-
withLocalizedValueNames
Set the localizedValueNames property: Localized names of the enum member.- Parameters:
localizedValueNames
- the localizedValueNames value to set.- Returns:
- the ProfileEnumValidValuesFormat object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-