Class PathRecommendation
java.lang.Object
com.azure.resourcemanager.security.models.PathRecommendation
Represents a path that is recommended to be allowed and its properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaction()
Get the action property: The recommendation action of the machine or rule.common()
Get the common property: Whether the application is commonly run on the machine.Get the configurationStatus property: The configuration status of the machines group or machine or rule.fileType()
Get the fileType property: The type of the file (for Linux files - Executable is used).path()
Get the path property: The full path of the file, or an identifier of the application.Get the publisherInfo property: Represents the publisher information of a process/rule.type()
Get the type property: The type of IoT Security recommendation.Get the usernames property: The usernames property.userSids()
Get the userSids property: The userSids property.void
validate()
Validates the instance.withAction
(RecommendationAction action) Set the action property: The recommendation action of the machine or rule.withCommon
(Boolean common) Set the common property: Whether the application is commonly run on the machine.withConfigurationStatus
(ConfigurationStatus configurationStatus) Set the configurationStatus property: The configuration status of the machines group or machine or rule.withFileType
(FileType fileType) Set the fileType property: The type of the file (for Linux files - Executable is used).Set the path property: The full path of the file, or an identifier of the application.withPublisherInfo
(PublisherInfo publisherInfo) Set the publisherInfo property: Represents the publisher information of a process/rule.withType
(RecommendationType type) Set the type property: The type of IoT Security recommendation.withUsernames
(List<UserRecommendation> usernames) Set the usernames property: The usernames property.withUserSids
(List<String> userSids) Set the userSids property: The userSids property.
-
Constructor Details
-
PathRecommendation
public PathRecommendation()
-
-
Method Details
-
path
Get the path property: The full path of the file, or an identifier of the application.- Returns:
- the path value.
-
withPath
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
Get the action property: The recommendation action of the machine or rule.- Returns:
- the action value.
-
withAction
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
Get the type property: The type of IoT Security recommendation.- Returns:
- the type value.
-
withType
Set the type property: The type of IoT Security recommendation.- Parameters:
type
- the type value to set.- Returns:
- the PathRecommendation object itself.
-
publisherInfo
Get the publisherInfo property: Represents the publisher information of a process/rule.- Returns:
- the publisherInfo value.
-
withPublisherInfo
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
Get the common property: Whether the application is commonly run on the machine.- Returns:
- the common value.
-
withCommon
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
Get the userSids property: The userSids property.- Returns:
- the userSids value.
-
withUserSids
Set the userSids property: The userSids property.- Parameters:
userSids
- the userSids value to set.- Returns:
- the PathRecommendation object itself.
-
usernames
Get the usernames property: The usernames property.- Returns:
- the usernames value.
-
withUsernames
Set the usernames property: The usernames property.- Parameters:
usernames
- the usernames value to set.- Returns:
- the PathRecommendation object itself.
-
fileType
Get the fileType property: The type of the file (for Linux files - Executable is used).- Returns:
- the fileType value.
-
withFileType
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
Get the configurationStatus property: The configuration status of the machines group or machine or rule.- Returns:
- the configurationStatus value.
-
withConfigurationStatus
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.
-