public static class VirtualDeploymentTrafficRuleTarget.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VirtualDeploymentTrafficRuleTarget |
build() |
VirtualDeploymentTrafficRuleTarget.Builder |
copy(VirtualDeploymentTrafficRuleTarget model) |
VirtualDeploymentTrafficRuleTarget.Builder |
port(Integer port)
Port on virtual deployment to target.
|
VirtualDeploymentTrafficRuleTarget.Builder |
virtualDeploymentId(String virtualDeploymentId)
The OCID of the virtual deployment where the request will be routed.
|
VirtualDeploymentTrafficRuleTarget.Builder |
weight(Integer weight)
Weight of traffic target.
|
public VirtualDeploymentTrafficRuleTarget.Builder virtualDeploymentId(String virtualDeploymentId)
The OCID of the virtual deployment where the request will be routed.
virtualDeploymentId
- the value to setpublic VirtualDeploymentTrafficRuleTarget.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 VirtualDeploymentTrafficRuleTarget.Builder weight(Integer weight)
Weight of traffic target.
weight
- the value to setpublic VirtualDeploymentTrafficRuleTarget build()
public VirtualDeploymentTrafficRuleTarget.Builder copy(VirtualDeploymentTrafficRuleTarget model)
Copyright © 2016–2024. All rights reserved.