Package com.oracle.bmc.multicloud.model
Class OciNetworkSubnet.Builder
- java.lang.Object
-
- com.oracle.bmc.multicloud.model.OciNetworkSubnet.Builder
-
- Enclosing class:
- OciNetworkSubnet
public static class OciNetworkSubnet.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OciNetworkSubnet
build()
OciNetworkSubnet.Builder
copy(OciNetworkSubnet model)
OciNetworkSubnet.Builder
label(String label)
Subnet label.OciNetworkSubnet.Builder
subnetId(String subnetId)
OCID for existing the subnet.OciNetworkSubnet.Builder
type(OciNetworkSubnet.Type type)
Defines if the subnet is the primary or backup for the network
-
-
-
Method Detail
-
type
public OciNetworkSubnet.Builder type(OciNetworkSubnet.Type type)
Defines if the subnet is the primary or backup for the network- Parameters:
type
- the value to set- Returns:
- this builder
-
subnetId
public OciNetworkSubnet.Builder subnetId(String subnetId)
OCID for existing the subnet.CSP can not set this property.
- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
label
public OciNetworkSubnet.Builder label(String label)
Subnet label.CSP can set this property
- Parameters:
label
- the value to set- Returns:
- this builder
-
build
public OciNetworkSubnet build()
-
copy
public OciNetworkSubnet.Builder copy(OciNetworkSubnet model)
-
-