Class OccCapacityRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public OccCapacityRequest.Builder compartmentId​(String compartmentId)
        The OCID of the tenancy from which the request was made.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • occAvailabilityCatalogId

        public OccCapacityRequest.Builder occAvailabilityCatalogId​(String occAvailabilityCatalogId)
        The OCID of the availability catalog against which the capacity request was placed.
        Parameters:
        occAvailabilityCatalogId - the value to set
        Returns:
        this builder
      • displayName

        public OccCapacityRequest.Builder displayName​(String displayName)
        The display name of the capacity request.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public OccCapacityRequest.Builder description​(String description)
        Meaningful text about the capacity request.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • namespace

        public OccCapacityRequest.Builder namespace​(Namespace namespace)
        The name of the OCI service in consideration.

        For example, Compute, Exadata, and so on.

        Parameters:
        namespace - the value to set
        Returns:
        this builder
      • occCustomerGroupId

        public OccCapacityRequest.Builder occCustomerGroupId​(String occCustomerGroupId)
        The OCID of the customer group to which this customer belongs to.
        Parameters:
        occCustomerGroupId - the value to set
        Returns:
        this builder
      • region

        public OccCapacityRequest.Builder region​(String region)
        The name of the region for which the capacity request was made.
        Parameters:
        region - the value to set
        Returns:
        this builder
      • availabilityDomain

        public OccCapacityRequest.Builder availabilityDomain​(String availabilityDomain)
        The availability domain (AD) for which the capacity request was made.
        Parameters:
        availabilityDomain - the value to set
        Returns:
        this builder
      • dateExpectedCapacityHandover

        public OccCapacityRequest.Builder dateExpectedCapacityHandover​(Date dateExpectedCapacityHandover)
        The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
        Parameters:
        dateExpectedCapacityHandover - the value to set
        Returns:
        this builder
      • timeCreated

        public OccCapacityRequest.Builder timeCreated​(Date timeCreated)
        The time when the capacity request was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public OccCapacityRequest.Builder timeUpdated​(Date timeUpdated)
        The time when the capacity request was updated.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public OccCapacityRequest.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current state in more detail.

        For example, can be used to provide actionable information for a resource in a Failed State.

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

        public OccCapacityRequest.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 OccCapacityRequest.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 OccCapacityRequest.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