Class MetadataDefinitionBase
java.lang.Object
com.azure.resourcemanager.customerinsights.models.MetadataDefinitionBase
- Direct Known Subclasses:
EntityTypeDefinition
The Metadata definition base.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MetadataDefinitionBase class. -
Method Summary
Modifier and TypeMethodDescriptionGet the attributes property: The attributes for the Type.Get the description property: Localized descriptions for the property.Get the displayName property: Localized display names for the property.Get the largeImage property: Large Image associated with the Property or EntityType.Get the localizedAttributes property: Any custom localized attributes for the Type.Get the mediumImage property: Medium Image associated with the Property or EntityType.Get the smallImage property: Small Image associated with the Property or EntityType.void
validate()
Validates the instance.withAttributes
(Map<String, List<String>> attributes) Set the attributes property: The attributes for the Type.withDescription
(Map<String, String> description) Set the description property: Localized descriptions for the property.withDisplayName
(Map<String, String> displayName) Set the displayName property: Localized display names for the property.withLargeImage
(String largeImage) Set the largeImage property: Large Image associated with the Property or EntityType.Set the localizedAttributes property: Any custom localized attributes for the Type.withMediumImage
(String mediumImage) Set the mediumImage property: Medium Image associated with the Property or EntityType.withSmallImage
(String smallImage) Set the smallImage property: Small Image associated with the Property or EntityType.
-
Constructor Details
-
MetadataDefinitionBase
public MetadataDefinitionBase()Creates an instance of MetadataDefinitionBase class.
-
-
Method Details
-
attributes
Get the attributes property: The attributes for the Type.- Returns:
- the attributes value.
-
withAttributes
Set the attributes property: The attributes for the Type.- Parameters:
attributes
- the attributes value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
description
Get the description property: Localized descriptions for the property.- Returns:
- the description value.
-
withDescription
Set the description property: Localized descriptions for the property.- Parameters:
description
- the description value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
displayName
Get the displayName property: Localized display names for the property.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Localized display names for the property.- Parameters:
displayName
- the displayName value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
localizedAttributes
Get the localizedAttributes property: Any custom localized attributes for the Type.- Returns:
- the localizedAttributes value.
-
withLocalizedAttributes
public MetadataDefinitionBase withLocalizedAttributes(Map<String, Map<String, String>> localizedAttributes) Set the localizedAttributes property: Any custom localized attributes for the Type.- Parameters:
localizedAttributes
- the localizedAttributes value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
smallImage
Get the smallImage property: Small Image associated with the Property or EntityType.- Returns:
- the smallImage value.
-
withSmallImage
Set the smallImage property: Small Image associated with the Property or EntityType.- Parameters:
smallImage
- the smallImage value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
mediumImage
Get the mediumImage property: Medium Image associated with the Property or EntityType.- Returns:
- the mediumImage value.
-
withMediumImage
Set the mediumImage property: Medium Image associated with the Property or EntityType.- Parameters:
mediumImage
- the mediumImage value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
largeImage
Get the largeImage property: Large Image associated with the Property or EntityType.- Returns:
- the largeImage value.
-
withLargeImage
Set the largeImage property: Large Image associated with the Property or EntityType.- Parameters:
largeImage
- the largeImage value to set.- Returns:
- the MetadataDefinitionBase object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-