Class MetadataProperties
java.lang.Object
com.azure.resourcemanager.securityinsights.fluent.models.MetadataProperties
Metadata property bag.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthor()
Get the author property: The creator of the content item.Get the categories property: Categories for the solution content item.Get the contentId property: Static ID for the content.Get the contentSchemaVersion property: Schema version of the content.Get the customVersion property: The custom version of the content.Get the dependencies property: Dependencies for the content item, what other content items it requires to work.Get the firstPublishDate property: first publish date solution content item.icon()
Get the icon property: the icon identifier.kind()
Get the kind property: The kind of content the metadata is for.Get the lastPublishDate property: last publish date for the solution content item.parentId()
Get the parentId property: Full parent resource ID of the content item the metadata is for.Get the previewImages property: preview image file names.Get the previewImagesDark property: preview image file names.Get the providers property: Providers for the solution content item.source()
Get the source property: Source of the content.support()
Get the support property: Support information for the metadata - type, name, contact information.Get the threatAnalysisTactics property: the tactics the resource covers.Get the threatAnalysisTechniques property: the techniques the resource covers, these have to be aligned with the tactics being used.void
validate()
Validates the instance.version()
Get the version property: Version of the content.withAuthor
(MetadataAuthor author) Set the author property: The creator of the content item.withCategories
(MetadataCategories categories) Set the categories property: Categories for the solution content item.withContentId
(String contentId) Set the contentId property: Static ID for the content.withContentSchemaVersion
(String contentSchemaVersion) Set the contentSchemaVersion property: Schema version of the content.withCustomVersion
(String customVersion) Set the customVersion property: The custom version of the content.withDependencies
(MetadataDependencies dependencies) Set the dependencies property: Dependencies for the content item, what other content items it requires to work.withFirstPublishDate
(LocalDate firstPublishDate) Set the firstPublishDate property: first publish date solution content item.Set the icon property: the icon identifier.Set the kind property: The kind of content the metadata is for.withLastPublishDate
(LocalDate lastPublishDate) Set the lastPublishDate property: last publish date for the solution content item.withParentId
(String parentId) Set the parentId property: Full parent resource ID of the content item the metadata is for.withPreviewImages
(List<String> previewImages) Set the previewImages property: preview image file names.withPreviewImagesDark
(List<String> previewImagesDark) Set the previewImagesDark property: preview image file names.withProviders
(List<String> providers) Set the providers property: Providers for the solution content item.withSource
(MetadataSource source) Set the source property: Source of the content.withSupport
(MetadataSupport support) Set the support property: Support information for the metadata - type, name, contact information.withThreatAnalysisTactics
(List<String> threatAnalysisTactics) Set the threatAnalysisTactics property: the tactics the resource covers.withThreatAnalysisTechniques
(List<String> threatAnalysisTechniques) Set the threatAnalysisTechniques property: the techniques the resource covers, these have to be aligned with the tactics being used.withVersion
(String version) Set the version property: Version of the content.
-
Constructor Details
-
MetadataProperties
public MetadataProperties()
-
-
Method Details
-
contentId
Get the contentId property: Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name.- Returns:
- the contentId value.
-
withContentId
Set the contentId property: Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name.- Parameters:
contentId
- the contentId value to set.- Returns:
- the MetadataProperties object itself.
-
parentId
Get the parentId property: Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group).- Returns:
- the parentId value.
-
withParentId
Set the parentId property: Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group).- Parameters:
parentId
- the parentId value to set.- Returns:
- the MetadataProperties object itself.
-
version
Get the version property: Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks.- Returns:
- the version value.
-
withVersion
Set the version property: Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM template best practices. Can also be any string, but then we cannot guarantee any version checks.- Parameters:
version
- the version value to set.- Returns:
- the MetadataProperties object itself.
-
kind
Get the kind property: The kind of content the metadata is for.- Returns:
- the kind value.
-
withKind
Set the kind property: The kind of content the metadata is for.- Parameters:
kind
- the kind value to set.- Returns:
- the MetadataProperties object itself.
-
source
Get the source property: Source of the content. This is where/how it was created.- Returns:
- the source value.
-
withSource
Set the source property: Source of the content. This is where/how it was created.- Parameters:
source
- the source value to set.- Returns:
- the MetadataProperties object itself.
-
author
Get the author property: The creator of the content item.- Returns:
- the author value.
-
withAuthor
Set the author property: The creator of the content item.- Parameters:
author
- the author value to set.- Returns:
- the MetadataProperties object itself.
-
support
Get the support property: Support information for the metadata - type, name, contact information.- Returns:
- the support value.
-
withSupport
Set the support property: Support information for the metadata - type, name, contact information.- Parameters:
support
- the support value to set.- Returns:
- the MetadataProperties object itself.
-
dependencies
Get the dependencies property: Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats.- Returns:
- the dependencies value.
-
withDependencies
Set the dependencies property: Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats.- Parameters:
dependencies
- the dependencies value to set.- Returns:
- the MetadataProperties object itself.
-
categories
Get the categories property: Categories for the solution content item.- Returns:
- the categories value.
-
withCategories
Set the categories property: Categories for the solution content item.- Parameters:
categories
- the categories value to set.- Returns:
- the MetadataProperties object itself.
-
providers
Get the providers property: Providers for the solution content item.- Returns:
- the providers value.
-
withProviders
Set the providers property: Providers for the solution content item.- Parameters:
providers
- the providers value to set.- Returns:
- the MetadataProperties object itself.
-
firstPublishDate
Get the firstPublishDate property: first publish date solution content item.- Returns:
- the firstPublishDate value.
-
withFirstPublishDate
Set the firstPublishDate property: first publish date solution content item.- Parameters:
firstPublishDate
- the firstPublishDate value to set.- Returns:
- the MetadataProperties object itself.
-
lastPublishDate
Get the lastPublishDate property: last publish date for the solution content item.- Returns:
- the lastPublishDate value.
-
withLastPublishDate
Set the lastPublishDate property: last publish date for the solution content item.- Parameters:
lastPublishDate
- the lastPublishDate value to set.- Returns:
- the MetadataProperties object itself.
-
customVersion
Get the customVersion property: The custom version of the content. A optional free text.- Returns:
- the customVersion value.
-
withCustomVersion
Set the customVersion property: The custom version of the content. A optional free text.- Parameters:
customVersion
- the customVersion value to set.- Returns:
- the MetadataProperties object itself.
-
contentSchemaVersion
Get the contentSchemaVersion property: Schema version of the content. Can be used to distinguish between different flow based on the schema version.- Returns:
- the contentSchemaVersion value.
-
withContentSchemaVersion
Set the contentSchemaVersion property: Schema version of the content. Can be used to distinguish between different flow based on the schema version.- Parameters:
contentSchemaVersion
- the contentSchemaVersion value to set.- Returns:
- the MetadataProperties object itself.
-
icon
Get the icon property: the icon identifier. this id can later be fetched from the solution template.- Returns:
- the icon value.
-
withIcon
Set the icon property: the icon identifier. this id can later be fetched from the solution template.- Parameters:
icon
- the icon value to set.- Returns:
- the MetadataProperties object itself.
-
threatAnalysisTactics
Get the threatAnalysisTactics property: the tactics the resource covers.- Returns:
- the threatAnalysisTactics value.
-
withThreatAnalysisTactics
Set the threatAnalysisTactics property: the tactics the resource covers.- Parameters:
threatAnalysisTactics
- the threatAnalysisTactics value to set.- Returns:
- the MetadataProperties object itself.
-
threatAnalysisTechniques
Get the threatAnalysisTechniques property: the techniques the resource covers, these have to be aligned with the tactics being used.- Returns:
- the threatAnalysisTechniques value.
-
withThreatAnalysisTechniques
Set the threatAnalysisTechniques property: the techniques the resource covers, these have to be aligned with the tactics being used.- Parameters:
threatAnalysisTechniques
- the threatAnalysisTechniques value to set.- Returns:
- the MetadataProperties object itself.
-
previewImages
Get the previewImages property: preview image file names. These will be taken from the solution artifacts.- Returns:
- the previewImages value.
-
withPreviewImages
Set the previewImages property: preview image file names. These will be taken from the solution artifacts.- Parameters:
previewImages
- the previewImages value to set.- Returns:
- the MetadataProperties object itself.
-
previewImagesDark
Get the previewImagesDark property: preview image file names. These will be taken from the solution artifacts. used for dark theme support.- Returns:
- the previewImagesDark value.
-
withPreviewImagesDark
Set the previewImagesDark property: preview image file names. These will be taken from the solution artifacts. used for dark theme support.- Parameters:
previewImagesDark
- the previewImagesDark value to set.- Returns:
- the MetadataProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-