BaselineAdjustedResult Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. BaselineAdjustedResult
- com.
public final class BaselineAdjustedResult
The rule result adjusted with baseline.
Constructor Summary
Constructor | Description |
---|---|
BaselineAdjustedResult() |
Creates an instance of Baseline |
Method Summary
Modifier and Type | Method and Description |
---|---|
Baseline |
baseline()
Get the baseline property: Baseline details. |
List<List<String>> |
resultsNotInBaseline()
Get the results |
List<List<String>> |
resultsOnlyInBaseline()
Get the results |
Rule |
status()
Get the status property: The rule result status. |
void |
validate()
Validates the instance. |
Baseline |
withBaseline(Baseline baseline)
Set the baseline property: Baseline details. |
Baseline |
withResultsNotInBaseline(List<List<String>> resultsNotInBaseline)
Set the results |
Baseline |
withResultsOnlyInBaseline(List<List<String>> resultsOnlyInBaseline)
Set the results |
Baseline |
withStatus(RuleStatus status)
Set the status property: The rule result status. |
Methods inherited from java.lang.Object
Constructor Details
BaselineAdjustedResult
public BaselineAdjustedResult()
Creates an instance of BaselineAdjustedResult class.
Method Details
baseline
public Baseline baseline()
Get the baseline property: Baseline details.
Returns:
resultsNotInBaseline
public List<>
Get the resultsNotInBaseline property: Results the are not in baseline.
Returns:
resultsOnlyInBaseline
public List<>
Get the resultsOnlyInBaseline property: Results the are in baseline.
Returns:
status
public RuleStatus status()
Get the status property: The rule result status.
Returns:
validate
public void validate()
Validates the instance.
withBaseline
public BaselineAdjustedResult withBaseline(Baseline baseline)
Set the baseline property: Baseline details.
Parameters:
Returns:
withResultsNotInBaseline
public BaselineAdjustedResult withResultsNotInBaseline(List<>
Set the resultsNotInBaseline property: Results the are not in baseline.
Parameters:
Returns:
withResultsOnlyInBaseline
public BaselineAdjustedResult withResultsOnlyInBaseline(List<>
Set the resultsOnlyInBaseline property: Results the are in baseline.
Parameters:
Returns:
withStatus
public BaselineAdjustedResult withStatus(RuleStatus status)
Set the status property: The rule result status.
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