BaselineAdjustedResult Class

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

public final class BaselineAdjustedResult

The rule result adjusted with baseline.

Constructor Summary

Constructor Description
BaselineAdjustedResult()

Creates an instance of BaselineAdjustedResult class.

Method Summary

Modifier and Type Method and Description
Baseline baseline()

Get the baseline property: Baseline details.

List<List<String>> resultsNotInBaseline()

Get the resultsNotInBaseline property: Results the are not in baseline.

List<List<String>> resultsOnlyInBaseline()

Get the resultsOnlyInBaseline property: Results the are in baseline.

RuleStatus status()

Get the status property: The rule result status.

void validate()

Validates the instance.

BaselineAdjustedResult withBaseline(Baseline baseline)

Set the baseline property: Baseline details.

BaselineAdjustedResult withResultsNotInBaseline(List<List<String>> resultsNotInBaseline)

Set the resultsNotInBaseline property: Results the are not in baseline.

BaselineAdjustedResult withResultsOnlyInBaseline(List<List<String>> resultsOnlyInBaseline)

Set the resultsOnlyInBaseline property: Results the are in baseline.

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

the baseline value.

resultsNotInBaseline

public List<>> resultsNotInBaseline()

Get the resultsNotInBaseline property: Results the are not in baseline.

Returns:

the resultsNotInBaseline value.

resultsOnlyInBaseline

public List<>> resultsOnlyInBaseline()

Get the resultsOnlyInBaseline property: Results the are in baseline.

Returns:

the resultsOnlyInBaseline value.

status

public RuleStatus status()

Get the status property: The rule result status.

Returns:

the status value.

validate

public void validate()

Validates the instance.

withBaseline

public BaselineAdjustedResult withBaseline(Baseline baseline)

Set the baseline property: Baseline details.

Parameters:

baseline - the baseline value to set.

Returns:

the BaselineAdjustedResult object itself.

withResultsNotInBaseline

public BaselineAdjustedResult withResultsNotInBaseline(List<>> resultsNotInBaseline)

Set the resultsNotInBaseline property: Results the are not in baseline.

Parameters:

resultsNotInBaseline - the resultsNotInBaseline value to set.

Returns:

the BaselineAdjustedResult object itself.

withResultsOnlyInBaseline

public BaselineAdjustedResult withResultsOnlyInBaseline(List<>> resultsOnlyInBaseline)

Set the resultsOnlyInBaseline property: Results the are in baseline.

Parameters:

resultsOnlyInBaseline - the resultsOnlyInBaseline value to set.

Returns:

the BaselineAdjustedResult object itself.

withStatus

public BaselineAdjustedResult withStatus(RuleStatus status)

Set the status property: The rule result status.

Parameters:

status - the status value to set.

Returns:

the BaselineAdjustedResult object itself.

Applies to