Class ContentPathMap
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.ContentPathMap
-
public final class ContentPathMap extends Object
The mapping of content type to a repo path.
-
-
Constructor Summary
Constructors Constructor Description ContentPathMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentType
contentType()
Get the contentType property: Content type.String
path()
Get the path property: The path to the content.void
validate()
Validates the instance.ContentPathMap
withContentType(ContentType contentType)
Set the contentType property: Content type.ContentPathMap
withPath(String path)
Set the path property: The path to the content.
-
-
-
Method Detail
-
contentType
public ContentType contentType()
Get the contentType property: Content type.- Returns:
- the contentType value.
-
withContentType
public ContentPathMap withContentType(ContentType contentType)
Set the contentType property: Content type.- Parameters:
contentType
- the contentType value to set.- Returns:
- the ContentPathMap object itself.
-
path
public String path()
Get the path property: The path to the content.- Returns:
- the path value.
-
withPath
public ContentPathMap withPath(String path)
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.
-
-