StatusCodesBasedTrigger Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. StatusCodesBasedTrigger
- com.
Implements
public final class StatusCodesBasedTrigger
implements JsonSerializable<StatusCodesBasedTrigger>
Trigger based on status code.
Constructor Summary
Constructor | Description |
---|---|
StatusCodesBasedTrigger() |
Creates an instance of Status |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
count()
Get the count property: Request Count. |
static
Status |
fromJson(JsonReader jsonReader)
Reads an instance of Status |
String |
path()
Get the path property: Request Path. |
Integer |
status()
Get the status property: HTTP status code. |
Integer |
subStatus()
Get the sub |
String |
timeInterval()
Get the time |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Integer |
win32Status()
Get the win32Status property: Win32 error code. |
Status |
withCount(Integer count)
Set the count property: Request Count. |
Status |
withPath(String path)
Set the path property: Request Path. |
Status |
withStatus(Integer status)
Set the status property: HTTP status code. |
Status |
withSubStatus(Integer subStatus)
Set the sub |
Status |
withTimeInterval(String timeInterval)
Set the time |
Status |
withWin32Status(Integer win32Status)
Set the win32Status property: Win32 error code. |
Methods inherited from java.lang.Object
Constructor Details
StatusCodesBasedTrigger
public StatusCodesBasedTrigger()
Creates an instance of StatusCodesBasedTrigger class.
Method Details
count
public Integer count()
Get the count property: Request Count.
Returns:
fromJson
public static StatusCodesBasedTrigger fromJson(JsonReader jsonReader)
Reads an instance of StatusCodesBasedTrigger from the JsonReader.
Parameters:
Returns:
Throws:
path
public String path()
Get the path property: Request Path.
Returns:
status
public Integer status()
Get the status property: HTTP status code.
Returns:
subStatus
public Integer subStatus()
Get the subStatus property: Request Sub Status.
Returns:
timeInterval
public String timeInterval()
Get the timeInterval property: Time interval.
Returns:
toJson
validate
public void validate()
Validates the instance.
win32Status
public Integer win32Status()
Get the win32Status property: Win32 error code.
Returns:
withCount
public StatusCodesBasedTrigger withCount(Integer count)
Set the count property: Request Count.
Parameters:
Returns:
withPath
public StatusCodesBasedTrigger withPath(String path)
Set the path property: Request Path.
Parameters:
Returns:
withStatus
public StatusCodesBasedTrigger withStatus(Integer status)
Set the status property: HTTP status code.
Parameters:
Returns:
withSubStatus
public StatusCodesBasedTrigger withSubStatus(Integer subStatus)
Set the subStatus property: Request Sub Status.
Parameters:
Returns:
withTimeInterval
public StatusCodesBasedTrigger withTimeInterval(String timeInterval)
Set the timeInterval property: Time interval.
Parameters:
Returns:
withWin32Status
public StatusCodesBasedTrigger withWin32Status(Integer win32Status)
Set the win32Status property: Win32 error code.
Parameters:
Returns:
Applies to
Azure SDK for Java