public static class VirtualServiceTrafficRuleTargetDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VirtualServiceTrafficRuleTargetDetails |
build() |
VirtualServiceTrafficRuleTargetDetails.Builder |
copy(VirtualServiceTrafficRuleTargetDetails model) |
VirtualServiceTrafficRuleTargetDetails.Builder |
port(Integer port)
The port on the virtual service to target.
|
VirtualServiceTrafficRuleTargetDetails.Builder |
virtualServiceId(String virtualServiceId)
The OCID of the virtual service where the request will be routed.
|
VirtualServiceTrafficRuleTargetDetails.Builder |
weight(Integer weight)
Weight of traffic target.
|
public VirtualServiceTrafficRuleTargetDetails.Builder virtualServiceId(String virtualServiceId)
The OCID of the virtual service where the request will be routed.
virtualServiceId
- the value to setpublic VirtualServiceTrafficRuleTargetDetails.Builder port(Integer port)
The port on the virtual service to target. Mandatory if the virtual deployments are listening on multiple ports.
port
- the value to setpublic VirtualServiceTrafficRuleTargetDetails.Builder weight(Integer weight)
Weight of traffic target.
weight
- the value to setpublic VirtualServiceTrafficRuleTargetDetails build()
public VirtualServiceTrafficRuleTargetDetails.Builder copy(VirtualServiceTrafficRuleTargetDetails model)
Copyright © 2016–2024. All rights reserved.