public final class StatusCodesBasedTrigger extends Object
| Constructor and Description |
|---|
StatusCodesBasedTrigger() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
count()
Get the count property: Request Count.
|
String |
path()
Get the path property: Request Path.
|
Integer |
status()
Get the status property: HTTP status code.
|
Integer |
subStatus()
Get the subStatus property: Request Sub Status.
|
String |
timeInterval()
Get the timeInterval property: Time interval.
|
void |
validate()
Validates the instance.
|
Integer |
win32Status()
Get the win32Status property: Win32 error code.
|
StatusCodesBasedTrigger |
withCount(Integer count)
Set the count property: Request Count.
|
StatusCodesBasedTrigger |
withPath(String path)
Set the path property: Request Path.
|
StatusCodesBasedTrigger |
withStatus(Integer status)
Set the status property: HTTP status code.
|
StatusCodesBasedTrigger |
withSubStatus(Integer subStatus)
Set the subStatus property: Request Sub Status.
|
StatusCodesBasedTrigger |
withTimeInterval(String timeInterval)
Set the timeInterval property: Time interval.
|
StatusCodesBasedTrigger |
withWin32Status(Integer win32Status)
Set the win32Status property: Win32 error code.
|
public Integer status()
public StatusCodesBasedTrigger withStatus(Integer status)
status - the status value to set.public Integer subStatus()
public StatusCodesBasedTrigger withSubStatus(Integer subStatus)
subStatus - the subStatus value to set.public Integer win32Status()
public StatusCodesBasedTrigger withWin32Status(Integer win32Status)
win32Status - the win32Status value to set.public String path()
public StatusCodesBasedTrigger withPath(String path)
path - the path value to set.public Integer count()
public StatusCodesBasedTrigger withCount(Integer count)
count - the count value to set.public String timeInterval()
public StatusCodesBasedTrigger withTimeInterval(String timeInterval)
timeInterval - the timeInterval value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.