HttpRouteFaultInjectionPolicyAbortResponse class

Specification of how client requests are aborted as part of fault injection before being sent to a destination.

Constructors

HttpRouteFaultInjectionPolicyAbortResponse({required Input<int> httpStatus, required Input<int> percentage})
Creates a new HttpRouteFaultInjectionPolicyAbortResponse. httpStatus The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive. percentage The percentage of traffic which will be aborted. The value must be between 0, 100
const
HttpRouteFaultInjectionPolicyAbortResponse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
httpStatus → Input<int>
The HTTP status code used to abort the request. The value must be between 200 and 599 inclusive.
final
percentage → Input<int>
The percentage of traffic which will be aborted. The value must be between 0, 100
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited