PathRecommendation Class

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

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 PathRecommendation class.

Method Summary

Modifier and Type Method and Description
RecommendationAction 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.

ConfigurationStatus configurationStatus()

Get the configurationStatus property: The configuration status of the machines group or machine or rule.

FileType fileType()

Get the fileType property: The type of the file (for Linux files - Executable is used).

String path()

Get the path property: The full path of the file, or an identifier of the application.

PublisherInfo publisherInfo()

Get the publisherInfo property: Represents the publisher information of a process/rule.

RecommendationType type()

Get the type property: The type of IoT Security recommendation.

List<String> userSids()

Get the userSids property: The userSids property.

List<UserRecommendation> usernames()

Get the usernames property: The usernames property.

void validate()

Validates the instance.

PathRecommendation withAction(RecommendationAction action)

Set the action property: The recommendation action of the machine or rule.

PathRecommendation withCommon(Boolean common)

Set the common property: Whether the application is commonly run on the machine.

PathRecommendation withConfigurationStatus(ConfigurationStatus configurationStatus)

Set the configurationStatus property: The configuration status of the machines group or machine or rule.

PathRecommendation withFileType(FileType fileType)

Set the fileType property: The type of the file (for Linux files - Executable is used).

PathRecommendation withPath(String path)

Set the path property: The full path of the file, or an identifier of the application.

PathRecommendation withPublisherInfo(PublisherInfo publisherInfo)

Set the publisherInfo property: Represents the publisher information of a process/rule.

PathRecommendation withType(RecommendationType type)

Set the type property: The type of IoT Security recommendation.

PathRecommendation withUserSids(List<String> userSids)

Set the userSids property: The userSids property.

PathRecommendation 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:

the action value.

common

public Boolean common()

Get the common property: Whether the application is commonly run on the machine.

Returns:

the common value.

configurationStatus

public ConfigurationStatus configurationStatus()

Get the configurationStatus property: The configuration status of the machines group or machine or rule.

Returns:

the configurationStatus value.

fileType

public FileType fileType()

Get the fileType property: The type of the file (for Linux files - Executable is used).

Returns:

the fileType value.

path

public String path()

Get the path property: The full path of the file, or an identifier of the application.

Returns:

the path value.

publisherInfo

public PublisherInfo publisherInfo()

Get the publisherInfo property: Represents the publisher information of a process/rule.

Returns:

the publisherInfo value.

type

public RecommendationType type()

Get the type property: The type of IoT Security recommendation.

Returns:

the type value.

userSids

public List userSids()

Get the userSids property: The userSids property.

Returns:

the userSids value.

usernames

public List usernames()

Get the usernames property: The usernames property.

Returns:

the usernames value.

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:

action - the action value to set.

Returns:

the PathRecommendation object itself.

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.

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.

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.

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.

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.

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.

withUserSids

public PathRecommendation withUserSids(List userSids)

Set the userSids property: The userSids property.

Parameters:

userSids - the userSids value to set.

Returns:

the PathRecommendation object itself.

withUsernames

public PathRecommendation withUsernames(List usernames)

Set the usernames property: The usernames property.

Parameters:

usernames - the usernames value to set.

Returns:

the PathRecommendation object itself.

Applies to