Class ContentPathMap
java.lang.Object
com.azure.resourcemanager.securityinsights.models.ContentPathMap
The mapping of content type to a repo path.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the contentType property: Content type.path()
Get the path property: The path to the content.void
validate()
Validates the instance.withContentType
(ContentType contentType) Set the contentType property: Content type.Set the path property: The path to the content.
-
Constructor Details
-
ContentPathMap
public ContentPathMap()
-
-
Method Details
-
contentType
Get the contentType property: Content type.- Returns:
- the contentType value.
-
withContentType
Set the contentType property: Content type.- Parameters:
contentType
- the contentType value to set.- Returns:
- the ContentPathMap object itself.
-
path
Get the path property: The path to the content.- Returns:
- the path value.
-
withPath
Set the path property: The path to the content.- Parameters:
path
- the path value to set.- Returns:
- the ContentPathMap object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-