Class StatusCodesBasedTrigger
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.StatusCodesBasedTrigger
-
public final class StatusCodesBasedTrigger extends Object
Trigger based on status code.
-
-
Constructor Summary
Constructors Constructor Description StatusCodesBasedTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integercount()Get the count property: Request Count.Stringpath()Get the path property: Request Path.Integerstatus()Get the status property: HTTP status code.IntegersubStatus()Get the subStatus property: Request Sub Status.StringtimeInterval()Get the timeInterval property: Time interval.voidvalidate()Validates the instance.Integerwin32Status()Get the win32Status property: Win32 error code.StatusCodesBasedTriggerwithCount(Integer count)Set the count property: Request Count.StatusCodesBasedTriggerwithPath(String path)Set the path property: Request Path.StatusCodesBasedTriggerwithStatus(Integer status)Set the status property: HTTP status code.StatusCodesBasedTriggerwithSubStatus(Integer subStatus)Set the subStatus property: Request Sub Status.StatusCodesBasedTriggerwithTimeInterval(String timeInterval)Set the timeInterval property: Time interval.StatusCodesBasedTriggerwithWin32Status(Integer win32Status)Set the win32Status property: Win32 error code.
-
-
-
Method Detail
-
status
public Integer status()
Get the status property: HTTP status code.- Returns:
- the status value.
-
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.
-
subStatus
public Integer subStatus()
Get the subStatus property: Request Sub Status.- Returns:
- the subStatus value.
-
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.
-
win32Status
public Integer win32Status()
Get the win32Status property: Win32 error code.- Returns:
- the win32Status value.
-
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.
-
count
public Integer count()
Get the count property: Request Count.- Returns:
- the count 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.
-
timeInterval
public String timeInterval()
Get the timeInterval property: Time interval.- Returns:
- the timeInterval value.
-
withTimeInterval
public StatusCodesBasedTrigger withTimeInterval(String timeInterval)
Set the timeInterval property: Time interval.- Parameters:
timeInterval- the timeInterval value to set.- Returns:
- the StatusCodesBasedTrigger object itself.
-
path
public String path()
Get the path property: Request Path.- Returns:
- the path value.
-
withPath
public StatusCodesBasedTrigger withPath(String path)
Set the path property: Request Path.- Parameters:
path- the path value to set.- Returns:
- the StatusCodesBasedTrigger object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-