StatusCodesRangeBasedTrigger Class

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

public final class StatusCodesRangeBasedTrigger

Trigger based on range of status codes.

Constructor Summary

Constructor Description
StatusCodesRangeBasedTrigger()

Creates an instance of StatusCodesRangeBasedTrigger class.

Method Summary

Modifier and Type Method and Description
Integer count()

Get the count property: Request Count.

String path()

Get the path property: The path property.

String statusCodes()

Get the statusCodes property: HTTP status code.

String timeInterval()

Get the timeInterval property: Time interval.

void validate()

Validates the instance.

StatusCodesRangeBasedTrigger withCount(Integer count)

Set the count property: Request Count.

StatusCodesRangeBasedTrigger withPath(String path)

Set the path property: The path property.

StatusCodesRangeBasedTrigger withStatusCodes(String statusCodes)

Set the statusCodes property: HTTP status code.

StatusCodesRangeBasedTrigger withTimeInterval(String timeInterval)

Set the timeInterval property: Time interval.

Methods inherited from java.lang.Object

Constructor Details

StatusCodesRangeBasedTrigger

public StatusCodesRangeBasedTrigger()

Creates an instance of StatusCodesRangeBasedTrigger class.

Method Details

count

public Integer count()

Get the count property: Request Count.

Returns:

the count value.

path

public String path()

Get the path property: The path property.

Returns:

the path value.

statusCodes

public String statusCodes()

Get the statusCodes property: HTTP status code.

Returns:

the statusCodes value.

timeInterval

public String timeInterval()

Get the timeInterval property: Time interval.

Returns:

the timeInterval value.

validate

public void validate()

Validates the instance.

withCount

public StatusCodesRangeBasedTrigger withCount(Integer count)

Set the count property: Request Count.

Parameters:

count - the count value to set.

Returns:

the StatusCodesRangeBasedTrigger object itself.

withPath

public StatusCodesRangeBasedTrigger withPath(String path)

Set the path property: The path property.

Parameters:

path - the path value to set.

Returns:

the StatusCodesRangeBasedTrigger object itself.

withStatusCodes

public StatusCodesRangeBasedTrigger withStatusCodes(String statusCodes)

Set the statusCodes property: HTTP status code.

Parameters:

statusCodes - the statusCodes value to set.

Returns:

the StatusCodesRangeBasedTrigger object itself.

withTimeInterval

public StatusCodesRangeBasedTrigger withTimeInterval(String timeInterval)

Set the timeInterval property: Time interval.

Parameters:

timeInterval - the timeInterval value to set.

Returns:

the StatusCodesRangeBasedTrigger object itself.

Applies to