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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OciNetworkSubnetbuild()OciNetworkSubnet.Buildercopy(OciNetworkSubnet model)OciNetworkSubnet.Builderlabel(String label)Subnet label.OciNetworkSubnet.BuildersubnetId(String subnetId)OCID for existing the subnet.OciNetworkSubnet.Buildertype(OciNetworkSubnet.Type type)Defines if the subnet is the primary or backup for the network
 
- 
- 
- 
Method Detail- 
typepublic 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
 
 - 
subnetIdpublic 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
 
 - 
labelpublic OciNetworkSubnet.Builder label(String label) Subnet label.CSP can set this property - Parameters:
- label- the value to set
- Returns:
- this builder
 
 - 
buildpublic OciNetworkSubnet build() 
 - 
copypublic OciNetworkSubnet.Builder copy(OciNetworkSubnet model) 
 
- 
 
-