Class OciVcn.Builder

  • Enclosing class:
    OciVcn

    public static class OciVcn.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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()