Class ReservedIP.Builder
- java.lang.Object
-
- com.oracle.bmc.loadbalancer.model.ReservedIP.Builder
-
- Enclosing class:
- ReservedIP
public static class ReservedIP.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReservedIPbuild()ReservedIP.Buildercopy(ReservedIP model)ReservedIP.Builderid(String id)Ocid of the Reserved IP (Public IP or Private IP) created with VCN.
-
-
-
Method Detail
-
id
public ReservedIP.Builder id(String id)
Ocid of the Reserved IP (Public IP or Private IP) created with VCN.Reserved IPs are IPs which already registered using VCN API.
For public load balancers, create a reserved Public IP and pass the OCID in this field. For private load balancers, create a reserved Private IP and pass the OCID in this field. Load balancer will be configured to listen to traffic on this IP.
Reserved IPs will not be deleted when the Load balancer is deleted. They will be unattached from the Load balancer.
Public IP Example: "ocid1.publicip.oc1.phx.unique_ID" Private IP Example: "ocid1.privateip.oc1.phx.unique_ID"
IPV6 example: "ocid1.ipv6.oc1.phx.unique_ID"
- Parameters:
id- the value to set- Returns:
- this builder
-
build
public ReservedIP build()
-
copy
public ReservedIP.Builder copy(ReservedIP model)
-
-