Class MetadataEntityInner
java.lang.Object
com.azure.resourcemanager.advisor.fluent.models.MetadataEntityInner
The metadata entity contract.
-
Constructor Summary
-
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.id()
Get the id property: The resource Id of the metadata entity.name()
Get the name property: The name of the metadata entity.Get the supportedValues property: The list of supported values.type()
Get the type property: The type of the metadata entity.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.Set the id property: The resource Id of the metadata entity.Set the name property: The name of the metadata entity.withSupportedValues
(List<MetadataSupportedValueDetail> supportedValues) Set the supportedValues property: The list of supported values.Set the type property: The type of the metadata entity.
-
Constructor Details
-
MetadataEntityInner
public MetadataEntityInner()Creates an instance of MetadataEntityInner class.
-
-
Method Details
-
id
Get the id property: The resource Id of the metadata entity.- Returns:
- the id value.
-
withId
Set the id property: The resource Id of the metadata entity.- Parameters:
id
- the id value to set.- Returns:
- the MetadataEntityInner object itself.
-
type
Get the type property: The type of the metadata entity.- Returns:
- the type value.
-
withType
Set the type property: The type of the metadata entity.- Parameters:
type
- the type value to set.- Returns:
- the MetadataEntityInner object itself.
-
name
Get the name property: The name of the metadata entity.- Returns:
- the name value.
-
withName
Set the name property: The name of the metadata entity.- Parameters:
name
- the name value to set.- Returns:
- the MetadataEntityInner object itself.
-
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 MetadataEntityInner 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 MetadataEntityInner 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 MetadataEntityInner object itself.
-
supportedValues
Get the supportedValues property: The list of supported values.- Returns:
- the supportedValues value.
-
withSupportedValues
Set the supportedValues property: The list of supported values.- Parameters:
supportedValues
- the supportedValues value to set.- Returns:
- the MetadataEntityInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-