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 Details

    • ContentPathMap

      public ContentPathMap()
  • Method Details

    • 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.