public static class VirtualDeploymentTrafficRuleTargetDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VirtualDeploymentTrafficRuleTargetDetails |
build() |
VirtualDeploymentTrafficRuleTargetDetails.Builder |
copy(VirtualDeploymentTrafficRuleTargetDetails model) |
VirtualDeploymentTrafficRuleTargetDetails.Builder |
port(Integer port)
Port on virtual deployment to target.
|
VirtualDeploymentTrafficRuleTargetDetails.Builder |
virtualDeploymentId(String virtualDeploymentId)
The OCID of the virtual deployment where the request will be routed.
|
VirtualDeploymentTrafficRuleTargetDetails.Builder |
weight(Integer weight)
Weight of traffic target.
|
public VirtualDeploymentTrafficRuleTargetDetails.Builder virtualDeploymentId(String virtualDeploymentId)
The OCID of the virtual deployment where the request will be routed.
virtualDeploymentId
- the value to setpublic VirtualDeploymentTrafficRuleTargetDetails.Builder port(Integer port)
Port on virtual deployment to target. If port is missing, the rule will target all ports on the virtual deployment.
port
- the value to setpublic VirtualDeploymentTrafficRuleTargetDetails.Builder weight(Integer weight)
Weight of traffic target.
weight
- the value to setpublic VirtualDeploymentTrafficRuleTargetDetails build()
public VirtualDeploymentTrafficRuleTargetDetails.Builder copy(VirtualDeploymentTrafficRuleTargetDetails model)
Copyright © 2016–2024. All rights reserved.