Class ByolAllocationSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public ByolAllocationSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the BYOL Allocation.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public ByolAllocationSummary.Builder displayName​(String displayName)
        A descriptive name for the BYOL Allocation.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • lifecycleState

        public ByolAllocationSummary.Builder lifecycleState​(ByolAllocation.LifecycleState lifecycleState)
        The current state of the BYOL Allocation.

        Accepted values are: - CREATING - ACTIVE - INACTIVE - UPDATING - DELETING - DELETED - FAILED

        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • softwareType

        public ByolAllocationSummary.Builder softwareType​(ByolAllocation.SoftwareType softwareType)
        The type of VMware software the BYOL Allocation applies to.

        Supported values: - VCF (VMware Cloud Foundation) - VSAN (VMware vSAN) - VDEFEND (VMware vDefend Firewall) - AVI_LOAD_BALANCER (VMware Avi Load Balancer)

        Parameters:
        softwareType - the value to set
        Returns:
        this builder
      • allocatedUnits

        public ByolAllocationSummary.Builder allocatedUnits​(Integer allocatedUnits)
        The quantity of licensed units that allocated to this region.
        Parameters:
        allocatedUnits - the value to set
        Returns:
        this builder
      • availableUnits

        public ByolAllocationSummary.Builder availableUnits​(Integer availableUnits)
        The quantity of licensed units that not yet consumed by resources.
        Parameters:
        availableUnits - the value to set
        Returns:
        this builder
      • timeTermStart

        public ByolAllocationSummary.Builder timeTermStart​(Date timeTermStart)
        The date and time when the BYOL Allocation becomes active.

        VMware software functionality cannot begin before this time. In the format defined byRFC3339. Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeTermStart - the value to set
        Returns:
        this builder
      • timeTermEnd

        public ByolAllocationSummary.Builder timeTermEnd​(Date timeTermEnd)
        The date and time when the BYOL Allocation expires and becomes inactive.

        In the format defined byRFC3339.

        Parameters:
        timeTermEnd - the value to set
        Returns:
        this builder
      • byolId

        public ByolAllocationSummary.Builder byolId​(String byolId)
        The OCID of the BYOL resource from which this BYOL Allocation is derived.
        Parameters:
        byolId - the value to set
        Returns:
        this builder
      • timeCreated

        public ByolAllocationSummary.Builder timeCreated​(Date timeCreated)
        The date and time the BYOL Allocation was created, in the format defined by RFC3339.

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

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

        public ByolAllocationSummary.Builder timeUpdated​(Date timeUpdated)
        The date and time the BYOL Allocation was updated, in the format defined by RFC3339.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • freeformTags

        public ByolAllocationSummary.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

        Example: {"Department": "Finance"}

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

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

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        Example: {"Operations": {"CostCenter": "42"}}

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

        public ByolAllocationSummary.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}

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