Package com.oracle.bmc.multicloud.model
Class OciVcn.Builder
- java.lang.Object
-
- com.oracle.bmc.multicloud.model.OciVcn.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OciVcn.BuilderbackupCidrBlocks(List<String> backupCidrBlocks)Oracle Cloud Infrastructure backup cidr block.OciVcnbuild()OciVcn.BuildercidrBlocks(List<String> cidrBlocks)Oracle Cloud Infrastructure primary cidr block.OciVcn.Buildercopy(OciVcn model)OciVcn.BuilderdnsLabel(String dnsLabel)Oracle Cloud Infrastructure DNS label.OciVcn.BuildervcnId(String vcnId)Oracle Cloud Infrastructure VCN OCID.
-
-
-
Method Detail
-
vcnId
public OciVcn.Builder vcnId(String vcnId)
Oracle Cloud Infrastructure VCN OCID.CSP can not set this property.
- Parameters:
vcnId- the value to set- Returns:
- this builder
-
cidrBlocks
public OciVcn.Builder cidrBlocks(List<String> cidrBlocks)
Oracle Cloud Infrastructure primary cidr block.CSP can set this property It’s optional only if disconnect anchor is allowed IPv4 CIDR blocks for the VCN that meet the following criteria Type: [string (length: 1\u201332), …] The CIDR blocks must be valid. They must not overlap with each other or with the on-premises network CIDR block.
- Parameters:
cidrBlocks- the value to set- Returns:
- this builder
-
backupCidrBlocks
public OciVcn.Builder backupCidrBlocks(List<String> backupCidrBlocks)
Oracle Cloud Infrastructure backup cidr block.CSP can set this property It’s optional only if disconnect anchor is allowed. IPv4 CIDR blocks for the VCN that meet the following criteria Type: [string (length: 1\u201332), …] The CIDR blocks must be valid. They must not overlap with each other or with the on-premises network CIDR block.
- Parameters:
backupCidrBlocks- the value to set- Returns:
- this builder
-
dnsLabel
public OciVcn.Builder dnsLabel(String dnsLabel)
Oracle Cloud Infrastructure DNS label.This is optional if DNS config is provided.
- Parameters:
dnsLabel- the value to set- Returns:
- this builder
-
build
public OciVcn build()
-
copy
public OciVcn.Builder copy(OciVcn model)
-
-