public final class AutoHealTriggers extends Object
| Constructor and Description |
|---|
AutoHealTriggers() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
privateBytesInKB()
Get the privateBytesInKB property: A rule based on private bytes.
|
RequestsBasedTrigger |
requests()
Get the requests property: A rule based on total requests.
|
SlowRequestsBasedTrigger |
slowRequests()
Get the slowRequests property: A rule based on request execution time.
|
List<SlowRequestsBasedTrigger> |
slowRequestsWithPath()
Get the slowRequestsWithPath property: A rule based on multiple Slow Requests Rule with path.
|
List<StatusCodesBasedTrigger> |
statusCodes()
Get the statusCodes property: A rule based on status codes.
|
List<StatusCodesRangeBasedTrigger> |
statusCodesRange()
Get the statusCodesRange property: A rule based on status codes ranges.
|
void |
validate()
Validates the instance.
|
AutoHealTriggers |
withPrivateBytesInKB(Integer privateBytesInKB)
Set the privateBytesInKB property: A rule based on private bytes.
|
AutoHealTriggers |
withRequests(RequestsBasedTrigger requests)
Set the requests property: A rule based on total requests.
|
AutoHealTriggers |
withSlowRequests(SlowRequestsBasedTrigger slowRequests)
Set the slowRequests property: A rule based on request execution time.
|
AutoHealTriggers |
withSlowRequestsWithPath(List<SlowRequestsBasedTrigger> slowRequestsWithPath)
Set the slowRequestsWithPath property: A rule based on multiple Slow Requests Rule with path.
|
AutoHealTriggers |
withStatusCodes(List<StatusCodesBasedTrigger> statusCodes)
Set the statusCodes property: A rule based on status codes.
|
AutoHealTriggers |
withStatusCodesRange(List<StatusCodesRangeBasedTrigger> statusCodesRange)
Set the statusCodesRange property: A rule based on status codes ranges.
|
public RequestsBasedTrigger requests()
public AutoHealTriggers withRequests(RequestsBasedTrigger requests)
requests - the requests value to set.public Integer privateBytesInKB()
public AutoHealTriggers withPrivateBytesInKB(Integer privateBytesInKB)
privateBytesInKB - the privateBytesInKB value to set.public List<StatusCodesBasedTrigger> statusCodes()
public AutoHealTriggers withStatusCodes(List<StatusCodesBasedTrigger> statusCodes)
statusCodes - the statusCodes value to set.public List<StatusCodesRangeBasedTrigger> statusCodesRange()
public AutoHealTriggers withStatusCodesRange(List<StatusCodesRangeBasedTrigger> statusCodesRange)
statusCodesRange - the statusCodesRange value to set.public SlowRequestsBasedTrigger slowRequests()
public AutoHealTriggers withSlowRequests(SlowRequestsBasedTrigger slowRequests)
slowRequests - the slowRequests value to set.public List<SlowRequestsBasedTrigger> slowRequestsWithPath()
public AutoHealTriggers withSlowRequestsWithPath(List<SlowRequestsBasedTrigger> slowRequestsWithPath)
slowRequestsWithPath - the slowRequestsWithPath value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.