StatusCodesBasedTrigger Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.StatusCodesBasedTrigger

Implements

public final class StatusCodesBasedTrigger
implements JsonSerializable<StatusCodesBasedTrigger>

Trigger based on status code.

Constructor Summary

Constructor Description
StatusCodesBasedTrigger()

Creates an instance of StatusCodesBasedTrigger class.

Method Summary

Modifier and Type Method and Description
Integer count()

Get the count property: Request Count.

static StatusCodesBasedTrigger fromJson(JsonReader jsonReader)

Reads an instance of StatusCodesBasedTrigger from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
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.

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:

the count value.

fromJson

public static StatusCodesBasedTrigger fromJson(JsonReader jsonReader)

Reads an instance of StatusCodesBasedTrigger from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StatusCodesBasedTrigger if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the StatusCodesBasedTrigger.

path

public String path()

Get the path property: Request Path.

Returns:

the path value.

status

public Integer status()

Get the status property: HTTP status code.

Returns:

the status value.

subStatus

public Integer subStatus()

Get the subStatus property: Request Sub Status.

Returns:

the subStatus value.

timeInterval

public String timeInterval()

Get the timeInterval property: Time interval.

Returns:

the timeInterval value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

win32Status

public Integer win32Status()

Get the win32Status property: Win32 error code.

Returns:

the win32Status value.

withCount

public StatusCodesBasedTrigger withCount(Integer count)

Set the count property: Request Count.

Parameters:

count - the count value to set.

Returns:

the StatusCodesBasedTrigger object itself.

withPath

public StatusCodesBasedTrigger withPath(String path)

Set the path property: Request Path.

Parameters:

path - the path value to set.

Returns:

the StatusCodesBasedTrigger object itself.

withStatus

public StatusCodesBasedTrigger withStatus(Integer status)

Set the status property: HTTP status code.

Parameters:

status - the status value to set.

Returns:

the StatusCodesBasedTrigger object itself.

withSubStatus

public StatusCodesBasedTrigger withSubStatus(Integer subStatus)

Set the subStatus property: Request Sub Status.

Parameters:

subStatus - the subStatus value to set.

Returns:

the StatusCodesBasedTrigger object itself.

withTimeInterval

public StatusCodesBasedTrigger withTimeInterval(String timeInterval)

Set the timeInterval property: Time interval.

Parameters:

timeInterval - the timeInterval value to set.

Returns:

the StatusCodesBasedTrigger object itself.

withWin32Status

public StatusCodesBasedTrigger withWin32Status(Integer win32Status)

Set the win32Status property: Win32 error code.

Parameters:

win32Status - the win32Status value to set.

Returns:

the StatusCodesBasedTrigger object itself.

Applies to