Class PathRecommendation

java.lang.Object
com.azure.resourcemanager.security.models.PathRecommendation

public final class PathRecommendation extends Object
Represents a path that is recommended to be allowed and its properties.
  • Constructor Details

    • PathRecommendation

      public PathRecommendation()
  • Method Details

    • path

      public String path()
      Get the path property: The full path of the file, or an identifier of the application.
      Returns:
      the path value.
    • withPath

      public PathRecommendation withPath(String path)
      Set the path property: The full path of the file, or an identifier of the application.
      Parameters:
      path - the path value to set.
      Returns:
      the PathRecommendation object itself.
    • action

      public RecommendationAction action()
      Get the action property: The recommendation action of the machine or rule.
      Returns:
      the action value.
    • withAction

      public PathRecommendation withAction(RecommendationAction action)
      Set the action property: The recommendation action of the machine or rule.
      Parameters:
      action - the action value to set.
      Returns:
      the PathRecommendation object itself.
    • type

      public RecommendationType type()
      Get the type property: The type of IoT Security recommendation.
      Returns:
      the type value.
    • withType

      public PathRecommendation withType(RecommendationType type)
      Set the type property: The type of IoT Security recommendation.
      Parameters:
      type - the type value to set.
      Returns:
      the PathRecommendation object itself.
    • publisherInfo

      public PublisherInfo publisherInfo()
      Get the publisherInfo property: Represents the publisher information of a process/rule.
      Returns:
      the publisherInfo value.
    • withPublisherInfo

      public PathRecommendation withPublisherInfo(PublisherInfo publisherInfo)
      Set the publisherInfo property: Represents the publisher information of a process/rule.
      Parameters:
      publisherInfo - the publisherInfo value to set.
      Returns:
      the PathRecommendation object itself.
    • common

      public Boolean common()
      Get the common property: Whether the application is commonly run on the machine.
      Returns:
      the common value.
    • withCommon

      public PathRecommendation withCommon(Boolean common)
      Set the common property: Whether the application is commonly run on the machine.
      Parameters:
      common - the common value to set.
      Returns:
      the PathRecommendation object itself.
    • userSids

      public List<String> userSids()
      Get the userSids property: The userSids property.
      Returns:
      the userSids value.
    • withUserSids

      public PathRecommendation withUserSids(List<String> userSids)
      Set the userSids property: The userSids property.
      Parameters:
      userSids - the userSids value to set.
      Returns:
      the PathRecommendation object itself.
    • usernames

      public List<UserRecommendation> usernames()
      Get the usernames property: The usernames property.
      Returns:
      the usernames value.
    • withUsernames

      public PathRecommendation withUsernames(List<UserRecommendation> usernames)
      Set the usernames property: The usernames property.
      Parameters:
      usernames - the usernames value to set.
      Returns:
      the PathRecommendation object itself.
    • fileType

      public FileType fileType()
      Get the fileType property: The type of the file (for Linux files - Executable is used).
      Returns:
      the fileType value.
    • withFileType

      public PathRecommendation withFileType(FileType fileType)
      Set the fileType property: The type of the file (for Linux files - Executable is used).
      Parameters:
      fileType - the fileType value to set.
      Returns:
      the PathRecommendation object itself.
    • configurationStatus

      public ConfigurationStatus configurationStatus()
      Get the configurationStatus property: The configuration status of the machines group or machine or rule.
      Returns:
      the configurationStatus value.
    • withConfigurationStatus

      public PathRecommendation withConfigurationStatus(ConfigurationStatus configurationStatus)
      Set the configurationStatus property: The configuration status of the machines group or machine or rule.
      Parameters:
      configurationStatus - the configurationStatus value to set.
      Returns:
      the PathRecommendation object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.