ActionableRemediation Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. ActionableRemediation
- com.
public final class ActionableRemediation
Configuration payload for PR Annotations.
Constructor Summary
Constructor | Description |
---|---|
ActionableRemediation() |
Creates an instance of Actionable |
Method Summary
Modifier and Type | Method and Description |
---|---|
Target |
branchConfiguration()
Get the branch |
List<Category |
categoryConfigurations()
Get the category |
Inherit |
inheritFromParentState()
Get the inherit |
Actionable |
state()
Get the state property: Actionable |
void |
validate()
Validates the instance. |
Actionable |
withBranchConfiguration(TargetBranchConfiguration branchConfiguration)
Set the branch |
Actionable |
withCategoryConfigurations(List<CategoryConfiguration> categoryConfigurations)
Set the category |
Actionable |
withInheritFromParentState(InheritFromParentState inheritFromParentState)
Set the inherit |
Actionable |
withState(ActionableRemediationState state)
Set the state property: Actionable |
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:
categoryConfigurations
public List
Get the categoryConfigurations property: Gets or sets list of categories and severity levels.
Returns:
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:
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:
validate
public void validate()
Validates the instance.
withBranchConfiguration
public ActionableRemediation withBranchConfiguration(TargetBranchConfiguration branchConfiguration)
Set the branchConfiguration property: Repository branch configuration for PR Annotations.
Parameters:
Returns:
withCategoryConfigurations
public ActionableRemediation withCategoryConfigurations(List
Set the categoryConfigurations property: Gets or sets list of categories and severity levels.
Parameters:
Returns:
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:
Returns:
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:
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