Class MetadataEntityProperties
java.lang.Object
com.azure.resourcemanager.advisor.fluent.models.MetadataEntityProperties
The metadata entity properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MetadataEntityProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the applicableScenarios property: The list of scenarios applicable to this metadata entity.Get the dependsOn property: The list of keys on which this entity depends on.Get the displayName property: The display name.Get the supportedValues property: The list of supported values.void
validate()
Validates the instance.withApplicableScenarios
(List<Scenario> applicableScenarios) Set the applicableScenarios property: The list of scenarios applicable to this metadata entity.withDependsOn
(List<String> dependsOn) Set the dependsOn property: The list of keys on which this entity depends on.withDisplayName
(String displayName) Set the displayName property: The display name.withSupportedValues
(List<MetadataSupportedValueDetail> supportedValues) Set the supportedValues property: The list of supported values.
-
Constructor Details
-
MetadataEntityProperties
public MetadataEntityProperties()Creates an instance of MetadataEntityProperties class.
-
-
Method Details
-
displayName
Get the displayName property: The display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the MetadataEntityProperties object itself.
-
dependsOn
Get the dependsOn property: The list of keys on which this entity depends on.- Returns:
- the dependsOn value.
-
withDependsOn
Set the dependsOn property: The list of keys on which this entity depends on.- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the MetadataEntityProperties object itself.
-
applicableScenarios
Get the applicableScenarios property: The list of scenarios applicable to this metadata entity.- Returns:
- the applicableScenarios value.
-
withApplicableScenarios
Set the applicableScenarios property: The list of scenarios applicable to this metadata entity.- Parameters:
applicableScenarios
- the applicableScenarios value to set.- Returns:
- the MetadataEntityProperties object itself.
-
supportedValues
Get the supportedValues property: The list of supported values.- Returns:
- the supportedValues value.
-
withSupportedValues
public MetadataEntityProperties withSupportedValues(List<MetadataSupportedValueDetail> supportedValues) Set the supportedValues property: The list of supported values.- Parameters:
supportedValues
- the supportedValues value to set.- Returns:
- the MetadataEntityProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-