Class DhcpOptions.Builder

  • Enclosing class:
    DhcpOptions

    public static class DhcpOptions.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public DhcpOptions.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing the set of DHCP options.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • definedTags

        public DhcpOptions.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
      • displayName

        public DhcpOptions.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

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

        public DhcpOptions.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
      • id

        public DhcpOptions.Builder id​(String id)
        Oracle ID (OCID) for the set of DHCP options.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • options

        public DhcpOptions.Builder options​(List<DhcpOption> options)
        The collection of individual DHCP options.
        Parameters:
        options - the value to set
        Returns:
        this builder
      • timeCreated

        public DhcpOptions.Builder timeCreated​(Date timeCreated)
        Date and time the set of DHCP options was created, in the format defined by RFC3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • vcnId

        public DhcpOptions.Builder vcnId​(String vcnId)
        The OCID of the VCN the set of DHCP options belongs to.
        Parameters:
        vcnId - the value to set
        Returns:
        this builder