public static class HttpFaultDelay.Builder extends Object
Modifier and Type | Method and Description |
---|---|
HttpFaultDelay |
build() |
HttpFaultDelay.Builder |
clone() |
Duration |
getFixedDelay()
Specifies the value of the fixed delay interval.
|
Double |
getPercentage()
The percentage of traffic (connections/operations/requests) on which delay will be introduced
as part of fault injection.
|
HttpFaultDelay.Builder |
mergeFrom(HttpFaultDelay other) |
HttpFaultDelay.Builder |
setFixedDelay(Duration fixedDelay)
Specifies the value of the fixed delay interval.
|
HttpFaultDelay.Builder |
setPercentage(Double percentage)
The percentage of traffic (connections/operations/requests) on which delay will be introduced
as part of fault injection.
|
public HttpFaultDelay.Builder mergeFrom(HttpFaultDelay other)
public Duration getFixedDelay()
public HttpFaultDelay.Builder setFixedDelay(Duration fixedDelay)
public Double getPercentage()
public HttpFaultDelay.Builder setPercentage(Double percentage)
public HttpFaultDelay build()
public HttpFaultDelay.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.