Class CccInfrastructureSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • shortName

        public CccInfrastructureSummary.Builder shortName​(String shortName)
        The Compute Cloud@Customer infrastructure short name.

        This is generated at the time the resource is created and cannot be changed. The short name can be used when communicating with Oracle Service and may be used during the configuration of the data center network.

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

        public CccInfrastructureSummary.Builder displayName​(String displayName)
        The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console.

        Does not have to be unique and can be changed. Avoid entering confidential information.

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

        public CccInfrastructureSummary.Builder compartmentId​(String compartmentId)
        The compartment OCID associated with the infrastructure.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • subnetId

        public CccInfrastructureSummary.Builder subnetId​(String subnetId)
        OCID for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure.
        Parameters:
        subnetId - the value to set
        Returns:
        this builder
      • timeCreated

        public CccInfrastructureSummary.Builder timeCreated​(Date timeCreated)
        Compute Cloud@Customer infrastructure creation date and time.

        An RFC3339 formatted datetime string.

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

        public CccInfrastructureSummary.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 CccInfrastructureSummary.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
      • systemTags

        public CccInfrastructureSummary.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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