public static class WeightedBackendService.Builder extends Object
Modifier and Type | Method and Description |
---|---|
WeightedBackendService |
build() |
WeightedBackendService.Builder |
clone() |
String |
getBackendService()
The full or partial URL to the default BackendService resource.
|
HttpHeaderAction |
getHeaderAction()
Specifies changes to request and response headers that need to take effect for the selected
backendService.
|
Integer |
getWeight()
Specifies the fraction of traffic sent to backendService, computed as weight / (sum of all
weightedBackendService weights in routeAction) .
|
WeightedBackendService.Builder |
mergeFrom(WeightedBackendService other) |
WeightedBackendService.Builder |
setBackendService(String backendService)
The full or partial URL to the default BackendService resource.
|
WeightedBackendService.Builder |
setHeaderAction(HttpHeaderAction headerAction)
Specifies changes to request and response headers that need to take effect for the selected
backendService.
|
WeightedBackendService.Builder |
setWeight(Integer weight)
Specifies the fraction of traffic sent to backendService, computed as weight / (sum of all
weightedBackendService weights in routeAction) .
|
public WeightedBackendService.Builder mergeFrom(WeightedBackendService other)
public String getBackendService()
public WeightedBackendService.Builder setBackendService(String backendService)
public HttpHeaderAction getHeaderAction()
public WeightedBackendService.Builder setHeaderAction(HttpHeaderAction headerAction)
public Integer getWeight()
public WeightedBackendService.Builder setWeight(Integer weight)
public WeightedBackendService build()
public WeightedBackendService.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.