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 ReservedIP
build()
ReservedIP.Builder
copy(ReservedIP model)
ReservedIP.Builder
id(String id)
Ocid of the Reserved IP/Public Ip created with VCN.
-
-
-
Method Detail
-
id
public ReservedIP.Builder id(String id)
Ocid of the Reserved IP/Public Ip created with VCN.Reserved IPs are IPs which already registered using VCN API.
Create a reserved Public IP and then while creating the load balancer pass the ocid of the reserved IP in this field reservedIp to attach the Ip to Load balancer. 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.
Example: "ocid1.publicip.oc1.phx.unique_ID"
- Parameters:
id
- the value to set- Returns:
- this builder
-
build
public ReservedIP build()
-
copy
public ReservedIP.Builder copy(ReservedIP model)
-
-