ActionableRemediation Class

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

public final class ActionableRemediation

Configuration payload for PR Annotations.

Constructor Summary

Constructor Description
ActionableRemediation()

Creates an instance of ActionableRemediation class.

Method Summary

Modifier and Type Method and Description
TargetBranchConfiguration branchConfiguration()

Get the branchConfiguration property: Repository branch configuration for PR Annotations.

List<CategoryConfiguration> categoryConfigurations()

Get the categoryConfigurations property: Gets or sets list of categories and severity levels.

InheritFromParentState inheritFromParentState()

Get the inheritFromParentState property: Update Settings.

ActionableRemediationState state()

Get the state property: ActionableRemediation Setting.

void validate()

Validates the instance.

ActionableRemediation withBranchConfiguration(TargetBranchConfiguration branchConfiguration)

Set the branchConfiguration property: Repository branch configuration for PR Annotations.

ActionableRemediation withCategoryConfigurations(List<CategoryConfiguration> categoryConfigurations)

Set the categoryConfigurations property: Gets or sets list of categories and severity levels.

ActionableRemediation withInheritFromParentState(InheritFromParentState inheritFromParentState)

Set the inheritFromParentState property: Update Settings.

ActionableRemediation withState(ActionableRemediationState state)

Set the state property: ActionableRemediation Setting.

Methods inherited from java.lang.Object

Constructor Details

ActionableRemediation

public ActionableRemediation()

Creates an instance of ActionableRemediation class.

Method Details

branchConfiguration

public TargetBranchConfiguration branchConfiguration()

Get the branchConfiguration property: Repository branch configuration for PR Annotations.

Returns:

the branchConfiguration value.

categoryConfigurations

public List categoryConfigurations()

Get the categoryConfigurations property: Gets or sets list of categories and severity levels.

Returns:

the categoryConfigurations value.

inheritFromParentState

public InheritFromParentState inheritFromParentState()

Get the inheritFromParentState property: Update Settings. Enabled - Resource should inherit configurations from parent. Disabled - Resource should not inherit configurations from parent.

Returns:

the inheritFromParentState value.

state

public ActionableRemediationState state()

Get the state property: ActionableRemediation Setting. None - the setting was never set. Enabled - ActionableRemediation is enabled. Disabled - ActionableRemediation is disabled.

Returns:

the state value.

validate

public void validate()

Validates the instance.

withBranchConfiguration

public ActionableRemediation withBranchConfiguration(TargetBranchConfiguration branchConfiguration)

Set the branchConfiguration property: Repository branch configuration for PR Annotations.

Parameters:

branchConfiguration - the branchConfiguration value to set.

Returns:

the ActionableRemediation object itself.

withCategoryConfigurations

public ActionableRemediation withCategoryConfigurations(List categoryConfigurations)

Set the categoryConfigurations property: Gets or sets list of categories and severity levels.

Parameters:

categoryConfigurations - the categoryConfigurations value to set.

Returns:

the ActionableRemediation object itself.

withInheritFromParentState

public ActionableRemediation withInheritFromParentState(InheritFromParentState inheritFromParentState)

Set the inheritFromParentState property: Update Settings. Enabled - Resource should inherit configurations from parent. Disabled - Resource should not inherit configurations from parent.

Parameters:

inheritFromParentState - the inheritFromParentState value to set.

Returns:

the ActionableRemediation object itself.

withState

public ActionableRemediation withState(ActionableRemediationState state)

Set the state property: ActionableRemediation Setting. None - the setting was never set. Enabled - ActionableRemediation is enabled. Disabled - ActionableRemediation is disabled.

Parameters:

state - the state value to set.

Returns:

the ActionableRemediation object itself.

Applies to