public static class HttpFaultAbort.Builder extends Object
Modifier and Type | Method and Description |
---|---|
HttpFaultAbort |
build() |
HttpFaultAbort.Builder |
clone() |
Integer |
getHttpStatus()
The HTTP status code used to abort the request.
|
Double |
getPercentage()
The percentage of traffic (connections/operations/requests) which will be aborted as part of
fault injection.
|
HttpFaultAbort.Builder |
mergeFrom(HttpFaultAbort other) |
HttpFaultAbort.Builder |
setHttpStatus(Integer httpStatus)
The HTTP status code used to abort the request.
|
HttpFaultAbort.Builder |
setPercentage(Double percentage)
The percentage of traffic (connections/operations/requests) which will be aborted as part of
fault injection.
|
public HttpFaultAbort.Builder mergeFrom(HttpFaultAbort other)
public Integer getHttpStatus()
public HttpFaultAbort.Builder setHttpStatus(Integer httpStatus)
public Double getPercentage()
public HttpFaultAbort.Builder setPercentage(Double percentage)
public HttpFaultAbort build()
public HttpFaultAbort.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.