Class CreateContainerVnicDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public CreateContainerVnicDetails.Builder displayName​(String displayName)
        A user-friendly name for the VNIC.

        Does not have to be unique. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • hostnameLabel

        public CreateContainerVnicDetails.Builder hostnameLabel​(String hostnameLabel)
        The hostname for the VNIC’s primary private IP.

        Used for DNS.

        Parameters:
        hostnameLabel - the value to set
        Returns:
        this builder
      • isPublicIpAssigned

        public CreateContainerVnicDetails.Builder isPublicIpAssigned​(Boolean isPublicIpAssigned)
        Whether the VNIC should be assigned a public IP address.
        Parameters:
        isPublicIpAssigned - the value to set
        Returns:
        this builder
      • skipSourceDestCheck

        public CreateContainerVnicDetails.Builder skipSourceDestCheck​(Boolean skipSourceDestCheck)
        Whether the source/destination check is disabled on the VNIC.
        Parameters:
        skipSourceDestCheck - the value to set
        Returns:
        this builder
      • nsgIds

        public CreateContainerVnicDetails.Builder nsgIds​(List<String> nsgIds)
        A list of the OCIDs of the network security groups (NSGs) to add the VNIC to.
        Parameters:
        nsgIds - the value to set
        Returns:
        this builder
      • privateIp

        public CreateContainerVnicDetails.Builder privateIp​(String privateIp)
        A private IP address of your choice to assign to the VNIC.

        Must be an available IP address within the subnet’s CIDR.

        Parameters:
        privateIp - the value to set
        Returns:
        this builder
      • freeformTags

        public CreateContainerVnicDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public CreateContainerVnicDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}.

        Parameters:
        definedTags - the value to set
        Returns:
        this builder