PathRecommendation Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. PathRecommendation
- com.
public final class PathRecommendation
Represents a path that is recommended to be allowed and its properties.
Constructor Summary
Constructor | Description |
---|---|
PathRecommendation() |
Creates an instance of Path |
Method Summary
Modifier and Type | Method and Description |
---|---|
Recommendation |
action()
Get the action property: The recommendation action of the machine or rule. |
Boolean |
common()
Get the common property: Whether the application is commonly run on the machine. |
Configuration |
configurationStatus()
Get the configuration |
File |
fileType()
Get the file |
String |
path()
Get the path property: The full path of the file, or an identifier of the application. |
Publisher |
publisherInfo()
Get the publisher |
Recommendation |
type()
Get the type property: The type of IoT Security recommendation. |
List<String> |
userSids()
Get the user |
List<User |
usernames()
Get the usernames property: The usernames property. |
void |
validate()
Validates the instance. |
Path |
withAction(RecommendationAction action)
Set the action property: The recommendation action of the machine or rule. |
Path |
withCommon(Boolean common)
Set the common property: Whether the application is commonly run on the machine. |
Path |
withConfigurationStatus(ConfigurationStatus configurationStatus)
Set the configuration |
Path |
withFileType(FileType fileType)
Set the file |
Path |
withPath(String path)
Set the path property: The full path of the file, or an identifier of the application. |
Path |
withPublisherInfo(PublisherInfo publisherInfo)
Set the publisher |
Path |
withType(RecommendationType type)
Set the type property: The type of IoT Security recommendation. |
Path |
withUserSids(List<String> userSids)
Set the user |
Path |
withUsernames(List<UserRecommendation> usernames)
Set the usernames property: The usernames property. |
Methods inherited from java.lang.Object
Constructor Details
PathRecommendation
public PathRecommendation()
Creates an instance of PathRecommendation class.
Method Details
action
public RecommendationAction action()
Get the action property: The recommendation action of the machine or rule.
Returns:
common
public Boolean common()
Get the common property: Whether the application is commonly run on the machine.
Returns:
configurationStatus
public ConfigurationStatus configurationStatus()
Get the configurationStatus property: The configuration status of the machines group or machine or rule.
Returns:
fileType
public FileType fileType()
Get the fileType property: The type of the file (for Linux files - Executable is used).
Returns:
path
public String path()
Get the path property: The full path of the file, or an identifier of the application.
Returns:
publisherInfo
public PublisherInfo publisherInfo()
Get the publisherInfo property: Represents the publisher information of a process/rule.
Returns:
type
public RecommendationType type()
Get the type property: The type of IoT Security recommendation.
Returns:
userSids
public List
Get the userSids property: The userSids property.
Returns:
usernames
public List
Get the usernames property: The usernames property.
Returns:
validate
public void validate()
Validates the instance.
withAction
public PathRecommendation withAction(RecommendationAction action)
Set the action property: The recommendation action of the machine or rule.
Parameters:
Returns:
withCommon
public PathRecommendation withCommon(Boolean common)
Set the common property: Whether the application is commonly run on the machine.
Parameters:
Returns:
withConfigurationStatus
public PathRecommendation withConfigurationStatus(ConfigurationStatus configurationStatus)
Set the configurationStatus property: The configuration status of the machines group or machine or rule.
Parameters:
Returns:
withFileType
public PathRecommendation withFileType(FileType fileType)
Set the fileType property: The type of the file (for Linux files - Executable is used).
Parameters:
Returns:
withPath
public PathRecommendation withPath(String path)
Set the path property: The full path of the file, or an identifier of the application.
Parameters:
Returns:
withPublisherInfo
public PathRecommendation withPublisherInfo(PublisherInfo publisherInfo)
Set the publisherInfo property: Represents the publisher information of a process/rule.
Parameters:
Returns:
withType
public PathRecommendation withType(RecommendationType type)
Set the type property: The type of IoT Security recommendation.
Parameters:
Returns:
withUserSids
public PathRecommendation withUserSids(List
Set the userSids property: The userSids property.
Parameters:
Returns:
withUsernames
public PathRecommendation withUsernames(List
Set the usernames property: The usernames property.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for